Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator map[string]tokenVerifier
func NewAuthenticator ¶
func NewAuthenticator(options ...AuthenticatorOption) (Authenticator, error)
func (Authenticator) VerifyAccessToken ¶
func (a Authenticator) VerifyAccessToken(ctx context.Context, accessToken string) (oidc.TokenClaims, error)
type AuthenticatorOption ¶
type AuthenticatorOption func(Authenticator) error
func WithConfig ¶
func WithConfig(config []config.AuthorizationVerifier) AuthenticatorOption
Click to show internal directories.
Click to hide internal directories.