//
pkg.gl
Category
github.com/elisasre/go-common
token
package
1.4.25
Repository:
https://github.com/elisasre/go-common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
128 SLOC
#
Functions
New
New constructs new token which is passed for application.
Parse
Parse will validate jwt token and return token.
#
Constants
Email
No description provided by the author
Groups
No description provided by the author
Internal
No description provided by the author
OpenID
No description provided by the author
Profile
No description provided by the author
SignAlgo
SignAlgo const.
#
Variables
AllScopes
No description provided by the author
#
Structs
SignClaims
SignClaims contains claims that are passed to SignExpires func.
Token
Token struct.
UserJWTClaims
UserJWTClaims contains struct for making and parsing jwt tokens.