Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BaiduPlatform *module_api.Platform
View Source
var GetAccessTokenUrl = "https://github.com/login/oauth/access_token"
Functions ¶
func GetAccessTokenFunc ¶
Types ¶
type GetAccessTokenResponse ¶
type GetAccessTokenResponse struct {
AccessToken string `json:"access_token"`
ExpiresIn int64 `json:"expires_in"`
RefreshToken string `json:"refresh_token"`
RefreshTokenExpiresIn int64 `json:"refresh_token_expires_in"`
Scope string `json:"scope"`
TokenType string `json:"token_type"`
Error string `json:"error"`
ErrorDescription string `json:"error_description"`
}
Click to show internal directories.
Click to hide internal directories.