//
pkg.gl
Category
github.com/gokuafrica/golang-jwt-server
utils
package
0.0.0-20210913193408-8848315b3cc9
Repository:
https://github.com/gokuafrica/golang-jwt-server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
3
Files
90 SLOC
#
Functions
GenerateRefreshCookie
set refresh token cookie.
GenerateToken
generate new jwt token using given secret, expiry and claims payload.
GetTokenArguments
extract payload and responsewriter data from the interface array.
ValidateToken
Validate given JWT token.