//
pkg.gl
Category
github.com/drew-viles/go-web-framework
auth
package
0.0.0-20240522080600-fd506af6a830
Repository:
https://github.com/drew-viles/go-web-framework.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
81 SLOC
#
Functions
CreateToken
CreateToken Creates a JSON Web Token.
ExtractTokenUserID
ExtractTokenUserID will extract the users id stored within the token.
TokenValid
TokenValid takes a http request, checks for a token and validates it.