24 lines
930 B
Go
24 lines
930 B
Go
package model
|
|
|
|
type OauthRequest struct {
|
|
ClientId string `json:"client_id"`
|
|
ClientSecret string `json:"client_secret"`
|
|
}
|
|
|
|
type OauthResponse struct {
|
|
RefreshTokenExpiresIn string `json:"refresh_token_expires_in"`
|
|
APIProductList string `json:"api_product_list"`
|
|
APIProductListJson []string `json:"api_product_list_json"`
|
|
OrganizationName string `json:"organization_name"`
|
|
DeveloperEmail string `json:"developer.email"`
|
|
TokenType string `json:"token_type"`
|
|
IssuedAt string `json:"issued_at"`
|
|
ClientID string `json:"client_id"`
|
|
AccessToken string `json:"access_token"`
|
|
ApplicationName string `json:"application_name"`
|
|
Scope string `json:"scope"`
|
|
ExpiresIn string `json:"expires_in"`
|
|
RefreshCount string `json:"refresh_count"`
|
|
Status string `json:"status"`
|
|
}
|