Documentation ¶
Index ¶
- type Client
- func (a *Client) DisconnectUser(params *DisconnectUserParams) error
- func (a *Client) DiscoverOpenIDConfiguration(params *DiscoverOpenIDConfigurationParams) (*DiscoverOpenIDConfigurationOK, error)
- func (a *Client) DynamicClientRegistrationCreateOAuth2Client(params *DynamicClientRegistrationCreateOAuth2ClientParams) (*DynamicClientRegistrationCreateOAuth2ClientCreated, error)
- func (a *Client) DynamicClientRegistrationDeleteOAuth2Client(params *DynamicClientRegistrationDeleteOAuth2ClientParams) (*DynamicClientRegistrationDeleteOAuth2ClientNoContent, error)
- func (a *Client) DynamicClientRegistrationGetOAuth2Client(params *DynamicClientRegistrationGetOAuth2ClientParams) (*DynamicClientRegistrationGetOAuth2ClientOK, error)
- func (a *Client) DynamicClientRegistrationUpdateOAuth2Client(params *DynamicClientRegistrationUpdateOAuth2ClientParams) (*DynamicClientRegistrationUpdateOAuth2ClientOK, error)
- func (a *Client) IsInstanceReady(params *IsInstanceReadyParams) (*IsInstanceReadyOK, error)
- func (a *Client) Oauth2Token(params *Oauth2TokenParams, authInfo runtime.ClientAuthInfoWriter) (*Oauth2TokenOK, error)
- func (a *Client) OauthAuth(params *OauthAuthParams) error
- func (a *Client) RevokeOAuth2Token(params *RevokeOAuth2TokenParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeOAuth2TokenOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Userinfo(params *UserinfoParams, authInfo runtime.ClientAuthInfoWriter) (*UserinfoOK, error)
- func (a *Client) WellKnown(params *WellKnownParams) (*WellKnownOK, error)
- type ClientService
- type DisconnectUserFound
- type DisconnectUserParams
- func NewDisconnectUserParams() *DisconnectUserParams
- func NewDisconnectUserParamsWithContext(ctx context.Context) *DisconnectUserParams
- func NewDisconnectUserParamsWithHTTPClient(client *http.Client) *DisconnectUserParams
- func NewDisconnectUserParamsWithTimeout(timeout time.Duration) *DisconnectUserParams
- func (o *DisconnectUserParams) SetContext(ctx context.Context)
- func (o *DisconnectUserParams) SetHTTPClient(client *http.Client)
- func (o *DisconnectUserParams) SetTimeout(timeout time.Duration)
- func (o *DisconnectUserParams) WithContext(ctx context.Context) *DisconnectUserParams
- func (o *DisconnectUserParams) WithHTTPClient(client *http.Client) *DisconnectUserParams
- func (o *DisconnectUserParams) WithTimeout(timeout time.Duration) *DisconnectUserParams
- func (o *DisconnectUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisconnectUserReader
- type DiscoverOpenIDConfigurationInternalServerError
- type DiscoverOpenIDConfigurationOK
- type DiscoverOpenIDConfigurationParams
- func NewDiscoverOpenIDConfigurationParams() *DiscoverOpenIDConfigurationParams
- func NewDiscoverOpenIDConfigurationParamsWithContext(ctx context.Context) *DiscoverOpenIDConfigurationParams
- func NewDiscoverOpenIDConfigurationParamsWithHTTPClient(client *http.Client) *DiscoverOpenIDConfigurationParams
- func NewDiscoverOpenIDConfigurationParamsWithTimeout(timeout time.Duration) *DiscoverOpenIDConfigurationParams
- func (o *DiscoverOpenIDConfigurationParams) SetContext(ctx context.Context)
- func (o *DiscoverOpenIDConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *DiscoverOpenIDConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *DiscoverOpenIDConfigurationParams) WithContext(ctx context.Context) *DiscoverOpenIDConfigurationParams
- func (o *DiscoverOpenIDConfigurationParams) WithHTTPClient(client *http.Client) *DiscoverOpenIDConfigurationParams
- func (o *DiscoverOpenIDConfigurationParams) WithTimeout(timeout time.Duration) *DiscoverOpenIDConfigurationParams
- func (o *DiscoverOpenIDConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DiscoverOpenIDConfigurationReader
- type DiscoverOpenIDConfigurationUnauthorized
- type DynamicClientRegistrationCreateOAuth2ClientCreated
- type DynamicClientRegistrationCreateOAuth2ClientDefault
- type DynamicClientRegistrationCreateOAuth2ClientParams
- func NewDynamicClientRegistrationCreateOAuth2ClientParams() *DynamicClientRegistrationCreateOAuth2ClientParams
- func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationCreateOAuth2ClientParams
- func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationCreateOAuth2ClientParams
- func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationCreateOAuth2ClientParams
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetBody(body *models.OAuth2Client)
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetContext(ctx context.Context)
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetHTTPClient(client *http.Client)
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetTimeout(timeout time.Duration)
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithBody(body *models.OAuth2Client) *DynamicClientRegistrationCreateOAuth2ClientParams
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationCreateOAuth2ClientParams
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationCreateOAuth2ClientParams
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationCreateOAuth2ClientParams
- func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DynamicClientRegistrationCreateOAuth2ClientReader
- type DynamicClientRegistrationDeleteOAuth2ClientDefault
- type DynamicClientRegistrationDeleteOAuth2ClientNoContent
- type DynamicClientRegistrationDeleteOAuth2ClientParams
- func NewDynamicClientRegistrationDeleteOAuth2ClientParams() *DynamicClientRegistrationDeleteOAuth2ClientParams
- func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetContext(ctx context.Context)
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetHTTPClient(client *http.Client)
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetID(id string)
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetTimeout(timeout time.Duration)
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithID(id string) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationDeleteOAuth2ClientParams
- func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DynamicClientRegistrationDeleteOAuth2ClientReader
- type DynamicClientRegistrationGetOAuth2ClientDefault
- type DynamicClientRegistrationGetOAuth2ClientOK
- type DynamicClientRegistrationGetOAuth2ClientParams
- func NewDynamicClientRegistrationGetOAuth2ClientParams() *DynamicClientRegistrationGetOAuth2ClientParams
- func NewDynamicClientRegistrationGetOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationGetOAuth2ClientParams
- func NewDynamicClientRegistrationGetOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationGetOAuth2ClientParams
- func NewDynamicClientRegistrationGetOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationGetOAuth2ClientParams
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetContext(ctx context.Context)
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetHTTPClient(client *http.Client)
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetID(id string)
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetTimeout(timeout time.Duration)
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationGetOAuth2ClientParams
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationGetOAuth2ClientParams
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithID(id string) *DynamicClientRegistrationGetOAuth2ClientParams
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationGetOAuth2ClientParams
- func (o *DynamicClientRegistrationGetOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DynamicClientRegistrationGetOAuth2ClientReader
- type DynamicClientRegistrationUpdateOAuth2ClientDefault
- type DynamicClientRegistrationUpdateOAuth2ClientOK
- type DynamicClientRegistrationUpdateOAuth2ClientParams
- func NewDynamicClientRegistrationUpdateOAuth2ClientParams() *DynamicClientRegistrationUpdateOAuth2ClientParams
- func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetBody(body *models.OAuth2Client)
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetContext(ctx context.Context)
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetHTTPClient(client *http.Client)
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetID(id string)
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetTimeout(timeout time.Duration)
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithBody(body *models.OAuth2Client) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithID(id string) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationUpdateOAuth2ClientParams
- func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DynamicClientRegistrationUpdateOAuth2ClientReader
- type IsInstanceReadyOK
- type IsInstanceReadyParams
- func NewIsInstanceReadyParams() *IsInstanceReadyParams
- func NewIsInstanceReadyParamsWithContext(ctx context.Context) *IsInstanceReadyParams
- func NewIsInstanceReadyParamsWithHTTPClient(client *http.Client) *IsInstanceReadyParams
- func NewIsInstanceReadyParamsWithTimeout(timeout time.Duration) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) SetContext(ctx context.Context)
- func (o *IsInstanceReadyParams) SetHTTPClient(client *http.Client)
- func (o *IsInstanceReadyParams) SetTimeout(timeout time.Duration)
- func (o *IsInstanceReadyParams) WithContext(ctx context.Context) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WithHTTPClient(client *http.Client) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WithTimeout(timeout time.Duration) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IsInstanceReadyReader
- type IsInstanceReadyServiceUnavailable
- type Oauth2TokenBadRequest
- type Oauth2TokenInternalServerError
- type Oauth2TokenOK
- type Oauth2TokenParams
- func (o *Oauth2TokenParams) SetClientID(clientID *string)
- func (o *Oauth2TokenParams) SetCode(code *string)
- func (o *Oauth2TokenParams) SetContext(ctx context.Context)
- func (o *Oauth2TokenParams) SetGrantType(grantType string)
- func (o *Oauth2TokenParams) SetHTTPClient(client *http.Client)
- func (o *Oauth2TokenParams) SetRedirectURI(redirectURI *string)
- func (o *Oauth2TokenParams) SetRefreshToken(refreshToken *string)
- func (o *Oauth2TokenParams) SetTimeout(timeout time.Duration)
- func (o *Oauth2TokenParams) WithClientID(clientID *string) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithCode(code *string) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithContext(ctx context.Context) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithGrantType(grantType string) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithHTTPClient(client *http.Client) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithRedirectURI(redirectURI *string) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithRefreshToken(refreshToken *string) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WithTimeout(timeout time.Duration) *Oauth2TokenParams
- func (o *Oauth2TokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Oauth2TokenReader
- type Oauth2TokenUnauthorized
- type OauthAuthFound
- type OauthAuthInternalServerError
- type OauthAuthParams
- func (o *OauthAuthParams) SetContext(ctx context.Context)
- func (o *OauthAuthParams) SetHTTPClient(client *http.Client)
- func (o *OauthAuthParams) SetTimeout(timeout time.Duration)
- func (o *OauthAuthParams) WithContext(ctx context.Context) *OauthAuthParams
- func (o *OauthAuthParams) WithHTTPClient(client *http.Client) *OauthAuthParams
- func (o *OauthAuthParams) WithTimeout(timeout time.Duration) *OauthAuthParams
- func (o *OauthAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OauthAuthReader
- type OauthAuthUnauthorized
- type RevokeOAuth2TokenInternalServerError
- type RevokeOAuth2TokenOK
- type RevokeOAuth2TokenParams
- func NewRevokeOAuth2TokenParams() *RevokeOAuth2TokenParams
- func NewRevokeOAuth2TokenParamsWithContext(ctx context.Context) *RevokeOAuth2TokenParams
- func NewRevokeOAuth2TokenParamsWithHTTPClient(client *http.Client) *RevokeOAuth2TokenParams
- func NewRevokeOAuth2TokenParamsWithTimeout(timeout time.Duration) *RevokeOAuth2TokenParams
- func (o *RevokeOAuth2TokenParams) SetContext(ctx context.Context)
- func (o *RevokeOAuth2TokenParams) SetHTTPClient(client *http.Client)
- func (o *RevokeOAuth2TokenParams) SetTimeout(timeout time.Duration)
- func (o *RevokeOAuth2TokenParams) SetToken(token string)
- func (o *RevokeOAuth2TokenParams) WithContext(ctx context.Context) *RevokeOAuth2TokenParams
- func (o *RevokeOAuth2TokenParams) WithHTTPClient(client *http.Client) *RevokeOAuth2TokenParams
- func (o *RevokeOAuth2TokenParams) WithTimeout(timeout time.Duration) *RevokeOAuth2TokenParams
- func (o *RevokeOAuth2TokenParams) WithToken(token string) *RevokeOAuth2TokenParams
- func (o *RevokeOAuth2TokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeOAuth2TokenReader
- type RevokeOAuth2TokenUnauthorized
- type UserinfoInternalServerError
- type UserinfoOK
- type UserinfoParams
- func (o *UserinfoParams) SetContext(ctx context.Context)
- func (o *UserinfoParams) SetHTTPClient(client *http.Client)
- func (o *UserinfoParams) SetTimeout(timeout time.Duration)
- func (o *UserinfoParams) WithContext(ctx context.Context) *UserinfoParams
- func (o *UserinfoParams) WithHTTPClient(client *http.Client) *UserinfoParams
- func (o *UserinfoParams) WithTimeout(timeout time.Duration) *UserinfoParams
- func (o *UserinfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserinfoReader
- type UserinfoUnauthorized
- type WellKnownInternalServerError
- type WellKnownOK
- type WellKnownParams
- func (o *WellKnownParams) SetContext(ctx context.Context)
- func (o *WellKnownParams) SetHTTPClient(client *http.Client)
- func (o *WellKnownParams) SetTimeout(timeout time.Duration)
- func (o *WellKnownParams) WithContext(ctx context.Context) *WellKnownParams
- func (o *WellKnownParams) WithHTTPClient(client *http.Client) *WellKnownParams
- func (o *WellKnownParams) WithTimeout(timeout time.Duration) *WellKnownParams
- func (o *WellKnownParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WellKnownReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public API
func (*Client) DisconnectUser ¶
func (a *Client) DisconnectUser(params *DisconnectUserParams) error
DisconnectUser opens ID connect front backchannel enabled logout This endpoint initiates and completes user logout at Ory Hydra and initiates OpenID Connect Front-/Back-channel logout:
https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html
func (*Client) DiscoverOpenIDConfiguration ¶
func (a *Client) DiscoverOpenIDConfiguration(params *DiscoverOpenIDConfigurationParams) (*DiscoverOpenIDConfigurationOK, error)
DiscoverOpenIDConfiguration opens ID connect discovery The well known endpoint an be used to retrieve information for OpenID Connect clients. We encourage you to not roll
your own OpenID Connect client but to use an OpenID Connect client library instead. You can learn more on this flow at https://openid.net/specs/openid-connect-discovery-1_0.html .
Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/
func (*Client) DynamicClientRegistrationCreateOAuth2Client ¶ added in v1.11.0
func (a *Client) DynamicClientRegistrationCreateOAuth2Client(params *DynamicClientRegistrationCreateOAuth2ClientParams) (*DynamicClientRegistrationCreateOAuth2ClientCreated, error)
DynamicClientRegistrationCreateOAuth2Client registers an o auth 2 0 client using the open ID o auth2 dynamic client registration management protocol This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the
public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator.
Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or `client_secret_post`.
The `client_secret` will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe.
func (*Client) DynamicClientRegistrationDeleteOAuth2Client ¶ added in v1.11.0
func (a *Client) DynamicClientRegistrationDeleteOAuth2Client(params *DynamicClientRegistrationDeleteOAuth2ClientParams) (*DynamicClientRegistrationDeleteOAuth2ClientNoContent, error)
DynamicClientRegistrationDeleteOAuth2Client deletes an o auth 2 0 client using the open ID o auth2 dynamic client registration management protocol This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the
public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator.
To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.
OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
func (*Client) DynamicClientRegistrationGetOAuth2Client ¶ added in v1.11.0
func (a *Client) DynamicClientRegistrationGetOAuth2Client(params *DynamicClientRegistrationGetOAuth2ClientParams) (*DynamicClientRegistrationGetOAuth2ClientOK, error)
DynamicClientRegistrationGetOAuth2Client gets an o auth 2 0 client using the open ID o auth2 dynamic client registration management protocol This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the
public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator.
To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.
OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
func (*Client) DynamicClientRegistrationUpdateOAuth2Client ¶ added in v1.11.0
func (a *Client) DynamicClientRegistrationUpdateOAuth2Client(params *DynamicClientRegistrationUpdateOAuth2ClientParams) (*DynamicClientRegistrationUpdateOAuth2ClientOK, error)
DynamicClientRegistrationUpdateOAuth2Client updates an o auth 2 0 client using the open ID o auth2 dynamic client registration management protocol This endpoint behaves like the administrative counterpart (`updateOAuth2Client`) but is capable of facing the
public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator.
If you pass `client_secret` the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe.
To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.
OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
func (*Client) IsInstanceReady ¶
func (a *Client) IsInstanceReady(params *IsInstanceReadyParams) (*IsInstanceReadyOK, error)
IsInstanceReady checks readiness status This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g.
the database) are responsive as well.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
func (*Client) Oauth2Token ¶
func (a *Client) Oauth2Token(params *Oauth2TokenParams, authInfo runtime.ClientAuthInfoWriter) (*Oauth2TokenOK, error)
Oauth2Token thes o auth 2 0 token endpoint The client makes a request to the token endpoint by sending the
following parameters using the "application/x-www-form-urlencoded" HTTP request entity-body.
> Do not implement a client for this endpoint yourself. Use a library. There are many libraries > available for any programming language. You can find a list of libraries here: https://oauth.net/code/ > > Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above!
func (*Client) OauthAuth ¶
func (a *Client) OauthAuth(params *OauthAuthParams) error
OauthAuth thes o auth 2 0 authorize endpoint This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows.
OAuth2 is a very popular protocol and a library for your programming language will exists.
To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc6749
func (*Client) RevokeOAuth2Token ¶
func (a *Client) RevokeOAuth2Token(params *RevokeOAuth2TokenParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeOAuth2TokenOK, error)
RevokeOAuth2Token revokes o auth2 tokens Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no
longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Userinfo ¶
func (a *Client) Userinfo(params *UserinfoParams, authInfo runtime.ClientAuthInfoWriter) (*UserinfoOK, error)
Userinfo opens ID connect userinfo This endpoint returns the payload of the ID Token, including the idTokenExtra values, of
the provided OAuth 2.0 Access Token.
For more information please [refer to the spec](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo).
In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format.
func (*Client) WellKnown ¶
func (a *Client) WellKnown(params *WellKnownParams) (*WellKnownOK, error)
WellKnown JSONs web keys discovery This endpoint returns JSON Web Keys to be used as public keys for verifying OpenID Connect ID Tokens and,
if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
type ClientService ¶ added in v1.3.0
type ClientService interface { DisconnectUser(params *DisconnectUserParams) error DiscoverOpenIDConfiguration(params *DiscoverOpenIDConfigurationParams) (*DiscoverOpenIDConfigurationOK, error) DynamicClientRegistrationCreateOAuth2Client(params *DynamicClientRegistrationCreateOAuth2ClientParams) (*DynamicClientRegistrationCreateOAuth2ClientCreated, error) DynamicClientRegistrationDeleteOAuth2Client(params *DynamicClientRegistrationDeleteOAuth2ClientParams) (*DynamicClientRegistrationDeleteOAuth2ClientNoContent, error) DynamicClientRegistrationGetOAuth2Client(params *DynamicClientRegistrationGetOAuth2ClientParams) (*DynamicClientRegistrationGetOAuth2ClientOK, error) DynamicClientRegistrationUpdateOAuth2Client(params *DynamicClientRegistrationUpdateOAuth2ClientParams) (*DynamicClientRegistrationUpdateOAuth2ClientOK, error) IsInstanceReady(params *IsInstanceReadyParams) (*IsInstanceReadyOK, error) Oauth2Token(params *Oauth2TokenParams, authInfo runtime.ClientAuthInfoWriter) (*Oauth2TokenOK, error) OauthAuth(params *OauthAuthParams) error RevokeOAuth2Token(params *RevokeOAuth2TokenParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeOAuth2TokenOK, error) Userinfo(params *UserinfoParams, authInfo runtime.ClientAuthInfoWriter) (*UserinfoOK, error) WellKnown(params *WellKnownParams) (*WellKnownOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new public API client.
type DisconnectUserFound ¶
type DisconnectUserFound struct { }
DisconnectUserFound handles this case with default header values.
Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.
func NewDisconnectUserFound ¶
func NewDisconnectUserFound() *DisconnectUserFound
NewDisconnectUserFound creates a DisconnectUserFound with default headers values
func (*DisconnectUserFound) Error ¶
func (o *DisconnectUserFound) Error() string
type DisconnectUserParams ¶
type DisconnectUserParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisconnectUserParams contains all the parameters to send to the API endpoint for the disconnect user operation typically these are written to a http.Request
func NewDisconnectUserParams ¶
func NewDisconnectUserParams() *DisconnectUserParams
NewDisconnectUserParams creates a new DisconnectUserParams object with the default values initialized.
func NewDisconnectUserParamsWithContext ¶
func NewDisconnectUserParamsWithContext(ctx context.Context) *DisconnectUserParams
NewDisconnectUserParamsWithContext creates a new DisconnectUserParams object with the default values initialized, and the ability to set a context for a request
func NewDisconnectUserParamsWithHTTPClient ¶
func NewDisconnectUserParamsWithHTTPClient(client *http.Client) *DisconnectUserParams
NewDisconnectUserParamsWithHTTPClient creates a new DisconnectUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisconnectUserParamsWithTimeout ¶
func NewDisconnectUserParamsWithTimeout(timeout time.Duration) *DisconnectUserParams
NewDisconnectUserParamsWithTimeout creates a new DisconnectUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisconnectUserParams) SetContext ¶
func (o *DisconnectUserParams) SetContext(ctx context.Context)
SetContext adds the context to the disconnect user params
func (*DisconnectUserParams) SetHTTPClient ¶
func (o *DisconnectUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disconnect user params
func (*DisconnectUserParams) SetTimeout ¶
func (o *DisconnectUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disconnect user params
func (*DisconnectUserParams) WithContext ¶
func (o *DisconnectUserParams) WithContext(ctx context.Context) *DisconnectUserParams
WithContext adds the context to the disconnect user params
func (*DisconnectUserParams) WithHTTPClient ¶
func (o *DisconnectUserParams) WithHTTPClient(client *http.Client) *DisconnectUserParams
WithHTTPClient adds the HTTPClient to the disconnect user params
func (*DisconnectUserParams) WithTimeout ¶
func (o *DisconnectUserParams) WithTimeout(timeout time.Duration) *DisconnectUserParams
WithTimeout adds the timeout to the disconnect user params
func (*DisconnectUserParams) WriteToRequest ¶
func (o *DisconnectUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisconnectUserReader ¶
type DisconnectUserReader struct {
// contains filtered or unexported fields
}
DisconnectUserReader is a Reader for the DisconnectUser structure.
func (*DisconnectUserReader) ReadResponse ¶
func (o *DisconnectUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DiscoverOpenIDConfigurationInternalServerError ¶
DiscoverOpenIDConfigurationInternalServerError handles this case with default header values.
jsonError
func NewDiscoverOpenIDConfigurationInternalServerError ¶
func NewDiscoverOpenIDConfigurationInternalServerError() *DiscoverOpenIDConfigurationInternalServerError
NewDiscoverOpenIDConfigurationInternalServerError creates a DiscoverOpenIDConfigurationInternalServerError with default headers values
func (*DiscoverOpenIDConfigurationInternalServerError) Error ¶
func (o *DiscoverOpenIDConfigurationInternalServerError) Error() string
func (*DiscoverOpenIDConfigurationInternalServerError) GetPayload ¶
func (o *DiscoverOpenIDConfigurationInternalServerError) GetPayload() *models.JSONError
type DiscoverOpenIDConfigurationOK ¶
DiscoverOpenIDConfigurationOK handles this case with default header values.
wellKnown
func NewDiscoverOpenIDConfigurationOK ¶
func NewDiscoverOpenIDConfigurationOK() *DiscoverOpenIDConfigurationOK
NewDiscoverOpenIDConfigurationOK creates a DiscoverOpenIDConfigurationOK with default headers values
func (*DiscoverOpenIDConfigurationOK) Error ¶
func (o *DiscoverOpenIDConfigurationOK) Error() string
func (*DiscoverOpenIDConfigurationOK) GetPayload ¶
func (o *DiscoverOpenIDConfigurationOK) GetPayload() *models.WellKnown
type DiscoverOpenIDConfigurationParams ¶
type DiscoverOpenIDConfigurationParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DiscoverOpenIDConfigurationParams contains all the parameters to send to the API endpoint for the discover open ID configuration operation typically these are written to a http.Request
func NewDiscoverOpenIDConfigurationParams ¶
func NewDiscoverOpenIDConfigurationParams() *DiscoverOpenIDConfigurationParams
NewDiscoverOpenIDConfigurationParams creates a new DiscoverOpenIDConfigurationParams object with the default values initialized.
func NewDiscoverOpenIDConfigurationParamsWithContext ¶
func NewDiscoverOpenIDConfigurationParamsWithContext(ctx context.Context) *DiscoverOpenIDConfigurationParams
NewDiscoverOpenIDConfigurationParamsWithContext creates a new DiscoverOpenIDConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewDiscoverOpenIDConfigurationParamsWithHTTPClient ¶
func NewDiscoverOpenIDConfigurationParamsWithHTTPClient(client *http.Client) *DiscoverOpenIDConfigurationParams
NewDiscoverOpenIDConfigurationParamsWithHTTPClient creates a new DiscoverOpenIDConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDiscoverOpenIDConfigurationParamsWithTimeout ¶
func NewDiscoverOpenIDConfigurationParamsWithTimeout(timeout time.Duration) *DiscoverOpenIDConfigurationParams
NewDiscoverOpenIDConfigurationParamsWithTimeout creates a new DiscoverOpenIDConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DiscoverOpenIDConfigurationParams) SetContext ¶
func (o *DiscoverOpenIDConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the discover open ID configuration params
func (*DiscoverOpenIDConfigurationParams) SetHTTPClient ¶
func (o *DiscoverOpenIDConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the discover open ID configuration params
func (*DiscoverOpenIDConfigurationParams) SetTimeout ¶
func (o *DiscoverOpenIDConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the discover open ID configuration params
func (*DiscoverOpenIDConfigurationParams) WithContext ¶
func (o *DiscoverOpenIDConfigurationParams) WithContext(ctx context.Context) *DiscoverOpenIDConfigurationParams
WithContext adds the context to the discover open ID configuration params
func (*DiscoverOpenIDConfigurationParams) WithHTTPClient ¶
func (o *DiscoverOpenIDConfigurationParams) WithHTTPClient(client *http.Client) *DiscoverOpenIDConfigurationParams
WithHTTPClient adds the HTTPClient to the discover open ID configuration params
func (*DiscoverOpenIDConfigurationParams) WithTimeout ¶
func (o *DiscoverOpenIDConfigurationParams) WithTimeout(timeout time.Duration) *DiscoverOpenIDConfigurationParams
WithTimeout adds the timeout to the discover open ID configuration params
func (*DiscoverOpenIDConfigurationParams) WriteToRequest ¶
func (o *DiscoverOpenIDConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DiscoverOpenIDConfigurationReader ¶
type DiscoverOpenIDConfigurationReader struct {
// contains filtered or unexported fields
}
DiscoverOpenIDConfigurationReader is a Reader for the DiscoverOpenIDConfiguration structure.
func (*DiscoverOpenIDConfigurationReader) ReadResponse ¶
func (o *DiscoverOpenIDConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DiscoverOpenIDConfigurationUnauthorized ¶
type DiscoverOpenIDConfigurationUnauthorized struct {
}DiscoverOpenIDConfigurationUnauthorized handles this case with default header values.
jsonError
func NewDiscoverOpenIDConfigurationUnauthorized ¶
func NewDiscoverOpenIDConfigurationUnauthorized() *DiscoverOpenIDConfigurationUnauthorized
NewDiscoverOpenIDConfigurationUnauthorized creates a DiscoverOpenIDConfigurationUnauthorized with default headers values
func (*DiscoverOpenIDConfigurationUnauthorized) Error ¶
func (o *DiscoverOpenIDConfigurationUnauthorized) Error() string
func (*DiscoverOpenIDConfigurationUnauthorized) GetPayload ¶
func (o *DiscoverOpenIDConfigurationUnauthorized) GetPayload() *models.JSONError
type DynamicClientRegistrationCreateOAuth2ClientCreated ¶ added in v1.11.0
type DynamicClientRegistrationCreateOAuth2ClientCreated struct {
Payload *models.OAuth2Client
}
DynamicClientRegistrationCreateOAuth2ClientCreated handles this case with default header values.
oAuth2Client
func NewDynamicClientRegistrationCreateOAuth2ClientCreated ¶ added in v1.11.0
func NewDynamicClientRegistrationCreateOAuth2ClientCreated() *DynamicClientRegistrationCreateOAuth2ClientCreated
NewDynamicClientRegistrationCreateOAuth2ClientCreated creates a DynamicClientRegistrationCreateOAuth2ClientCreated with default headers values
func (*DynamicClientRegistrationCreateOAuth2ClientCreated) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientCreated) Error() string
func (*DynamicClientRegistrationCreateOAuth2ClientCreated) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientCreated) GetPayload() *models.OAuth2Client
type DynamicClientRegistrationCreateOAuth2ClientDefault ¶ added in v1.11.0
type DynamicClientRegistrationCreateOAuth2ClientDefault struct { Payload *models.JSONError // contains filtered or unexported fields }
DynamicClientRegistrationCreateOAuth2ClientDefault handles this case with default header values.
jsonError
func NewDynamicClientRegistrationCreateOAuth2ClientDefault ¶ added in v1.11.0
func NewDynamicClientRegistrationCreateOAuth2ClientDefault(code int) *DynamicClientRegistrationCreateOAuth2ClientDefault
NewDynamicClientRegistrationCreateOAuth2ClientDefault creates a DynamicClientRegistrationCreateOAuth2ClientDefault with default headers values
func (*DynamicClientRegistrationCreateOAuth2ClientDefault) Code ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientDefault) Code() int
Code gets the status code for the dynamic client registration create o auth2 client default response
func (*DynamicClientRegistrationCreateOAuth2ClientDefault) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientDefault) Error() string
func (*DynamicClientRegistrationCreateOAuth2ClientDefault) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientDefault) GetPayload() *models.JSONError
type DynamicClientRegistrationCreateOAuth2ClientParams ¶ added in v1.11.0
type DynamicClientRegistrationCreateOAuth2ClientParams struct { /*Body*/ Body *models.OAuth2Client Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DynamicClientRegistrationCreateOAuth2ClientParams contains all the parameters to send to the API endpoint for the dynamic client registration create o auth2 client operation typically these are written to a http.Request
func NewDynamicClientRegistrationCreateOAuth2ClientParams ¶ added in v1.11.0
func NewDynamicClientRegistrationCreateOAuth2ClientParams() *DynamicClientRegistrationCreateOAuth2ClientParams
NewDynamicClientRegistrationCreateOAuth2ClientParams creates a new DynamicClientRegistrationCreateOAuth2ClientParams object with the default values initialized.
func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithContext ¶ added in v1.11.0
func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationCreateOAuth2ClientParams
NewDynamicClientRegistrationCreateOAuth2ClientParamsWithContext creates a new DynamicClientRegistrationCreateOAuth2ClientParams object with the default values initialized, and the ability to set a context for a request
func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithHTTPClient ¶ added in v1.11.0
func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationCreateOAuth2ClientParams
NewDynamicClientRegistrationCreateOAuth2ClientParamsWithHTTPClient creates a new DynamicClientRegistrationCreateOAuth2ClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithTimeout ¶ added in v1.11.0
func NewDynamicClientRegistrationCreateOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationCreateOAuth2ClientParams
NewDynamicClientRegistrationCreateOAuth2ClientParamsWithTimeout creates a new DynamicClientRegistrationCreateOAuth2ClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*DynamicClientRegistrationCreateOAuth2ClientParams) SetBody ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetBody(body *models.OAuth2Client)
SetBody adds the body to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) SetContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetContext(ctx context.Context)
SetContext adds the context to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) SetHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) SetTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) WithBody ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithBody(body *models.OAuth2Client) *DynamicClientRegistrationCreateOAuth2ClientParams
WithBody adds the body to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) WithContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationCreateOAuth2ClientParams
WithContext adds the context to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) WithHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationCreateOAuth2ClientParams
WithHTTPClient adds the HTTPClient to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) WithTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationCreateOAuth2ClientParams
WithTimeout adds the timeout to the dynamic client registration create o auth2 client params
func (*DynamicClientRegistrationCreateOAuth2ClientParams) WriteToRequest ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DynamicClientRegistrationCreateOAuth2ClientReader ¶ added in v1.11.0
type DynamicClientRegistrationCreateOAuth2ClientReader struct {
// contains filtered or unexported fields
}
DynamicClientRegistrationCreateOAuth2ClientReader is a Reader for the DynamicClientRegistrationCreateOAuth2Client structure.
func (*DynamicClientRegistrationCreateOAuth2ClientReader) ReadResponse ¶ added in v1.11.0
func (o *DynamicClientRegistrationCreateOAuth2ClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DynamicClientRegistrationDeleteOAuth2ClientDefault ¶ added in v1.11.0
type DynamicClientRegistrationDeleteOAuth2ClientDefault struct { Payload *models.JSONError // contains filtered or unexported fields }
DynamicClientRegistrationDeleteOAuth2ClientDefault handles this case with default header values.
jsonError
func NewDynamicClientRegistrationDeleteOAuth2ClientDefault ¶ added in v1.11.0
func NewDynamicClientRegistrationDeleteOAuth2ClientDefault(code int) *DynamicClientRegistrationDeleteOAuth2ClientDefault
NewDynamicClientRegistrationDeleteOAuth2ClientDefault creates a DynamicClientRegistrationDeleteOAuth2ClientDefault with default headers values
func (*DynamicClientRegistrationDeleteOAuth2ClientDefault) Code ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientDefault) Code() int
Code gets the status code for the dynamic client registration delete o auth2 client default response
func (*DynamicClientRegistrationDeleteOAuth2ClientDefault) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientDefault) Error() string
func (*DynamicClientRegistrationDeleteOAuth2ClientDefault) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientDefault) GetPayload() *models.JSONError
type DynamicClientRegistrationDeleteOAuth2ClientNoContent ¶ added in v1.11.0
type DynamicClientRegistrationDeleteOAuth2ClientNoContent struct { }
DynamicClientRegistrationDeleteOAuth2ClientNoContent handles this case with default header values.
Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.
func NewDynamicClientRegistrationDeleteOAuth2ClientNoContent ¶ added in v1.11.0
func NewDynamicClientRegistrationDeleteOAuth2ClientNoContent() *DynamicClientRegistrationDeleteOAuth2ClientNoContent
NewDynamicClientRegistrationDeleteOAuth2ClientNoContent creates a DynamicClientRegistrationDeleteOAuth2ClientNoContent with default headers values
func (*DynamicClientRegistrationDeleteOAuth2ClientNoContent) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientNoContent) Error() string
type DynamicClientRegistrationDeleteOAuth2ClientParams ¶ added in v1.11.0
type DynamicClientRegistrationDeleteOAuth2ClientParams struct { /*ID The id of the OAuth 2.0 Client. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DynamicClientRegistrationDeleteOAuth2ClientParams contains all the parameters to send to the API endpoint for the dynamic client registration delete o auth2 client operation typically these are written to a http.Request
func NewDynamicClientRegistrationDeleteOAuth2ClientParams ¶ added in v1.11.0
func NewDynamicClientRegistrationDeleteOAuth2ClientParams() *DynamicClientRegistrationDeleteOAuth2ClientParams
NewDynamicClientRegistrationDeleteOAuth2ClientParams creates a new DynamicClientRegistrationDeleteOAuth2ClientParams object with the default values initialized.
func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithContext ¶ added in v1.11.0
func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationDeleteOAuth2ClientParams
NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithContext creates a new DynamicClientRegistrationDeleteOAuth2ClientParams object with the default values initialized, and the ability to set a context for a request
func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithHTTPClient ¶ added in v1.11.0
func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationDeleteOAuth2ClientParams
NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithHTTPClient creates a new DynamicClientRegistrationDeleteOAuth2ClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithTimeout ¶ added in v1.11.0
func NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationDeleteOAuth2ClientParams
NewDynamicClientRegistrationDeleteOAuth2ClientParamsWithTimeout creates a new DynamicClientRegistrationDeleteOAuth2ClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) SetContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetContext(ctx context.Context)
SetContext adds the context to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) SetHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) SetID ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetID(id string)
SetID adds the id to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) SetTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) WithContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationDeleteOAuth2ClientParams
WithContext adds the context to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) WithHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationDeleteOAuth2ClientParams
WithHTTPClient adds the HTTPClient to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) WithID ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithID(id string) *DynamicClientRegistrationDeleteOAuth2ClientParams
WithID adds the id to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) WithTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationDeleteOAuth2ClientParams
WithTimeout adds the timeout to the dynamic client registration delete o auth2 client params
func (*DynamicClientRegistrationDeleteOAuth2ClientParams) WriteToRequest ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DynamicClientRegistrationDeleteOAuth2ClientReader ¶ added in v1.11.0
type DynamicClientRegistrationDeleteOAuth2ClientReader struct {
// contains filtered or unexported fields
}
DynamicClientRegistrationDeleteOAuth2ClientReader is a Reader for the DynamicClientRegistrationDeleteOAuth2Client structure.
func (*DynamicClientRegistrationDeleteOAuth2ClientReader) ReadResponse ¶ added in v1.11.0
func (o *DynamicClientRegistrationDeleteOAuth2ClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DynamicClientRegistrationGetOAuth2ClientDefault ¶ added in v1.11.0
type DynamicClientRegistrationGetOAuth2ClientDefault struct { Payload *models.JSONError // contains filtered or unexported fields }
DynamicClientRegistrationGetOAuth2ClientDefault handles this case with default header values.
jsonError
func NewDynamicClientRegistrationGetOAuth2ClientDefault ¶ added in v1.11.0
func NewDynamicClientRegistrationGetOAuth2ClientDefault(code int) *DynamicClientRegistrationGetOAuth2ClientDefault
NewDynamicClientRegistrationGetOAuth2ClientDefault creates a DynamicClientRegistrationGetOAuth2ClientDefault with default headers values
func (*DynamicClientRegistrationGetOAuth2ClientDefault) Code ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientDefault) Code() int
Code gets the status code for the dynamic client registration get o auth2 client default response
func (*DynamicClientRegistrationGetOAuth2ClientDefault) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientDefault) Error() string
func (*DynamicClientRegistrationGetOAuth2ClientDefault) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientDefault) GetPayload() *models.JSONError
type DynamicClientRegistrationGetOAuth2ClientOK ¶ added in v1.11.0
type DynamicClientRegistrationGetOAuth2ClientOK struct {
Payload *models.OAuth2Client
}
DynamicClientRegistrationGetOAuth2ClientOK handles this case with default header values.
oAuth2Client
func NewDynamicClientRegistrationGetOAuth2ClientOK ¶ added in v1.11.0
func NewDynamicClientRegistrationGetOAuth2ClientOK() *DynamicClientRegistrationGetOAuth2ClientOK
NewDynamicClientRegistrationGetOAuth2ClientOK creates a DynamicClientRegistrationGetOAuth2ClientOK with default headers values
func (*DynamicClientRegistrationGetOAuth2ClientOK) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientOK) Error() string
func (*DynamicClientRegistrationGetOAuth2ClientOK) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientOK) GetPayload() *models.OAuth2Client
type DynamicClientRegistrationGetOAuth2ClientParams ¶ added in v1.11.0
type DynamicClientRegistrationGetOAuth2ClientParams struct { /*ID The id of the OAuth 2.0 Client. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DynamicClientRegistrationGetOAuth2ClientParams contains all the parameters to send to the API endpoint for the dynamic client registration get o auth2 client operation typically these are written to a http.Request
func NewDynamicClientRegistrationGetOAuth2ClientParams ¶ added in v1.11.0
func NewDynamicClientRegistrationGetOAuth2ClientParams() *DynamicClientRegistrationGetOAuth2ClientParams
NewDynamicClientRegistrationGetOAuth2ClientParams creates a new DynamicClientRegistrationGetOAuth2ClientParams object with the default values initialized.
func NewDynamicClientRegistrationGetOAuth2ClientParamsWithContext ¶ added in v1.11.0
func NewDynamicClientRegistrationGetOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationGetOAuth2ClientParams
NewDynamicClientRegistrationGetOAuth2ClientParamsWithContext creates a new DynamicClientRegistrationGetOAuth2ClientParams object with the default values initialized, and the ability to set a context for a request
func NewDynamicClientRegistrationGetOAuth2ClientParamsWithHTTPClient ¶ added in v1.11.0
func NewDynamicClientRegistrationGetOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationGetOAuth2ClientParams
NewDynamicClientRegistrationGetOAuth2ClientParamsWithHTTPClient creates a new DynamicClientRegistrationGetOAuth2ClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDynamicClientRegistrationGetOAuth2ClientParamsWithTimeout ¶ added in v1.11.0
func NewDynamicClientRegistrationGetOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationGetOAuth2ClientParams
NewDynamicClientRegistrationGetOAuth2ClientParamsWithTimeout creates a new DynamicClientRegistrationGetOAuth2ClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*DynamicClientRegistrationGetOAuth2ClientParams) SetContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetContext(ctx context.Context)
SetContext adds the context to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) SetHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) SetID ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetID(id string)
SetID adds the id to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) SetTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) WithContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationGetOAuth2ClientParams
WithContext adds the context to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) WithHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationGetOAuth2ClientParams
WithHTTPClient adds the HTTPClient to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) WithID ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithID(id string) *DynamicClientRegistrationGetOAuth2ClientParams
WithID adds the id to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) WithTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationGetOAuth2ClientParams
WithTimeout adds the timeout to the dynamic client registration get o auth2 client params
func (*DynamicClientRegistrationGetOAuth2ClientParams) WriteToRequest ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DynamicClientRegistrationGetOAuth2ClientReader ¶ added in v1.11.0
type DynamicClientRegistrationGetOAuth2ClientReader struct {
// contains filtered or unexported fields
}
DynamicClientRegistrationGetOAuth2ClientReader is a Reader for the DynamicClientRegistrationGetOAuth2Client structure.
func (*DynamicClientRegistrationGetOAuth2ClientReader) ReadResponse ¶ added in v1.11.0
func (o *DynamicClientRegistrationGetOAuth2ClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DynamicClientRegistrationUpdateOAuth2ClientDefault ¶ added in v1.11.0
type DynamicClientRegistrationUpdateOAuth2ClientDefault struct { Payload *models.JSONError // contains filtered or unexported fields }
DynamicClientRegistrationUpdateOAuth2ClientDefault handles this case with default header values.
jsonError
func NewDynamicClientRegistrationUpdateOAuth2ClientDefault ¶ added in v1.11.0
func NewDynamicClientRegistrationUpdateOAuth2ClientDefault(code int) *DynamicClientRegistrationUpdateOAuth2ClientDefault
NewDynamicClientRegistrationUpdateOAuth2ClientDefault creates a DynamicClientRegistrationUpdateOAuth2ClientDefault with default headers values
func (*DynamicClientRegistrationUpdateOAuth2ClientDefault) Code ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientDefault) Code() int
Code gets the status code for the dynamic client registration update o auth2 client default response
func (*DynamicClientRegistrationUpdateOAuth2ClientDefault) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientDefault) Error() string
func (*DynamicClientRegistrationUpdateOAuth2ClientDefault) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientDefault) GetPayload() *models.JSONError
type DynamicClientRegistrationUpdateOAuth2ClientOK ¶ added in v1.11.0
type DynamicClientRegistrationUpdateOAuth2ClientOK struct {
Payload *models.OAuth2Client
}
DynamicClientRegistrationUpdateOAuth2ClientOK handles this case with default header values.
oAuth2Client
func NewDynamicClientRegistrationUpdateOAuth2ClientOK ¶ added in v1.11.0
func NewDynamicClientRegistrationUpdateOAuth2ClientOK() *DynamicClientRegistrationUpdateOAuth2ClientOK
NewDynamicClientRegistrationUpdateOAuth2ClientOK creates a DynamicClientRegistrationUpdateOAuth2ClientOK with default headers values
func (*DynamicClientRegistrationUpdateOAuth2ClientOK) Error ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientOK) Error() string
func (*DynamicClientRegistrationUpdateOAuth2ClientOK) GetPayload ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientOK) GetPayload() *models.OAuth2Client
type DynamicClientRegistrationUpdateOAuth2ClientParams ¶ added in v1.11.0
type DynamicClientRegistrationUpdateOAuth2ClientParams struct { /*Body*/ Body *models.OAuth2Client /*ID The id of the OAuth 2.0 Client. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DynamicClientRegistrationUpdateOAuth2ClientParams contains all the parameters to send to the API endpoint for the dynamic client registration update o auth2 client operation typically these are written to a http.Request
func NewDynamicClientRegistrationUpdateOAuth2ClientParams ¶ added in v1.11.0
func NewDynamicClientRegistrationUpdateOAuth2ClientParams() *DynamicClientRegistrationUpdateOAuth2ClientParams
NewDynamicClientRegistrationUpdateOAuth2ClientParams creates a new DynamicClientRegistrationUpdateOAuth2ClientParams object with the default values initialized.
func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithContext ¶ added in v1.11.0
func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithContext(ctx context.Context) *DynamicClientRegistrationUpdateOAuth2ClientParams
NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithContext creates a new DynamicClientRegistrationUpdateOAuth2ClientParams object with the default values initialized, and the ability to set a context for a request
func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithHTTPClient ¶ added in v1.11.0
func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithHTTPClient(client *http.Client) *DynamicClientRegistrationUpdateOAuth2ClientParams
NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithHTTPClient creates a new DynamicClientRegistrationUpdateOAuth2ClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithTimeout ¶ added in v1.11.0
func NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithTimeout(timeout time.Duration) *DynamicClientRegistrationUpdateOAuth2ClientParams
NewDynamicClientRegistrationUpdateOAuth2ClientParamsWithTimeout creates a new DynamicClientRegistrationUpdateOAuth2ClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) SetBody ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetBody(body *models.OAuth2Client)
SetBody adds the body to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) SetContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetContext(ctx context.Context)
SetContext adds the context to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) SetHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) SetID ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetID(id string)
SetID adds the id to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) SetTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) WithBody ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithBody(body *models.OAuth2Client) *DynamicClientRegistrationUpdateOAuth2ClientParams
WithBody adds the body to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) WithContext ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithContext(ctx context.Context) *DynamicClientRegistrationUpdateOAuth2ClientParams
WithContext adds the context to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) WithHTTPClient ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithHTTPClient(client *http.Client) *DynamicClientRegistrationUpdateOAuth2ClientParams
WithHTTPClient adds the HTTPClient to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) WithID ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithID(id string) *DynamicClientRegistrationUpdateOAuth2ClientParams
WithID adds the id to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) WithTimeout ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WithTimeout(timeout time.Duration) *DynamicClientRegistrationUpdateOAuth2ClientParams
WithTimeout adds the timeout to the dynamic client registration update o auth2 client params
func (*DynamicClientRegistrationUpdateOAuth2ClientParams) WriteToRequest ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DynamicClientRegistrationUpdateOAuth2ClientReader ¶ added in v1.11.0
type DynamicClientRegistrationUpdateOAuth2ClientReader struct {
// contains filtered or unexported fields
}
DynamicClientRegistrationUpdateOAuth2ClientReader is a Reader for the DynamicClientRegistrationUpdateOAuth2Client structure.
func (*DynamicClientRegistrationUpdateOAuth2ClientReader) ReadResponse ¶ added in v1.11.0
func (o *DynamicClientRegistrationUpdateOAuth2ClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IsInstanceReadyOK ¶
type IsInstanceReadyOK struct {
Payload *models.HealthStatus
}
IsInstanceReadyOK handles this case with default header values.
healthStatus
func NewIsInstanceReadyOK ¶
func NewIsInstanceReadyOK() *IsInstanceReadyOK
NewIsInstanceReadyOK creates a IsInstanceReadyOK with default headers values
func (*IsInstanceReadyOK) Error ¶
func (o *IsInstanceReadyOK) Error() string
func (*IsInstanceReadyOK) GetPayload ¶
func (o *IsInstanceReadyOK) GetPayload() *models.HealthStatus
type IsInstanceReadyParams ¶
type IsInstanceReadyParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IsInstanceReadyParams contains all the parameters to send to the API endpoint for the is instance ready operation typically these are written to a http.Request
func NewIsInstanceReadyParams ¶
func NewIsInstanceReadyParams() *IsInstanceReadyParams
NewIsInstanceReadyParams creates a new IsInstanceReadyParams object with the default values initialized.
func NewIsInstanceReadyParamsWithContext ¶
func NewIsInstanceReadyParamsWithContext(ctx context.Context) *IsInstanceReadyParams
NewIsInstanceReadyParamsWithContext creates a new IsInstanceReadyParams object with the default values initialized, and the ability to set a context for a request
func NewIsInstanceReadyParamsWithHTTPClient ¶
func NewIsInstanceReadyParamsWithHTTPClient(client *http.Client) *IsInstanceReadyParams
NewIsInstanceReadyParamsWithHTTPClient creates a new IsInstanceReadyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewIsInstanceReadyParamsWithTimeout ¶
func NewIsInstanceReadyParamsWithTimeout(timeout time.Duration) *IsInstanceReadyParams
NewIsInstanceReadyParamsWithTimeout creates a new IsInstanceReadyParams object with the default values initialized, and the ability to set a timeout on a request
func (*IsInstanceReadyParams) SetContext ¶
func (o *IsInstanceReadyParams) SetContext(ctx context.Context)
SetContext adds the context to the is instance ready params
func (*IsInstanceReadyParams) SetHTTPClient ¶
func (o *IsInstanceReadyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the is instance ready params
func (*IsInstanceReadyParams) SetTimeout ¶
func (o *IsInstanceReadyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the is instance ready params
func (*IsInstanceReadyParams) WithContext ¶
func (o *IsInstanceReadyParams) WithContext(ctx context.Context) *IsInstanceReadyParams
WithContext adds the context to the is instance ready params
func (*IsInstanceReadyParams) WithHTTPClient ¶
func (o *IsInstanceReadyParams) WithHTTPClient(client *http.Client) *IsInstanceReadyParams
WithHTTPClient adds the HTTPClient to the is instance ready params
func (*IsInstanceReadyParams) WithTimeout ¶
func (o *IsInstanceReadyParams) WithTimeout(timeout time.Duration) *IsInstanceReadyParams
WithTimeout adds the timeout to the is instance ready params
func (*IsInstanceReadyParams) WriteToRequest ¶
func (o *IsInstanceReadyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IsInstanceReadyReader ¶
type IsInstanceReadyReader struct {
// contains filtered or unexported fields
}
IsInstanceReadyReader is a Reader for the IsInstanceReady structure.
func (*IsInstanceReadyReader) ReadResponse ¶
func (o *IsInstanceReadyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IsInstanceReadyServiceUnavailable ¶
type IsInstanceReadyServiceUnavailable struct {
}IsInstanceReadyServiceUnavailable handles this case with default header values.
healthNotReadyStatus
func NewIsInstanceReadyServiceUnavailable ¶
func NewIsInstanceReadyServiceUnavailable() *IsInstanceReadyServiceUnavailable
NewIsInstanceReadyServiceUnavailable creates a IsInstanceReadyServiceUnavailable with default headers values
func (*IsInstanceReadyServiceUnavailable) Error ¶
func (o *IsInstanceReadyServiceUnavailable) Error() string
func (*IsInstanceReadyServiceUnavailable) GetPayload ¶
func (o *IsInstanceReadyServiceUnavailable) GetPayload() *models.HealthNotReadyStatus
type Oauth2TokenBadRequest ¶ added in v1.9.0
Oauth2TokenBadRequest handles this case with default header values.
jsonError
func NewOauth2TokenBadRequest ¶ added in v1.9.0
func NewOauth2TokenBadRequest() *Oauth2TokenBadRequest
NewOauth2TokenBadRequest creates a Oauth2TokenBadRequest with default headers values
func (*Oauth2TokenBadRequest) Error ¶ added in v1.9.0
func (o *Oauth2TokenBadRequest) Error() string
func (*Oauth2TokenBadRequest) GetPayload ¶ added in v1.9.0
func (o *Oauth2TokenBadRequest) GetPayload() *models.JSONError
type Oauth2TokenInternalServerError ¶
Oauth2TokenInternalServerError handles this case with default header values.
jsonError
func NewOauth2TokenInternalServerError ¶
func NewOauth2TokenInternalServerError() *Oauth2TokenInternalServerError
NewOauth2TokenInternalServerError creates a Oauth2TokenInternalServerError with default headers values
func (*Oauth2TokenInternalServerError) Error ¶
func (o *Oauth2TokenInternalServerError) Error() string
func (*Oauth2TokenInternalServerError) GetPayload ¶
func (o *Oauth2TokenInternalServerError) GetPayload() *models.JSONError
type Oauth2TokenOK ¶
type Oauth2TokenOK struct {
Payload *models.Oauth2TokenResponse
}
Oauth2TokenOK handles this case with default header values.
oauth2TokenResponse
func NewOauth2TokenOK ¶
func NewOauth2TokenOK() *Oauth2TokenOK
NewOauth2TokenOK creates a Oauth2TokenOK with default headers values
func (*Oauth2TokenOK) Error ¶
func (o *Oauth2TokenOK) Error() string
func (*Oauth2TokenOK) GetPayload ¶
func (o *Oauth2TokenOK) GetPayload() *models.Oauth2TokenResponse
type Oauth2TokenParams ¶
type Oauth2TokenParams struct { /*ClientID*/ ClientID *string /*Code*/ Code *string /*GrantType*/ GrantType string /*RedirectURI*/ RedirectURI *string /*RefreshToken*/ RefreshToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
Oauth2TokenParams contains all the parameters to send to the API endpoint for the oauth2 token operation typically these are written to a http.Request
func NewOauth2TokenParams ¶
func NewOauth2TokenParams() *Oauth2TokenParams
NewOauth2TokenParams creates a new Oauth2TokenParams object with the default values initialized.
func NewOauth2TokenParamsWithContext ¶
func NewOauth2TokenParamsWithContext(ctx context.Context) *Oauth2TokenParams
NewOauth2TokenParamsWithContext creates a new Oauth2TokenParams object with the default values initialized, and the ability to set a context for a request
func NewOauth2TokenParamsWithHTTPClient ¶
func NewOauth2TokenParamsWithHTTPClient(client *http.Client) *Oauth2TokenParams
NewOauth2TokenParamsWithHTTPClient creates a new Oauth2TokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOauth2TokenParamsWithTimeout ¶
func NewOauth2TokenParamsWithTimeout(timeout time.Duration) *Oauth2TokenParams
NewOauth2TokenParamsWithTimeout creates a new Oauth2TokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*Oauth2TokenParams) SetClientID ¶
func (o *Oauth2TokenParams) SetClientID(clientID *string)
SetClientID adds the clientId to the oauth2 token params
func (*Oauth2TokenParams) SetCode ¶
func (o *Oauth2TokenParams) SetCode(code *string)
SetCode adds the code to the oauth2 token params
func (*Oauth2TokenParams) SetContext ¶
func (o *Oauth2TokenParams) SetContext(ctx context.Context)
SetContext adds the context to the oauth2 token params
func (*Oauth2TokenParams) SetGrantType ¶
func (o *Oauth2TokenParams) SetGrantType(grantType string)
SetGrantType adds the grantType to the oauth2 token params
func (*Oauth2TokenParams) SetHTTPClient ¶
func (o *Oauth2TokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the oauth2 token params
func (*Oauth2TokenParams) SetRedirectURI ¶
func (o *Oauth2TokenParams) SetRedirectURI(redirectURI *string)
SetRedirectURI adds the redirectUri to the oauth2 token params
func (*Oauth2TokenParams) SetRefreshToken ¶
func (o *Oauth2TokenParams) SetRefreshToken(refreshToken *string)
SetRefreshToken adds the refreshToken to the oauth2 token params
func (*Oauth2TokenParams) SetTimeout ¶
func (o *Oauth2TokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the oauth2 token params
func (*Oauth2TokenParams) WithClientID ¶
func (o *Oauth2TokenParams) WithClientID(clientID *string) *Oauth2TokenParams
WithClientID adds the clientID to the oauth2 token params
func (*Oauth2TokenParams) WithCode ¶
func (o *Oauth2TokenParams) WithCode(code *string) *Oauth2TokenParams
WithCode adds the code to the oauth2 token params
func (*Oauth2TokenParams) WithContext ¶
func (o *Oauth2TokenParams) WithContext(ctx context.Context) *Oauth2TokenParams
WithContext adds the context to the oauth2 token params
func (*Oauth2TokenParams) WithGrantType ¶
func (o *Oauth2TokenParams) WithGrantType(grantType string) *Oauth2TokenParams
WithGrantType adds the grantType to the oauth2 token params
func (*Oauth2TokenParams) WithHTTPClient ¶
func (o *Oauth2TokenParams) WithHTTPClient(client *http.Client) *Oauth2TokenParams
WithHTTPClient adds the HTTPClient to the oauth2 token params
func (*Oauth2TokenParams) WithRedirectURI ¶
func (o *Oauth2TokenParams) WithRedirectURI(redirectURI *string) *Oauth2TokenParams
WithRedirectURI adds the redirectURI to the oauth2 token params
func (*Oauth2TokenParams) WithRefreshToken ¶
func (o *Oauth2TokenParams) WithRefreshToken(refreshToken *string) *Oauth2TokenParams
WithRefreshToken adds the refreshToken to the oauth2 token params
func (*Oauth2TokenParams) WithTimeout ¶
func (o *Oauth2TokenParams) WithTimeout(timeout time.Duration) *Oauth2TokenParams
WithTimeout adds the timeout to the oauth2 token params
func (*Oauth2TokenParams) WriteToRequest ¶
func (o *Oauth2TokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type Oauth2TokenReader ¶
type Oauth2TokenReader struct {
// contains filtered or unexported fields
}
Oauth2TokenReader is a Reader for the Oauth2Token structure.
func (*Oauth2TokenReader) ReadResponse ¶
func (o *Oauth2TokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Oauth2TokenUnauthorized ¶
type Oauth2TokenUnauthorized struct {
}Oauth2TokenUnauthorized handles this case with default header values.
jsonError
func NewOauth2TokenUnauthorized ¶
func NewOauth2TokenUnauthorized() *Oauth2TokenUnauthorized
NewOauth2TokenUnauthorized creates a Oauth2TokenUnauthorized with default headers values
func (*Oauth2TokenUnauthorized) Error ¶
func (o *Oauth2TokenUnauthorized) Error() string
func (*Oauth2TokenUnauthorized) GetPayload ¶
func (o *Oauth2TokenUnauthorized) GetPayload() *models.JSONError
type OauthAuthFound ¶
type OauthAuthFound struct { }
OauthAuthFound handles this case with default header values.
Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.
func NewOauthAuthFound ¶
func NewOauthAuthFound() *OauthAuthFound
NewOauthAuthFound creates a OauthAuthFound with default headers values
func (*OauthAuthFound) Error ¶
func (o *OauthAuthFound) Error() string
type OauthAuthInternalServerError ¶
OauthAuthInternalServerError handles this case with default header values.
jsonError
func NewOauthAuthInternalServerError ¶
func NewOauthAuthInternalServerError() *OauthAuthInternalServerError
NewOauthAuthInternalServerError creates a OauthAuthInternalServerError with default headers values
func (*OauthAuthInternalServerError) Error ¶
func (o *OauthAuthInternalServerError) Error() string
func (*OauthAuthInternalServerError) GetPayload ¶
func (o *OauthAuthInternalServerError) GetPayload() *models.JSONError
type OauthAuthParams ¶
type OauthAuthParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OauthAuthParams contains all the parameters to send to the API endpoint for the oauth auth operation typically these are written to a http.Request
func NewOauthAuthParams ¶
func NewOauthAuthParams() *OauthAuthParams
NewOauthAuthParams creates a new OauthAuthParams object with the default values initialized.
func NewOauthAuthParamsWithContext ¶
func NewOauthAuthParamsWithContext(ctx context.Context) *OauthAuthParams
NewOauthAuthParamsWithContext creates a new OauthAuthParams object with the default values initialized, and the ability to set a context for a request
func NewOauthAuthParamsWithHTTPClient ¶
func NewOauthAuthParamsWithHTTPClient(client *http.Client) *OauthAuthParams
NewOauthAuthParamsWithHTTPClient creates a new OauthAuthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOauthAuthParamsWithTimeout ¶
func NewOauthAuthParamsWithTimeout(timeout time.Duration) *OauthAuthParams
NewOauthAuthParamsWithTimeout creates a new OauthAuthParams object with the default values initialized, and the ability to set a timeout on a request
func (*OauthAuthParams) SetContext ¶
func (o *OauthAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the oauth auth params
func (*OauthAuthParams) SetHTTPClient ¶
func (o *OauthAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the oauth auth params
func (*OauthAuthParams) SetTimeout ¶
func (o *OauthAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the oauth auth params
func (*OauthAuthParams) WithContext ¶
func (o *OauthAuthParams) WithContext(ctx context.Context) *OauthAuthParams
WithContext adds the context to the oauth auth params
func (*OauthAuthParams) WithHTTPClient ¶
func (o *OauthAuthParams) WithHTTPClient(client *http.Client) *OauthAuthParams
WithHTTPClient adds the HTTPClient to the oauth auth params
func (*OauthAuthParams) WithTimeout ¶
func (o *OauthAuthParams) WithTimeout(timeout time.Duration) *OauthAuthParams
WithTimeout adds the timeout to the oauth auth params
func (*OauthAuthParams) WriteToRequest ¶
func (o *OauthAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OauthAuthReader ¶
type OauthAuthReader struct {
// contains filtered or unexported fields
}
OauthAuthReader is a Reader for the OauthAuth structure.
func (*OauthAuthReader) ReadResponse ¶
func (o *OauthAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OauthAuthUnauthorized ¶
type OauthAuthUnauthorized struct {
}OauthAuthUnauthorized handles this case with default header values.
jsonError
func NewOauthAuthUnauthorized ¶
func NewOauthAuthUnauthorized() *OauthAuthUnauthorized
NewOauthAuthUnauthorized creates a OauthAuthUnauthorized with default headers values
func (*OauthAuthUnauthorized) Error ¶
func (o *OauthAuthUnauthorized) Error() string
func (*OauthAuthUnauthorized) GetPayload ¶
func (o *OauthAuthUnauthorized) GetPayload() *models.JSONError
type RevokeOAuth2TokenInternalServerError ¶
RevokeOAuth2TokenInternalServerError handles this case with default header values.
jsonError
func NewRevokeOAuth2TokenInternalServerError ¶
func NewRevokeOAuth2TokenInternalServerError() *RevokeOAuth2TokenInternalServerError
NewRevokeOAuth2TokenInternalServerError creates a RevokeOAuth2TokenInternalServerError with default headers values
func (*RevokeOAuth2TokenInternalServerError) Error ¶
func (o *RevokeOAuth2TokenInternalServerError) Error() string
func (*RevokeOAuth2TokenInternalServerError) GetPayload ¶
func (o *RevokeOAuth2TokenInternalServerError) GetPayload() *models.JSONError
type RevokeOAuth2TokenOK ¶
type RevokeOAuth2TokenOK struct { }
RevokeOAuth2TokenOK handles this case with default header values.
Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.
func NewRevokeOAuth2TokenOK ¶
func NewRevokeOAuth2TokenOK() *RevokeOAuth2TokenOK
NewRevokeOAuth2TokenOK creates a RevokeOAuth2TokenOK with default headers values
func (*RevokeOAuth2TokenOK) Error ¶
func (o *RevokeOAuth2TokenOK) Error() string
type RevokeOAuth2TokenParams ¶
type RevokeOAuth2TokenParams struct { /*Token*/ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeOAuth2TokenParams contains all the parameters to send to the API endpoint for the revoke o auth2 token operation typically these are written to a http.Request
func NewRevokeOAuth2TokenParams ¶
func NewRevokeOAuth2TokenParams() *RevokeOAuth2TokenParams
NewRevokeOAuth2TokenParams creates a new RevokeOAuth2TokenParams object with the default values initialized.
func NewRevokeOAuth2TokenParamsWithContext ¶
func NewRevokeOAuth2TokenParamsWithContext(ctx context.Context) *RevokeOAuth2TokenParams
NewRevokeOAuth2TokenParamsWithContext creates a new RevokeOAuth2TokenParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeOAuth2TokenParamsWithHTTPClient ¶
func NewRevokeOAuth2TokenParamsWithHTTPClient(client *http.Client) *RevokeOAuth2TokenParams
NewRevokeOAuth2TokenParamsWithHTTPClient creates a new RevokeOAuth2TokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeOAuth2TokenParamsWithTimeout ¶
func NewRevokeOAuth2TokenParamsWithTimeout(timeout time.Duration) *RevokeOAuth2TokenParams
NewRevokeOAuth2TokenParamsWithTimeout creates a new RevokeOAuth2TokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeOAuth2TokenParams) SetContext ¶
func (o *RevokeOAuth2TokenParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) SetHTTPClient ¶
func (o *RevokeOAuth2TokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) SetTimeout ¶
func (o *RevokeOAuth2TokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) SetToken ¶
func (o *RevokeOAuth2TokenParams) SetToken(token string)
SetToken adds the token to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) WithContext ¶
func (o *RevokeOAuth2TokenParams) WithContext(ctx context.Context) *RevokeOAuth2TokenParams
WithContext adds the context to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) WithHTTPClient ¶
func (o *RevokeOAuth2TokenParams) WithHTTPClient(client *http.Client) *RevokeOAuth2TokenParams
WithHTTPClient adds the HTTPClient to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) WithTimeout ¶
func (o *RevokeOAuth2TokenParams) WithTimeout(timeout time.Duration) *RevokeOAuth2TokenParams
WithTimeout adds the timeout to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) WithToken ¶
func (o *RevokeOAuth2TokenParams) WithToken(token string) *RevokeOAuth2TokenParams
WithToken adds the token to the revoke o auth2 token params
func (*RevokeOAuth2TokenParams) WriteToRequest ¶
func (o *RevokeOAuth2TokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeOAuth2TokenReader ¶
type RevokeOAuth2TokenReader struct {
// contains filtered or unexported fields
}
RevokeOAuth2TokenReader is a Reader for the RevokeOAuth2Token structure.
func (*RevokeOAuth2TokenReader) ReadResponse ¶
func (o *RevokeOAuth2TokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeOAuth2TokenUnauthorized ¶
type RevokeOAuth2TokenUnauthorized struct {
}RevokeOAuth2TokenUnauthorized handles this case with default header values.
jsonError
func NewRevokeOAuth2TokenUnauthorized ¶
func NewRevokeOAuth2TokenUnauthorized() *RevokeOAuth2TokenUnauthorized
NewRevokeOAuth2TokenUnauthorized creates a RevokeOAuth2TokenUnauthorized with default headers values
func (*RevokeOAuth2TokenUnauthorized) Error ¶
func (o *RevokeOAuth2TokenUnauthorized) Error() string
func (*RevokeOAuth2TokenUnauthorized) GetPayload ¶
func (o *RevokeOAuth2TokenUnauthorized) GetPayload() *models.JSONError
type UserinfoInternalServerError ¶
UserinfoInternalServerError handles this case with default header values.
jsonError
func NewUserinfoInternalServerError ¶
func NewUserinfoInternalServerError() *UserinfoInternalServerError
NewUserinfoInternalServerError creates a UserinfoInternalServerError with default headers values
func (*UserinfoInternalServerError) Error ¶
func (o *UserinfoInternalServerError) Error() string
func (*UserinfoInternalServerError) GetPayload ¶
func (o *UserinfoInternalServerError) GetPayload() *models.JSONError
type UserinfoOK ¶
type UserinfoOK struct {
Payload *models.UserinfoResponse
}
UserinfoOK handles this case with default header values.
userinfoResponse
func NewUserinfoOK ¶
func NewUserinfoOK() *UserinfoOK
NewUserinfoOK creates a UserinfoOK with default headers values
func (*UserinfoOK) Error ¶
func (o *UserinfoOK) Error() string
func (*UserinfoOK) GetPayload ¶
func (o *UserinfoOK) GetPayload() *models.UserinfoResponse
type UserinfoParams ¶
type UserinfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserinfoParams contains all the parameters to send to the API endpoint for the userinfo operation typically these are written to a http.Request
func NewUserinfoParams ¶
func NewUserinfoParams() *UserinfoParams
NewUserinfoParams creates a new UserinfoParams object with the default values initialized.
func NewUserinfoParamsWithContext ¶
func NewUserinfoParamsWithContext(ctx context.Context) *UserinfoParams
NewUserinfoParamsWithContext creates a new UserinfoParams object with the default values initialized, and the ability to set a context for a request
func NewUserinfoParamsWithHTTPClient ¶
func NewUserinfoParamsWithHTTPClient(client *http.Client) *UserinfoParams
NewUserinfoParamsWithHTTPClient creates a new UserinfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserinfoParamsWithTimeout ¶
func NewUserinfoParamsWithTimeout(timeout time.Duration) *UserinfoParams
NewUserinfoParamsWithTimeout creates a new UserinfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserinfoParams) SetContext ¶
func (o *UserinfoParams) SetContext(ctx context.Context)
SetContext adds the context to the userinfo params
func (*UserinfoParams) SetHTTPClient ¶
func (o *UserinfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the userinfo params
func (*UserinfoParams) SetTimeout ¶
func (o *UserinfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the userinfo params
func (*UserinfoParams) WithContext ¶
func (o *UserinfoParams) WithContext(ctx context.Context) *UserinfoParams
WithContext adds the context to the userinfo params
func (*UserinfoParams) WithHTTPClient ¶
func (o *UserinfoParams) WithHTTPClient(client *http.Client) *UserinfoParams
WithHTTPClient adds the HTTPClient to the userinfo params
func (*UserinfoParams) WithTimeout ¶
func (o *UserinfoParams) WithTimeout(timeout time.Duration) *UserinfoParams
WithTimeout adds the timeout to the userinfo params
func (*UserinfoParams) WriteToRequest ¶
func (o *UserinfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserinfoReader ¶
type UserinfoReader struct {
// contains filtered or unexported fields
}
UserinfoReader is a Reader for the Userinfo structure.
func (*UserinfoReader) ReadResponse ¶
func (o *UserinfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserinfoUnauthorized ¶
type UserinfoUnauthorized struct {
}UserinfoUnauthorized handles this case with default header values.
jsonError
func NewUserinfoUnauthorized ¶
func NewUserinfoUnauthorized() *UserinfoUnauthorized
NewUserinfoUnauthorized creates a UserinfoUnauthorized with default headers values
func (*UserinfoUnauthorized) Error ¶
func (o *UserinfoUnauthorized) Error() string
func (*UserinfoUnauthorized) GetPayload ¶
func (o *UserinfoUnauthorized) GetPayload() *models.JSONError
type WellKnownInternalServerError ¶
WellKnownInternalServerError handles this case with default header values.
jsonError
func NewWellKnownInternalServerError ¶
func NewWellKnownInternalServerError() *WellKnownInternalServerError
NewWellKnownInternalServerError creates a WellKnownInternalServerError with default headers values
func (*WellKnownInternalServerError) Error ¶
func (o *WellKnownInternalServerError) Error() string
func (*WellKnownInternalServerError) GetPayload ¶
func (o *WellKnownInternalServerError) GetPayload() *models.JSONError
type WellKnownOK ¶
type WellKnownOK struct {
Payload *models.JSONWebKeySet
}
WellKnownOK handles this case with default header values.
JSONWebKeySet
func NewWellKnownOK ¶
func NewWellKnownOK() *WellKnownOK
NewWellKnownOK creates a WellKnownOK with default headers values
func (*WellKnownOK) Error ¶
func (o *WellKnownOK) Error() string
func (*WellKnownOK) GetPayload ¶
func (o *WellKnownOK) GetPayload() *models.JSONWebKeySet
type WellKnownParams ¶
type WellKnownParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WellKnownParams contains all the parameters to send to the API endpoint for the well known operation typically these are written to a http.Request
func NewWellKnownParams ¶
func NewWellKnownParams() *WellKnownParams
NewWellKnownParams creates a new WellKnownParams object with the default values initialized.
func NewWellKnownParamsWithContext ¶
func NewWellKnownParamsWithContext(ctx context.Context) *WellKnownParams
NewWellKnownParamsWithContext creates a new WellKnownParams object with the default values initialized, and the ability to set a context for a request
func NewWellKnownParamsWithHTTPClient ¶
func NewWellKnownParamsWithHTTPClient(client *http.Client) *WellKnownParams
NewWellKnownParamsWithHTTPClient creates a new WellKnownParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWellKnownParamsWithTimeout ¶
func NewWellKnownParamsWithTimeout(timeout time.Duration) *WellKnownParams
NewWellKnownParamsWithTimeout creates a new WellKnownParams object with the default values initialized, and the ability to set a timeout on a request
func (*WellKnownParams) SetContext ¶
func (o *WellKnownParams) SetContext(ctx context.Context)
SetContext adds the context to the well known params
func (*WellKnownParams) SetHTTPClient ¶
func (o *WellKnownParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the well known params
func (*WellKnownParams) SetTimeout ¶
func (o *WellKnownParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the well known params
func (*WellKnownParams) WithContext ¶
func (o *WellKnownParams) WithContext(ctx context.Context) *WellKnownParams
WithContext adds the context to the well known params
func (*WellKnownParams) WithHTTPClient ¶
func (o *WellKnownParams) WithHTTPClient(client *http.Client) *WellKnownParams
WithHTTPClient adds the HTTPClient to the well known params
func (*WellKnownParams) WithTimeout ¶
func (o *WellKnownParams) WithTimeout(timeout time.Duration) *WellKnownParams
WithTimeout adds the timeout to the well known params
func (*WellKnownParams) WriteToRequest ¶
func (o *WellKnownParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WellKnownReader ¶
type WellKnownReader struct {
// contains filtered or unexported fields
}
WellKnownReader is a Reader for the WellKnown structure.
func (*WellKnownReader) ReadResponse ¶
func (o *WellKnownReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- disconnect_user_parameters.go
- disconnect_user_responses.go
- discover_open_id_configuration_parameters.go
- discover_open_id_configuration_responses.go
- dynamic_client_registration_create_o_auth2_client_parameters.go
- dynamic_client_registration_create_o_auth2_client_responses.go
- dynamic_client_registration_delete_o_auth2_client_parameters.go
- dynamic_client_registration_delete_o_auth2_client_responses.go
- dynamic_client_registration_get_o_auth2_client_parameters.go
- dynamic_client_registration_get_o_auth2_client_responses.go
- dynamic_client_registration_update_o_auth2_client_parameters.go
- dynamic_client_registration_update_o_auth2_client_responses.go
- is_instance_ready_parameters.go
- is_instance_ready_responses.go
- oauth2_token_parameters.go
- oauth2_token_responses.go
- oauth_auth_parameters.go
- oauth_auth_responses.go
- public_client.go
- revoke_o_auth2_token_parameters.go
- revoke_o_auth2_token_responses.go
- userinfo_parameters.go
- userinfo_responses.go
- well_known_parameters.go
- well_known_responses.go