Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { Name string `json:"name,omitempty"` // Name of the token Value string `json:"token,omitempty"` // Token value Expire time.Time `json:"expire_time,omitempty"` // Time of expiration for the token Time time.Time `json:"access_time"` // Time of last access Scope []string `json:"scopes,omitempty"` // Authentication scopes }
func (*Token) MarshalJSON ¶
type TokenCreate ¶
Click to show internal directories.
Click to hide internal directories.