package
0.0.0-20220214231002-035dfa4e00ae
Repository: https://github.com/rs401/lg.git
Documentation: pkg.go.dev

# Functions

CreateToken takes an ID and generates a Tokens.
No description provided by the author
ExtractToken extracts an access token from request header.
No description provided by the author
No description provided by the author
No description provided by the author
VerifyRefreshToken verifies a refresh token is legit.
VerifyToken verifies a token is legit.

# Structs

Claims holds a UserId and standard claims.
Tokens holds an access token and a refresh token.