Categorygithub.com/origadmin/contrib/security/authn/jwt
modulepackage
0.0.31
Repository: https://github.com/origadmin/contrib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetAlgorithmSigningMethod returns the signing method for a given algorithm.
GetKeyFunc returns a function that retrieves the key for a given token.
GetKeyFuncWithAlg returns a function that retrieves the key for a given token with a specific algorithm.
No description provided by the author
NewAuthenticator creates a new Authenticator.
No description provided by the author
No description provided by the author
No description provided by the author
WithAudience returns a Setting function that sets the audience for an Authenticator.
WithCache returns a Setting function that sets the token cache service for an Authenticator.
WithExpireAccess returns a Setting function that sets the expiration time for an Authenticator.
WithExpireRefresh returns a Setting function that sets the expiration time for an Authenticator.
WithExtraClaims returns a Setting function that sets the extra keys for an Authenticator.
WithIssuer returns a Setting function that sets the issuer for an Authenticator.
WithJTI returns a Setting function that sets the JTI generator function for an Authenticator.
WithKeyFunc returns a Setting function that sets the key function for an Authenticator.
WithScheme returns a Setting function that sets the scheme for an Authenticator.
WithScopes returns a Setting function that sets the scoped flag for an Authenticator.
WithSigningMethod returns a Setting function that sets the signing method for an Authenticator.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Authenticator is a struct that implements the Authenticator interface.
No description provided by the author
No description provided by the author

# Type aliases

Setting is a function type for setting the Authenticator.