Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is a struct that holds the authentication logic.
func NewAuthenticator ¶
func NewAuthenticator() (*Authenticator, error)
NewAuthenticator creates a new Authenticator.
func (*Authenticator) VerifyIDToken ¶
func (a *Authenticator) VerifyIDToken(ctx contextx.Contextx, token *oauth2.Token) (*oidc.IDToken, error)
VerifyIDToken verifies the ID token.
Click to show internal directories.
Click to hide internal directories.