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