Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
TokenType string `json:"token_type"`
}
AccessToken represents an OAuth2 access token obtained using the client credentials flow
func NewAccessToken ¶
func NewAccessToken() (AccessToken, error)
NewAccessToken fetches a new access token from the OAuth2 server
Click to show internal directories.
Click to hide internal directories.