Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payload ¶
type Payload struct { Issuer string `json:"iss"` Audience string `json:"aud"` Expires int64 `json:"exp"` Subject string `json:"sub"` }
Payload is a generic JWT token payload.
func (*Payload) UnmarshalToken ¶
UnmarshalToken unmarshals the provided JWT token. No claims verification or signature validation is performed.
Click to show internal directories.
Click to hide internal directories.