Categorygithub.com/sixwaaaay/token
modulepackage
0.1.1
Repository: https://github.com/sixwaaaay/token.git
Documentation: pkg.go.dev

# README

CI Codecov Go Report Card

# Packages

No description provided by the author

# Functions

ClaimStrI64 is a function that extracts a claim from a JWT token and converts it to an int64.
ExClaim is a generic function that extracts a claim from a MapClaims.
ExToken is a generic function that extracts a claim from a JWT token.
KeyFunc is a function that returns a jwt.Keyfunc, which is a function that takes a JWT token and returns the secret used to sign the token and an error.
ParseClaims is a function that parses a JWT token and adds it to a context.
Token is a generic function read a *jwt.Token from context.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
used to store the *jwt.Token in the context.