Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCodeChallenge ¶ added in v1.46.0
func GenerateCodeChallenge() string
func GenerateCodeVerifier ¶ added in v1.46.0
func GenerateCodeVerifier() string
Types ¶
type AuthToken ¶
type AuthToken struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` ExpiresIn int `json:"expires_in"` ExpiryDate time.Time `json:"expires_date"` CodeVerifier string `json:"code_verifier"` }
func (*AuthToken) CalcExpiresDate ¶
func (t *AuthToken) CalcExpiresDate()
Click to show internal directories.
Click to hide internal directories.