mastering bridging
This commit is contained in:
23
internal/model/oauth_model.go
Normal file
23
internal/model/oauth_model.go
Normal file
@@ -0,0 +1,23 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user