Documentation ¶
Index ¶
Constants ¶
View Source
const SignerAlgo = "HS256"
SignerAlgo id default algorithm used to sign JWT tokens.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretFunc ¶
type Token ¶
type Token struct { Type Type // contains filtered or unexported fields }
func Parse ¶ added in v2.7.0
func Parse(allowedTypes []Type, raw string, fn SecretFunc) (*Token, error)
func ParseRequest ¶
Click to show internal directories.
Click to hide internal directories.