Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth0Conf ¶
type Auth0Conf struct { Domain string ClientID string ClientSecret string CallbackURL string UserID string }
Auth0Conf .
type Authenticator ¶
Authenticator is used to authenticate our users.
func InitAuthenticator ¶
func InitAuthenticator(authConf Auth0Conf) (*Authenticator, error)
InitAuthenticator 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.
type Conf ¶
type Conf struct { HTTP HTTPConf DB DBConf Auth0 Auth0Conf Timezone string Mode string Instance string }
Conf configuration
Click to show internal directories.
Click to hide internal directories.