//
pkg.gl
Category
github.com/coderi421/gframework
pkg
common
auth
package
0.0.6
Repository:
https://github.com/coderi421/gframework.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
145 SLOC
#
Functions
Compare
Compare compares the encrypted text with the plain text if it's the same.
Encrypt
Encrypt encrypts the plain text with bcrypt.
JWTAuth
No description provided by the author
NewJWT
No description provided by the author
Sign
Sign issue a jwt token based on secretID, secretKey, iss and aud.
#
Variables
TokenExpired
No description provided by the author
TokenInvalid
No description provided by the author
TokenMalformed
No description provided by the author
TokenNotValidYet
No description provided by the author
#
Structs
CustomClaims
No description provided by the author
JWT
No description provided by the author