# Functions
No description provided by the author
No description provided by the author
FullName returns the full name from context.
GetAdminContext will return an admin context.
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
IsAdmin returns a boolean indicating whether or not the context belongs to a logged in user and if that context has the admin flag set.
IsEnabled returns the a boolean indicating if the enabled flag is set and is true or false.
No description provided by the author
NewjwtMiddleware returns a populated jwtMiddleware.
NewjwtMiddleware returns a populated jwtMiddleware.
No description provided by the author
NewjwtMiddleware returns a populated jwtMiddleware.
No description provided by the author
No description provided by the author
No description provided by the author
PopulateContext sets the appropriate fields in the context, based on the user object.
No description provided by the author
SetAdmin sets the isAdmin flag on the context.
No description provided by the author
SetFullName sets the user full name in the context.
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
SetIsEnabled sets a flag indicating if account is enabled.
No description provided by the author
SetUserID sets the userID in the context.
UserID returns the userID from the context.
# Constants
UserIDFlag is the User ID flag we set in the context.
# Structs
No description provided by the author
InstanceJWTClaims holds JWT claims.
JWTClaims holds JWT claims.
No description provided by the author
# Interfaces
No description provided by the author
Middleware defines an authentication middleware.