Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTokenExtract = errors.New("failed to extract id token")
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(oauthConfig *oauth2.Config, oidcProvider *oidc.Provider) *Authenticator
func (*Authenticator) GetIDTokenClaims ¶
GetIDTokenClaims exchanges a temporary code for an ID token. The ID token is verified to be valid, and its Claims are then returned.
Click to show internal directories.
Click to hide internal directories.