package
0.0.0-20240123214203-0640bbbc0fbd
Repository: https://github.com/mikeder/globber.git
Documentation: pkg.go.dev
# Functions
NewManager returns a new instance of an authentication Manager.
ValidateCtx checks a context for a valid token and a username.
# Constants
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
Claims holds our authorized claims and standard JWT claims.
Credentials represents a user performing an authentication request.
ErrUserMissingField is used when a User is missing either the email or password field.
Manager coordinates authentication and user methods.
Tokens contains access and refresh JWT's.
User represents a new user.
# Type aliases
Role represents a user's access level.