Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is used to authenticate our users.
func New ¶
func New(auth0ClientID string, auth0Domain string, auth0CallbackUrl string) (*Authenticator, error)
New instantiates the *Authenticator.
func (*Authenticator) VerifyIDToken ¶
func (a *Authenticator) VerifyIDToken(ctx context.Context, token *oauth2.Token) (*oidc.IDToken, error)
VerifyIDToken verifies that an *oauth2.Token is a valid *oidc.IDToken.
Click to show internal directories.
Click to hide internal directories.