Documentation ¶
Index ¶
Constants ¶
View Source
const ErrorAccessDenied = "access_denied"
Variables ¶
This section is empty.
Functions ¶
func IsAccessTokenError ¶ added in v1.22.0
func IsRefreshTokenError ¶ added in v1.22.0
Types ¶
type Token ¶
type Token struct { AccessToken string `json:"accessToken" bson:"accessToken"` TokenType string `json:"tokenType,omitempty" bson:"tokenType,omitempty"` RefreshToken string `json:"refreshToken,omitempty" bson:"refreshToken,omitempty"` ExpirationTime time.Time `json:"expirationTime,omitempty" bson:"expirationTime,omitempty"` }
func (*Token) Normalize ¶
func (t *Token) Normalize(normalizer structure.Normalizer)
func (*Token) Parse ¶
func (t *Token) Parse(parser structure.ObjectParser)
Click to show internal directories.
Click to hide internal directories.