Documentation
¶
Index ¶
Constants ¶
View Source
const ( FormMediaType = "application/x-www-form-urlencoded" JSONMediaType = "application/json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenResponse ¶
type TokenResponse struct {
AccessToken string `json:"access_token"`
ExpiresIn int64 `json:"expires_in,string"`
TokenType string `json:"token_type"`
UserID string `json:"user_id"`
}
TokenResponse contains the information returned after fetching an access token from the OAuth server.
Click to show internal directories.
Click to hide internal directories.