Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse parses a token []byte representation and verifies it against the given key and algorithm
func WithClaims ¶
func WithClaims(clms map[string]interface{}) option
WithClaims adds a list of claims to the token
func WithHeaders ¶
func WithHeaders(hdrs map[string]interface{}) option
WithHeaders adds a list of headers to the token
Types ¶
Click to show internal directories.
Click to hide internal directories.