package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Jun 5, 2024
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
getNewAccessToken refreshes the access token using the refresh token
type ErrorResponse struct {
Error string `json:"error"`
ErrorDescription string `json:"error_description"`
}
type TokenResponse struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int `json:"expires_in"`
RefreshToken string `json:"refresh_token,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.