package
Version:
v0.0.0-...-3839eb7
Opens a new window with list of versions in this module.
Published: Mar 5, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Jwt struct {
Token *jwt.Token
Claims jwt.Claims
SignedJwt string
}
func NewJwt(secret string, method jwt.SigningMethod, claims jwt.Claims) (Jwt, error)
func ParseJwt(tokenStr, secret string, method jwt.SigningMethod, claims jwt.Claims) (Jwt, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.