Categorygithub.com/go-hl/jwt
modulepackage
2.2.0+incompatible
Repository: https://github.com/go-hl/jwt.git
Documentation: pkg.go.dev

# Functions

MapGetKey get a claim value inside a signed token.
MapGetUserID get user ID inside a signed token.
MapIsValid fully validate if the passed token is valid.
MapRetrieveClaims return the struct claims.
NewMapToken generate a new token.
NewStdToken generate a new token.
StdGetUserID get user ID inside a signed token.
StdIsValid fully validate if the passed token is valid.

# Structs

MapClaims is the struct that represent Claims of JWT.
StdClaims is the struct that represent StdClaims of JWT.