//
pkg.gl
Category
github.com/mromero1591/web-foundation
auth
package
0.0.0-20230216062219-ce9c39557969
Repository:
https://github.com/mromero1591/web-foundation.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
78 SLOC
#
Functions
New
New creates an Auth to support authentication/authorization.
#
Constants
RoleAdmin
These are the expected values for Claims.Roles.
RoleUser
These are the expected values for Claims.Roles.
#
Structs
Auth
Auth is used to authenticate clients.
Claims
Claims represents the authorization claims transmitted via a JWT.