package
2.3.1-pre-3+incompatible
Repository: https://github.com/euracresearch/browser.git
Documentation: pkg.go.dev
# Constants
DefaultCookieName is the name of the stored cookie.
DefaultJWTIssuer is the default issuer of the JWT token.
DefaultLifespan is the duration a token and cookie is valid.
# Variables
ErrTokenInvalid denotes that a could not be validated.
# Structs
Cookie is an Authenticator using HTTP cookies and JWT tokens.
Github is an OAuth2 provider for signing in using Github accounts.
Google is an OAuth2 provider for signing in using Google accounts.
Handler handles OAuth2 authorization flows and different account aspects.
Microsoft is an OAuth2 provider for signing in using azure AD.
# Interfaces
Authenticator represents a service for authenticating users.
Provider are the common parameters all OAuth2 providers should implement.