//
pkg.gl
Category
github.com/cybernuki/Service_Order_System
internal
jwt
package
0.0.0-20200819032950-2cb12832784a
Repository:
https://github.com/cybernuki/service_order_system.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
38 SLOC
#
Functions
GenerateToken
GenerateToken generates a jwt token and assign a email to it's claims and return it.
ParseToken
ParseToken parses a jwt token and returns the email in it's claims.
#
Variables
SecretKey
secret key being used to sign tokens.