Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Token ¶
type Token struct { ID string `json:"id"` Exp int64 `json:"exp"` TZ string `json:"tz"` Offset int `json:"offset"` Type TYPE `json:"type"` Refresh *string `json:"refresh,omitempty"` }
func TokenToClaims ¶
func (*Token) HasExpired ¶
func (*Token) HasRefresh ¶
func (*Token) IsNotValid ¶
Click to show internal directories.
Click to hide internal directories.