Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResult ¶
AuthResult represents results of OpenID Connect authentication flow
type Authenticator ¶
Authenticator is a helper to sign in with OpenID Connect
func NewAuthenticator ¶
func NewAuthenticator(ctx context.Context, clientID, clientSecret, redirectURL, providerURL string, scopes []string) (*Authenticator, error)
NewAuthenticator initializes an Authenticator
func (*Authenticator) Callback ¶
func (author *Authenticator) Callback(ctx context.Context, expectedState, actualState, code string) (*AuthResult, error)
Callback handles callback requests from IdP
Click to show internal directories.
Click to hide internal directories.