Categorygithub.com/go-hl/jwt/v2
modulepackage
2.2.0
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.

# Variables

Error constants.
Error constants.

# Structs

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