Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSigned ¶
NewSigned generates a new signed JWT that signed by specified private jwk and claims
func UnsafeClaims ¶
UnsafeClaims de-serializes the claims of a JWT into the dest. For signed JWTs, the claims are not verified. This function won't work for encrypted JWTs.
Types ¶
type Claims ¶
Claims holds standard and custom claims
func (Claims) MarshalJSON ¶
MarshalJSON implements json.marshaler
func (*Claims) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.