Documentation ¶
Index ¶
- func ClaimsPrincipalFromUnsignedToken(tokenString string) (contracts_claimsprincipal.IClaimsPrincipal, error)
- func DecodeUnsignedToken(tokenString string) (*jwt.Token, error)
- func MintUnsignedToken(subject string, extraClaims jwt.MapClaims, options *MintUnsignedOptons) (string, error)
- type MintUnsignedOptons
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimsPrincipalFromUnsignedToken ¶
func ClaimsPrincipalFromUnsignedToken(tokenString string) (contracts_claimsprincipal.IClaimsPrincipal, error)
ClaimsPrincipalFromUnsignedToken decodes an unsigned token
func DecodeUnsignedToken ¶
DecodeUnsignedToken decodes an unsigned token
func MintUnsignedToken ¶
func MintUnsignedToken(subject string, extraClaims jwt.MapClaims, options *MintUnsignedOptons) (string, error)
MintUnsignedToken creates a new unsigned token
Types ¶
Click to show internal directories.
Click to hide internal directories.