Documentation ¶
Index ¶
- func AcceptLogout(ctx context.Context, challenge string, accessToken string, refreshToken string) error
- func CreateAuthCode(ctx context.Context, consent *auth.ID, clientID, redirectURI string) (string, error)
- func CreateConsent(ctx context.Context, loginChallenge string) (*auth.ID, error)
- func CreateLogin(ctx context.Context, clientID string, scopes, audiences []string) (*auth.ID, error)
- func CreateLogout(ctx context.Context, url, subject, sessionID string) (*auth.ID, error)
- func Exchange(ctx context.Context, code string) (*oauth2.Token, error)
- func GetLogin(ctx context.Context, challenge string) (*auth.GetLoginResponse, error)
- func PasswordCredentialsToken(ctx context.Context, username, password string) (*oauth2.Token, error)
- type ConsentResponse
- type LogoutResponse
- type RedirectResponse
- type TokenResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptLogout ¶
func CreateAuthCode ¶
func CreateConsent ¶
func CreateLogin ¶
func CreateLogout ¶
Types ¶
type ConsentResponse ¶
type LogoutResponse ¶
type RedirectResponse ¶
type RedirectResponse struct {
RedirectTo string `json:"redirect_to"`
}
func AcceptConsent ¶
func AcceptLogin ¶
Click to show internal directories.
Click to hide internal directories.