Documentation ¶
Overview ¶
GENERATED DO NOT EDIT GENERATOR: scripts/gencode/gencode.go ARGUMENTS: --component model --config ../../config/api.oauth.yml --package oauthmodel --out ./oauthmodel/model.gen.go
Index ¶
- type Config
- type DeleteOAuthConfigPathParams
- type GetOAuthAuthorizationURLPathParams
- type GetOAuthAuthorizationURLResponse
- type GetOAuthConfigPathParams
- type GetOAuthTokenPathParams
- type GetOAuthTokenRequest
- type ListOAuthProvidersRequest
- type ListOAuthProvidersResponse
- type Provider
- type PutOAuthConfigPathParams
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` AuthURL string `json:"auth_url"` TokenURL string `json:"token_url"` RedirectURL string `json:"redirect_url"` Scopes []string `json:"scopes"` AuthURLParams map[string]string `json:"auth_url_params"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
type DeleteOAuthConfigPathParams ¶
type DeleteOAuthConfigPathParams struct {
Name string
}
type GetOAuthAuthorizationURLPathParams ¶
type GetOAuthAuthorizationURLPathParams struct {
Name string
}
type GetOAuthAuthorizationURLResponse ¶
type GetOAuthAuthorizationURLResponse struct {
URL string `json:"url"`
}
type GetOAuthConfigPathParams ¶
type GetOAuthConfigPathParams struct {
Name string
}
type GetOAuthTokenPathParams ¶
type GetOAuthTokenPathParams struct {
Name string
}
type GetOAuthTokenRequest ¶
type GetOAuthTokenRequest struct {
Code string `json:"code"`
}
type PutOAuthConfigPathParams ¶
type PutOAuthConfigPathParams struct {
Name string
}
Click to show internal directories.
Click to hide internal directories.