Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateOauth2Credential(params *CreateOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOauth2CredentialOK, error)
- func (a *Client) CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOauthProvidersOK, error)
- func (a *Client) DeleteOauth2Credential(params *DeleteOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOauth2CredentialOK, error)
- func (a *Client) DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOauthProvidersOK, error)
- func (a *Client) EmailAuth(params *EmailAuthParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EmailAuthOK, error)
- func (a *Client) GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOauthProvidersOK, error)
- func (a *Client) InitOtpAuth(params *InitOtpAuthParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InitOtpAuthOK, error)
- func (a *Client) ListOauth2Credentials(params *ListOauth2CredentialsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOauth2CredentialsOK, error)
- func (a *Client) Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OauthOK, error)
- func (a *Client) Oauth2Authenticate(params *Oauth2AuthenticateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*Oauth2AuthenticateOK, error)
- func (a *Client) OtpAuth(params *OtpAuthParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OtpAuthOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOauth2Credential(params *UpdateOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOauth2CredentialOK, error)
- type ClientOption
- type ClientService
- type CreateOauth2CredentialOK
- func (o *CreateOauth2CredentialOK) Code() int
- func (o *CreateOauth2CredentialOK) Error() string
- func (o *CreateOauth2CredentialOK) GetPayload() *models.ActivityResponse
- func (o *CreateOauth2CredentialOK) IsClientError() bool
- func (o *CreateOauth2CredentialOK) IsCode(code int) bool
- func (o *CreateOauth2CredentialOK) IsRedirect() bool
- func (o *CreateOauth2CredentialOK) IsServerError() bool
- func (o *CreateOauth2CredentialOK) IsSuccess() bool
- func (o *CreateOauth2CredentialOK) String() string
- type CreateOauth2CredentialParams
- func NewCreateOauth2CredentialParams() *CreateOauth2CredentialParams
- func NewCreateOauth2CredentialParamsWithContext(ctx context.Context) *CreateOauth2CredentialParams
- func NewCreateOauth2CredentialParamsWithHTTPClient(client *http.Client) *CreateOauth2CredentialParams
- func NewCreateOauth2CredentialParamsWithTimeout(timeout time.Duration) *CreateOauth2CredentialParams
- func (o *CreateOauth2CredentialParams) SetBody(body *models.CreateOauth2CredentialRequest)
- func (o *CreateOauth2CredentialParams) SetContext(ctx context.Context)
- func (o *CreateOauth2CredentialParams) SetDefaults()
- func (o *CreateOauth2CredentialParams) SetHTTPClient(client *http.Client)
- func (o *CreateOauth2CredentialParams) SetTimeout(timeout time.Duration)
- func (o *CreateOauth2CredentialParams) WithBody(body *models.CreateOauth2CredentialRequest) *CreateOauth2CredentialParams
- func (o *CreateOauth2CredentialParams) WithContext(ctx context.Context) *CreateOauth2CredentialParams
- func (o *CreateOauth2CredentialParams) WithDefaults() *CreateOauth2CredentialParams
- func (o *CreateOauth2CredentialParams) WithHTTPClient(client *http.Client) *CreateOauth2CredentialParams
- func (o *CreateOauth2CredentialParams) WithTimeout(timeout time.Duration) *CreateOauth2CredentialParams
- func (o *CreateOauth2CredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOauth2CredentialReader
- type CreateOauthProvidersOK
- func (o *CreateOauthProvidersOK) Code() int
- func (o *CreateOauthProvidersOK) Error() string
- func (o *CreateOauthProvidersOK) GetPayload() *models.ActivityResponse
- func (o *CreateOauthProvidersOK) IsClientError() bool
- func (o *CreateOauthProvidersOK) IsCode(code int) bool
- func (o *CreateOauthProvidersOK) IsRedirect() bool
- func (o *CreateOauthProvidersOK) IsServerError() bool
- func (o *CreateOauthProvidersOK) IsSuccess() bool
- func (o *CreateOauthProvidersOK) String() string
- type CreateOauthProvidersParams
- func NewCreateOauthProvidersParams() *CreateOauthProvidersParams
- func NewCreateOauthProvidersParamsWithContext(ctx context.Context) *CreateOauthProvidersParams
- func NewCreateOauthProvidersParamsWithHTTPClient(client *http.Client) *CreateOauthProvidersParams
- func NewCreateOauthProvidersParamsWithTimeout(timeout time.Duration) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) SetBody(body *models.CreateOauthProvidersRequest)
- func (o *CreateOauthProvidersParams) SetContext(ctx context.Context)
- func (o *CreateOauthProvidersParams) SetDefaults()
- func (o *CreateOauthProvidersParams) SetHTTPClient(client *http.Client)
- func (o *CreateOauthProvidersParams) SetTimeout(timeout time.Duration)
- func (o *CreateOauthProvidersParams) WithBody(body *models.CreateOauthProvidersRequest) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithContext(ctx context.Context) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithDefaults() *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithHTTPClient(client *http.Client) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithTimeout(timeout time.Duration) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOauthProvidersReader
- type DeleteOauth2CredentialOK
- func (o *DeleteOauth2CredentialOK) Code() int
- func (o *DeleteOauth2CredentialOK) Error() string
- func (o *DeleteOauth2CredentialOK) GetPayload() *models.ActivityResponse
- func (o *DeleteOauth2CredentialOK) IsClientError() bool
- func (o *DeleteOauth2CredentialOK) IsCode(code int) bool
- func (o *DeleteOauth2CredentialOK) IsRedirect() bool
- func (o *DeleteOauth2CredentialOK) IsServerError() bool
- func (o *DeleteOauth2CredentialOK) IsSuccess() bool
- func (o *DeleteOauth2CredentialOK) String() string
- type DeleteOauth2CredentialParams
- func NewDeleteOauth2CredentialParams() *DeleteOauth2CredentialParams
- func NewDeleteOauth2CredentialParamsWithContext(ctx context.Context) *DeleteOauth2CredentialParams
- func NewDeleteOauth2CredentialParamsWithHTTPClient(client *http.Client) *DeleteOauth2CredentialParams
- func NewDeleteOauth2CredentialParamsWithTimeout(timeout time.Duration) *DeleteOauth2CredentialParams
- func (o *DeleteOauth2CredentialParams) SetBody(body *models.DeleteOauth2CredentialRequest)
- func (o *DeleteOauth2CredentialParams) SetContext(ctx context.Context)
- func (o *DeleteOauth2CredentialParams) SetDefaults()
- func (o *DeleteOauth2CredentialParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOauth2CredentialParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOauth2CredentialParams) WithBody(body *models.DeleteOauth2CredentialRequest) *DeleteOauth2CredentialParams
- func (o *DeleteOauth2CredentialParams) WithContext(ctx context.Context) *DeleteOauth2CredentialParams
- func (o *DeleteOauth2CredentialParams) WithDefaults() *DeleteOauth2CredentialParams
- func (o *DeleteOauth2CredentialParams) WithHTTPClient(client *http.Client) *DeleteOauth2CredentialParams
- func (o *DeleteOauth2CredentialParams) WithTimeout(timeout time.Duration) *DeleteOauth2CredentialParams
- func (o *DeleteOauth2CredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOauth2CredentialReader
- type DeleteOauthProvidersOK
- func (o *DeleteOauthProvidersOK) Code() int
- func (o *DeleteOauthProvidersOK) Error() string
- func (o *DeleteOauthProvidersOK) GetPayload() *models.ActivityResponse
- func (o *DeleteOauthProvidersOK) IsClientError() bool
- func (o *DeleteOauthProvidersOK) IsCode(code int) bool
- func (o *DeleteOauthProvidersOK) IsRedirect() bool
- func (o *DeleteOauthProvidersOK) IsServerError() bool
- func (o *DeleteOauthProvidersOK) IsSuccess() bool
- func (o *DeleteOauthProvidersOK) String() string
- type DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParams() *DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParamsWithContext(ctx context.Context) *DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParamsWithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParamsWithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) SetBody(body *models.DeleteOauthProvidersRequest)
- func (o *DeleteOauthProvidersParams) SetContext(ctx context.Context)
- func (o *DeleteOauthProvidersParams) SetDefaults()
- func (o *DeleteOauthProvidersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOauthProvidersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOauthProvidersParams) WithBody(body *models.DeleteOauthProvidersRequest) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithContext(ctx context.Context) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithDefaults() *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOauthProvidersReader
- type EmailAuthOK
- func (o *EmailAuthOK) Code() int
- func (o *EmailAuthOK) Error() string
- func (o *EmailAuthOK) GetPayload() *models.ActivityResponse
- func (o *EmailAuthOK) IsClientError() bool
- func (o *EmailAuthOK) IsCode(code int) bool
- func (o *EmailAuthOK) IsRedirect() bool
- func (o *EmailAuthOK) IsServerError() bool
- func (o *EmailAuthOK) IsSuccess() bool
- func (o *EmailAuthOK) String() string
- type EmailAuthParams
- func (o *EmailAuthParams) SetBody(body *models.EmailAuthRequest)
- func (o *EmailAuthParams) SetContext(ctx context.Context)
- func (o *EmailAuthParams) SetDefaults()
- func (o *EmailAuthParams) SetHTTPClient(client *http.Client)
- func (o *EmailAuthParams) SetTimeout(timeout time.Duration)
- func (o *EmailAuthParams) WithBody(body *models.EmailAuthRequest) *EmailAuthParams
- func (o *EmailAuthParams) WithContext(ctx context.Context) *EmailAuthParams
- func (o *EmailAuthParams) WithDefaults() *EmailAuthParams
- func (o *EmailAuthParams) WithHTTPClient(client *http.Client) *EmailAuthParams
- func (o *EmailAuthParams) WithTimeout(timeout time.Duration) *EmailAuthParams
- func (o *EmailAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmailAuthReader
- type GetOauthProvidersOK
- func (o *GetOauthProvidersOK) Code() int
- func (o *GetOauthProvidersOK) Error() string
- func (o *GetOauthProvidersOK) GetPayload() *models.GetOauthProvidersResponse
- func (o *GetOauthProvidersOK) IsClientError() bool
- func (o *GetOauthProvidersOK) IsCode(code int) bool
- func (o *GetOauthProvidersOK) IsRedirect() bool
- func (o *GetOauthProvidersOK) IsServerError() bool
- func (o *GetOauthProvidersOK) IsSuccess() bool
- func (o *GetOauthProvidersOK) String() string
- type GetOauthProvidersParams
- func NewGetOauthProvidersParams() *GetOauthProvidersParams
- func NewGetOauthProvidersParamsWithContext(ctx context.Context) *GetOauthProvidersParams
- func NewGetOauthProvidersParamsWithHTTPClient(client *http.Client) *GetOauthProvidersParams
- func NewGetOauthProvidersParamsWithTimeout(timeout time.Duration) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) SetBody(body *models.GetOauthProvidersRequest)
- func (o *GetOauthProvidersParams) SetContext(ctx context.Context)
- func (o *GetOauthProvidersParams) SetDefaults()
- func (o *GetOauthProvidersParams) SetHTTPClient(client *http.Client)
- func (o *GetOauthProvidersParams) SetTimeout(timeout time.Duration)
- func (o *GetOauthProvidersParams) WithBody(body *models.GetOauthProvidersRequest) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithContext(ctx context.Context) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithDefaults() *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithHTTPClient(client *http.Client) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithTimeout(timeout time.Duration) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOauthProvidersReader
- type InitOtpAuthOK
- func (o *InitOtpAuthOK) Code() int
- func (o *InitOtpAuthOK) Error() string
- func (o *InitOtpAuthOK) GetPayload() *models.ActivityResponse
- func (o *InitOtpAuthOK) IsClientError() bool
- func (o *InitOtpAuthOK) IsCode(code int) bool
- func (o *InitOtpAuthOK) IsRedirect() bool
- func (o *InitOtpAuthOK) IsServerError() bool
- func (o *InitOtpAuthOK) IsSuccess() bool
- func (o *InitOtpAuthOK) String() string
- type InitOtpAuthParams
- func (o *InitOtpAuthParams) SetBody(body *models.InitOtpAuthRequest)
- func (o *InitOtpAuthParams) SetContext(ctx context.Context)
- func (o *InitOtpAuthParams) SetDefaults()
- func (o *InitOtpAuthParams) SetHTTPClient(client *http.Client)
- func (o *InitOtpAuthParams) SetTimeout(timeout time.Duration)
- func (o *InitOtpAuthParams) WithBody(body *models.InitOtpAuthRequest) *InitOtpAuthParams
- func (o *InitOtpAuthParams) WithContext(ctx context.Context) *InitOtpAuthParams
- func (o *InitOtpAuthParams) WithDefaults() *InitOtpAuthParams
- func (o *InitOtpAuthParams) WithHTTPClient(client *http.Client) *InitOtpAuthParams
- func (o *InitOtpAuthParams) WithTimeout(timeout time.Duration) *InitOtpAuthParams
- func (o *InitOtpAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InitOtpAuthReader
- type ListOauth2CredentialsOK
- func (o *ListOauth2CredentialsOK) Code() int
- func (o *ListOauth2CredentialsOK) Error() string
- func (o *ListOauth2CredentialsOK) GetPayload() *models.ListOauth2CredentialsResponse
- func (o *ListOauth2CredentialsOK) IsClientError() bool
- func (o *ListOauth2CredentialsOK) IsCode(code int) bool
- func (o *ListOauth2CredentialsOK) IsRedirect() bool
- func (o *ListOauth2CredentialsOK) IsServerError() bool
- func (o *ListOauth2CredentialsOK) IsSuccess() bool
- func (o *ListOauth2CredentialsOK) String() string
- type ListOauth2CredentialsParams
- func NewListOauth2CredentialsParams() *ListOauth2CredentialsParams
- func NewListOauth2CredentialsParamsWithContext(ctx context.Context) *ListOauth2CredentialsParams
- func NewListOauth2CredentialsParamsWithHTTPClient(client *http.Client) *ListOauth2CredentialsParams
- func NewListOauth2CredentialsParamsWithTimeout(timeout time.Duration) *ListOauth2CredentialsParams
- func (o *ListOauth2CredentialsParams) SetBody(body *models.ListOauth2CredentialsRequest)
- func (o *ListOauth2CredentialsParams) SetContext(ctx context.Context)
- func (o *ListOauth2CredentialsParams) SetDefaults()
- func (o *ListOauth2CredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListOauth2CredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListOauth2CredentialsParams) WithBody(body *models.ListOauth2CredentialsRequest) *ListOauth2CredentialsParams
- func (o *ListOauth2CredentialsParams) WithContext(ctx context.Context) *ListOauth2CredentialsParams
- func (o *ListOauth2CredentialsParams) WithDefaults() *ListOauth2CredentialsParams
- func (o *ListOauth2CredentialsParams) WithHTTPClient(client *http.Client) *ListOauth2CredentialsParams
- func (o *ListOauth2CredentialsParams) WithTimeout(timeout time.Duration) *ListOauth2CredentialsParams
- func (o *ListOauth2CredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOauth2CredentialsReader
- type Oauth2AuthenticateOK
- func (o *Oauth2AuthenticateOK) Code() int
- func (o *Oauth2AuthenticateOK) Error() string
- func (o *Oauth2AuthenticateOK) GetPayload() *models.ActivityResponse
- func (o *Oauth2AuthenticateOK) IsClientError() bool
- func (o *Oauth2AuthenticateOK) IsCode(code int) bool
- func (o *Oauth2AuthenticateOK) IsRedirect() bool
- func (o *Oauth2AuthenticateOK) IsServerError() bool
- func (o *Oauth2AuthenticateOK) IsSuccess() bool
- func (o *Oauth2AuthenticateOK) String() string
- type Oauth2AuthenticateParams
- func NewOauth2AuthenticateParams() *Oauth2AuthenticateParams
- func NewOauth2AuthenticateParamsWithContext(ctx context.Context) *Oauth2AuthenticateParams
- func NewOauth2AuthenticateParamsWithHTTPClient(client *http.Client) *Oauth2AuthenticateParams
- func NewOauth2AuthenticateParamsWithTimeout(timeout time.Duration) *Oauth2AuthenticateParams
- func (o *Oauth2AuthenticateParams) SetBody(body *models.Oauth2AuthenticateRequest)
- func (o *Oauth2AuthenticateParams) SetContext(ctx context.Context)
- func (o *Oauth2AuthenticateParams) SetDefaults()
- func (o *Oauth2AuthenticateParams) SetHTTPClient(client *http.Client)
- func (o *Oauth2AuthenticateParams) SetTimeout(timeout time.Duration)
- func (o *Oauth2AuthenticateParams) WithBody(body *models.Oauth2AuthenticateRequest) *Oauth2AuthenticateParams
- func (o *Oauth2AuthenticateParams) WithContext(ctx context.Context) *Oauth2AuthenticateParams
- func (o *Oauth2AuthenticateParams) WithDefaults() *Oauth2AuthenticateParams
- func (o *Oauth2AuthenticateParams) WithHTTPClient(client *http.Client) *Oauth2AuthenticateParams
- func (o *Oauth2AuthenticateParams) WithTimeout(timeout time.Duration) *Oauth2AuthenticateParams
- func (o *Oauth2AuthenticateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Oauth2AuthenticateReader
- type OauthOK
- func (o *OauthOK) Code() int
- func (o *OauthOK) Error() string
- func (o *OauthOK) GetPayload() *models.ActivityResponse
- func (o *OauthOK) IsClientError() bool
- func (o *OauthOK) IsCode(code int) bool
- func (o *OauthOK) IsRedirect() bool
- func (o *OauthOK) IsServerError() bool
- func (o *OauthOK) IsSuccess() bool
- func (o *OauthOK) String() string
- type OauthParams
- func (o *OauthParams) SetBody(body *models.OauthRequest)
- func (o *OauthParams) SetContext(ctx context.Context)
- func (o *OauthParams) SetDefaults()
- func (o *OauthParams) SetHTTPClient(client *http.Client)
- func (o *OauthParams) SetTimeout(timeout time.Duration)
- func (o *OauthParams) WithBody(body *models.OauthRequest) *OauthParams
- func (o *OauthParams) WithContext(ctx context.Context) *OauthParams
- func (o *OauthParams) WithDefaults() *OauthParams
- func (o *OauthParams) WithHTTPClient(client *http.Client) *OauthParams
- func (o *OauthParams) WithTimeout(timeout time.Duration) *OauthParams
- func (o *OauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OauthReader
- type OtpAuthOK
- func (o *OtpAuthOK) Code() int
- func (o *OtpAuthOK) Error() string
- func (o *OtpAuthOK) GetPayload() *models.ActivityResponse
- func (o *OtpAuthOK) IsClientError() bool
- func (o *OtpAuthOK) IsCode(code int) bool
- func (o *OtpAuthOK) IsRedirect() bool
- func (o *OtpAuthOK) IsServerError() bool
- func (o *OtpAuthOK) IsSuccess() bool
- func (o *OtpAuthOK) String() string
- type OtpAuthParams
- func (o *OtpAuthParams) SetBody(body *models.OtpAuthRequest)
- func (o *OtpAuthParams) SetContext(ctx context.Context)
- func (o *OtpAuthParams) SetDefaults()
- func (o *OtpAuthParams) SetHTTPClient(client *http.Client)
- func (o *OtpAuthParams) SetTimeout(timeout time.Duration)
- func (o *OtpAuthParams) WithBody(body *models.OtpAuthRequest) *OtpAuthParams
- func (o *OtpAuthParams) WithContext(ctx context.Context) *OtpAuthParams
- func (o *OtpAuthParams) WithDefaults() *OtpAuthParams
- func (o *OtpAuthParams) WithHTTPClient(client *http.Client) *OtpAuthParams
- func (o *OtpAuthParams) WithTimeout(timeout time.Duration) *OtpAuthParams
- func (o *OtpAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OtpAuthReader
- type UpdateOauth2CredentialOK
- func (o *UpdateOauth2CredentialOK) Code() int
- func (o *UpdateOauth2CredentialOK) Error() string
- func (o *UpdateOauth2CredentialOK) GetPayload() *models.ActivityResponse
- func (o *UpdateOauth2CredentialOK) IsClientError() bool
- func (o *UpdateOauth2CredentialOK) IsCode(code int) bool
- func (o *UpdateOauth2CredentialOK) IsRedirect() bool
- func (o *UpdateOauth2CredentialOK) IsServerError() bool
- func (o *UpdateOauth2CredentialOK) IsSuccess() bool
- func (o *UpdateOauth2CredentialOK) String() string
- type UpdateOauth2CredentialParams
- func NewUpdateOauth2CredentialParams() *UpdateOauth2CredentialParams
- func NewUpdateOauth2CredentialParamsWithContext(ctx context.Context) *UpdateOauth2CredentialParams
- func NewUpdateOauth2CredentialParamsWithHTTPClient(client *http.Client) *UpdateOauth2CredentialParams
- func NewUpdateOauth2CredentialParamsWithTimeout(timeout time.Duration) *UpdateOauth2CredentialParams
- func (o *UpdateOauth2CredentialParams) SetBody(body *models.UpdateOauth2CredentialRequest)
- func (o *UpdateOauth2CredentialParams) SetContext(ctx context.Context)
- func (o *UpdateOauth2CredentialParams) SetDefaults()
- func (o *UpdateOauth2CredentialParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOauth2CredentialParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOauth2CredentialParams) WithBody(body *models.UpdateOauth2CredentialRequest) *UpdateOauth2CredentialParams
- func (o *UpdateOauth2CredentialParams) WithContext(ctx context.Context) *UpdateOauth2CredentialParams
- func (o *UpdateOauth2CredentialParams) WithDefaults() *UpdateOauth2CredentialParams
- func (o *UpdateOauth2CredentialParams) WithHTTPClient(client *http.Client) *UpdateOauth2CredentialParams
- func (o *UpdateOauth2CredentialParams) WithTimeout(timeout time.Duration) *UpdateOauth2CredentialParams
- func (o *UpdateOauth2CredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOauth2CredentialReader
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 user auth API
func (*Client) CreateOauth2Credential ¶ added in v0.9.0
func (a *Client) CreateOauth2Credential(params *CreateOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauth2CredentialOK, error)
CreateOauth2Credential creates an o auth 2 0 credential
Enable authentication for end users with an OAuth 2.0 provider
func (*Client) CreateOauthProviders ¶
func (a *Client) CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauthProvidersOK, error)
CreateOauthProviders creates oauth providers
Create Oauth providers for a specified user.
func (*Client) DeleteOauth2Credential ¶ added in v0.9.0
func (a *Client) DeleteOauth2Credential(params *DeleteOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauth2CredentialOK, error)
DeleteOauth2Credential deletes an o auth 2 0 credential
Disable authentication for end users with an OAuth 2.0 provider
func (*Client) DeleteOauthProviders ¶
func (a *Client) DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauthProvidersOK, error)
DeleteOauthProviders deletes oauth providers
Remove Oauth providers for a specified user.
func (*Client) EmailAuth ¶
func (a *Client) EmailAuth(params *EmailAuthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmailAuthOK, error)
EmailAuth performs email auth
Authenticate a user via email.
func (*Client) GetOauthProviders ¶
func (a *Client) GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauthProvidersOK, error)
GetOauthProviders gets oauth providers
Get details about Oauth providers for a user.
func (*Client) InitOtpAuth ¶
func (a *Client) InitOtpAuth(params *InitOtpAuthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitOtpAuthOK, error)
InitOtpAuth inits o t p auth
Initiate an OTP auth activity.
func (*Client) ListOauth2Credentials ¶ added in v0.9.0
func (a *Client) ListOauth2Credentials(params *ListOauth2CredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOauth2CredentialsOK, error)
ListOauth2Credentials lists o auth 2 0 credentials
List all OAuth 2.0 credentials within an organization.
func (*Client) Oauth ¶
func (a *Client) Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthOK, error)
Oauth oauths
Authenticate a user with an OIDC token (Oauth).
func (*Client) Oauth2Authenticate ¶ added in v0.9.0
func (a *Client) Oauth2Authenticate(params *Oauth2AuthenticateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Oauth2AuthenticateOK, error)
Oauth2Authenticate os auth 2 0 authentication
Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities
func (*Client) OtpAuth ¶
func (a *Client) OtpAuth(params *OtpAuthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OtpAuthOK, error)
OtpAuth os t p auth
Authenticate a user with an OTP code sent via email or SMS.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOauth2Credential ¶ added in v0.9.0
func (a *Client) UpdateOauth2Credential(params *UpdateOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOauth2CredentialOK, error)
UpdateOauth2Credential updates an o auth 2 0 credential
Update an OAuth 2.0 provider credential
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateOauth2Credential(params *CreateOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauth2CredentialOK, error)
CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauthProvidersOK, error)
DeleteOauth2Credential(params *DeleteOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauth2CredentialOK, error)
DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauthProvidersOK, error)
EmailAuth(params *EmailAuthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmailAuthOK, error)
GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauthProvidersOK, error)
InitOtpAuth(params *InitOtpAuthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitOtpAuthOK, error)
ListOauth2Credentials(params *ListOauth2CredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOauth2CredentialsOK, error)
Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthOK, error)
Oauth2Authenticate(params *Oauth2AuthenticateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Oauth2AuthenticateOK, error)
OtpAuth(params *OtpAuthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OtpAuthOK, error)
UpdateOauth2Credential(params *UpdateOauth2CredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOauth2CredentialOK, 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 user auth API client.
type CreateOauth2CredentialOK ¶ added in v0.9.0
type CreateOauth2CredentialOK struct {
Payload *models.ActivityResponse
}
CreateOauth2CredentialOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateOauth2CredentialOK ¶ added in v0.9.0
func NewCreateOauth2CredentialOK() *CreateOauth2CredentialOK
NewCreateOauth2CredentialOK creates a CreateOauth2CredentialOK with default headers values
func (*CreateOauth2CredentialOK) Code ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) Code() int
Code gets the status code for the create oauth2 credential o k response
func (*CreateOauth2CredentialOK) Error ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) Error() string
func (*CreateOauth2CredentialOK) GetPayload ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) GetPayload() *models.ActivityResponse
func (*CreateOauth2CredentialOK) IsClientError ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) IsClientError() bool
IsClientError returns true when this create oauth2 credential o k response has a 4xx status code
func (*CreateOauth2CredentialOK) IsCode ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) IsCode(code int) bool
IsCode returns true when this create oauth2 credential o k response a status code equal to that given
func (*CreateOauth2CredentialOK) IsRedirect ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) IsRedirect() bool
IsRedirect returns true when this create oauth2 credential o k response has a 3xx status code
func (*CreateOauth2CredentialOK) IsServerError ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) IsServerError() bool
IsServerError returns true when this create oauth2 credential o k response has a 5xx status code
func (*CreateOauth2CredentialOK) IsSuccess ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) IsSuccess() bool
IsSuccess returns true when this create oauth2 credential o k response has a 2xx status code
func (*CreateOauth2CredentialOK) String ¶ added in v0.9.0
func (o *CreateOauth2CredentialOK) String() string
type CreateOauth2CredentialParams ¶ added in v0.9.0
type CreateOauth2CredentialParams struct {
// Body.
Body *models.CreateOauth2CredentialRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateOauth2CredentialParams contains all the parameters to send to the API endpoint
for the create oauth2 credential operation. Typically these are written to a http.Request.
func NewCreateOauth2CredentialParams ¶ added in v0.9.0
func NewCreateOauth2CredentialParams() *CreateOauth2CredentialParams
NewCreateOauth2CredentialParams creates a new CreateOauth2CredentialParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateOauth2CredentialParamsWithContext ¶ added in v0.9.0
func NewCreateOauth2CredentialParamsWithContext(ctx context.Context) *CreateOauth2CredentialParams
NewCreateOauth2CredentialParamsWithContext creates a new CreateOauth2CredentialParams object with the ability to set a context for a request.
func NewCreateOauth2CredentialParamsWithHTTPClient ¶ added in v0.9.0
func NewCreateOauth2CredentialParamsWithHTTPClient(client *http.Client) *CreateOauth2CredentialParams
NewCreateOauth2CredentialParamsWithHTTPClient creates a new CreateOauth2CredentialParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOauth2CredentialParamsWithTimeout ¶ added in v0.9.0
func NewCreateOauth2CredentialParamsWithTimeout(timeout time.Duration) *CreateOauth2CredentialParams
NewCreateOauth2CredentialParamsWithTimeout creates a new CreateOauth2CredentialParams object with the ability to set a timeout on a request.
func (*CreateOauth2CredentialParams) SetBody ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) SetBody(body *models.CreateOauth2CredentialRequest)
SetBody adds the body to the create oauth2 credential params
func (*CreateOauth2CredentialParams) SetContext ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the create oauth2 credential params
func (*CreateOauth2CredentialParams) SetDefaults ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) SetDefaults()
SetDefaults hydrates default values in the create oauth2 credential params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOauth2CredentialParams) SetHTTPClient ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create oauth2 credential params
func (*CreateOauth2CredentialParams) SetTimeout ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create oauth2 credential params
func (*CreateOauth2CredentialParams) WithBody ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) WithBody(body *models.CreateOauth2CredentialRequest) *CreateOauth2CredentialParams
WithBody adds the body to the create oauth2 credential params
func (*CreateOauth2CredentialParams) WithContext ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) WithContext(ctx context.Context) *CreateOauth2CredentialParams
WithContext adds the context to the create oauth2 credential params
func (*CreateOauth2CredentialParams) WithDefaults ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) WithDefaults() *CreateOauth2CredentialParams
WithDefaults hydrates default values in the create oauth2 credential params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOauth2CredentialParams) WithHTTPClient ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) WithHTTPClient(client *http.Client) *CreateOauth2CredentialParams
WithHTTPClient adds the HTTPClient to the create oauth2 credential params
func (*CreateOauth2CredentialParams) WithTimeout ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) WithTimeout(timeout time.Duration) *CreateOauth2CredentialParams
WithTimeout adds the timeout to the create oauth2 credential params
func (*CreateOauth2CredentialParams) WriteToRequest ¶ added in v0.9.0
func (o *CreateOauth2CredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOauth2CredentialReader ¶ added in v0.9.0
type CreateOauth2CredentialReader struct {
// contains filtered or unexported fields
}
CreateOauth2CredentialReader is a Reader for the CreateOauth2Credential structure.
func (*CreateOauth2CredentialReader) ReadResponse ¶ added in v0.9.0
func (o *CreateOauth2CredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOauthProvidersOK ¶
type CreateOauthProvidersOK struct {
Payload *models.ActivityResponse
}
CreateOauthProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateOauthProvidersOK ¶
func NewCreateOauthProvidersOK() *CreateOauthProvidersOK
NewCreateOauthProvidersOK creates a CreateOauthProvidersOK with default headers values
func (*CreateOauthProvidersOK) Code ¶
func (o *CreateOauthProvidersOK) Code() int
Code gets the status code for the create oauth providers o k response
func (*CreateOauthProvidersOK) Error ¶
func (o *CreateOauthProvidersOK) Error() string
func (*CreateOauthProvidersOK) GetPayload ¶
func (o *CreateOauthProvidersOK) GetPayload() *models.ActivityResponse
func (*CreateOauthProvidersOK) IsClientError ¶
func (o *CreateOauthProvidersOK) IsClientError() bool
IsClientError returns true when this create oauth providers o k response has a 4xx status code
func (*CreateOauthProvidersOK) IsCode ¶
func (o *CreateOauthProvidersOK) IsCode(code int) bool
IsCode returns true when this create oauth providers o k response a status code equal to that given
func (*CreateOauthProvidersOK) IsRedirect ¶
func (o *CreateOauthProvidersOK) IsRedirect() bool
IsRedirect returns true when this create oauth providers o k response has a 3xx status code
func (*CreateOauthProvidersOK) IsServerError ¶
func (o *CreateOauthProvidersOK) IsServerError() bool
IsServerError returns true when this create oauth providers o k response has a 5xx status code
func (*CreateOauthProvidersOK) IsSuccess ¶
func (o *CreateOauthProvidersOK) IsSuccess() bool
IsSuccess returns true when this create oauth providers o k response has a 2xx status code
func (*CreateOauthProvidersOK) String ¶
func (o *CreateOauthProvidersOK) String() string
type CreateOauthProvidersParams ¶
type CreateOauthProvidersParams struct {
// Body.
Body *models.CreateOauthProvidersRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateOauthProvidersParams contains all the parameters to send to the API endpoint
for the create oauth providers operation. Typically these are written to a http.Request.
func NewCreateOauthProvidersParams ¶
func NewCreateOauthProvidersParams() *CreateOauthProvidersParams
NewCreateOauthProvidersParams creates a new CreateOauthProvidersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateOauthProvidersParamsWithContext ¶
func NewCreateOauthProvidersParamsWithContext(ctx context.Context) *CreateOauthProvidersParams
NewCreateOauthProvidersParamsWithContext creates a new CreateOauthProvidersParams object with the ability to set a context for a request.
func NewCreateOauthProvidersParamsWithHTTPClient ¶
func NewCreateOauthProvidersParamsWithHTTPClient(client *http.Client) *CreateOauthProvidersParams
NewCreateOauthProvidersParamsWithHTTPClient creates a new CreateOauthProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOauthProvidersParamsWithTimeout ¶
func NewCreateOauthProvidersParamsWithTimeout(timeout time.Duration) *CreateOauthProvidersParams
NewCreateOauthProvidersParamsWithTimeout creates a new CreateOauthProvidersParams object with the ability to set a timeout on a request.
func (*CreateOauthProvidersParams) SetBody ¶
func (o *CreateOauthProvidersParams) SetBody(body *models.CreateOauthProvidersRequest)
SetBody adds the body to the create oauth providers params
func (*CreateOauthProvidersParams) SetContext ¶
func (o *CreateOauthProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the create oauth providers params
func (*CreateOauthProvidersParams) SetDefaults ¶
func (o *CreateOauthProvidersParams) SetDefaults()
SetDefaults hydrates default values in the create oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOauthProvidersParams) SetHTTPClient ¶
func (o *CreateOauthProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create oauth providers params
func (*CreateOauthProvidersParams) SetTimeout ¶
func (o *CreateOauthProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create oauth providers params
func (*CreateOauthProvidersParams) WithBody ¶
func (o *CreateOauthProvidersParams) WithBody(body *models.CreateOauthProvidersRequest) *CreateOauthProvidersParams
WithBody adds the body to the create oauth providers params
func (*CreateOauthProvidersParams) WithContext ¶
func (o *CreateOauthProvidersParams) WithContext(ctx context.Context) *CreateOauthProvidersParams
WithContext adds the context to the create oauth providers params
func (*CreateOauthProvidersParams) WithDefaults ¶
func (o *CreateOauthProvidersParams) WithDefaults() *CreateOauthProvidersParams
WithDefaults hydrates default values in the create oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOauthProvidersParams) WithHTTPClient ¶
func (o *CreateOauthProvidersParams) WithHTTPClient(client *http.Client) *CreateOauthProvidersParams
WithHTTPClient adds the HTTPClient to the create oauth providers params
func (*CreateOauthProvidersParams) WithTimeout ¶
func (o *CreateOauthProvidersParams) WithTimeout(timeout time.Duration) *CreateOauthProvidersParams
WithTimeout adds the timeout to the create oauth providers params
func (*CreateOauthProvidersParams) WriteToRequest ¶
func (o *CreateOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOauthProvidersReader ¶
type CreateOauthProvidersReader struct {
// contains filtered or unexported fields
}
CreateOauthProvidersReader is a Reader for the CreateOauthProviders structure.
func (*CreateOauthProvidersReader) ReadResponse ¶
func (o *CreateOauthProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOauth2CredentialOK ¶ added in v0.9.0
type DeleteOauth2CredentialOK struct {
Payload *models.ActivityResponse
}
DeleteOauth2CredentialOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOauth2CredentialOK ¶ added in v0.9.0
func NewDeleteOauth2CredentialOK() *DeleteOauth2CredentialOK
NewDeleteOauth2CredentialOK creates a DeleteOauth2CredentialOK with default headers values
func (*DeleteOauth2CredentialOK) Code ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) Code() int
Code gets the status code for the delete oauth2 credential o k response
func (*DeleteOauth2CredentialOK) Error ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) Error() string
func (*DeleteOauth2CredentialOK) GetPayload ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) GetPayload() *models.ActivityResponse
func (*DeleteOauth2CredentialOK) IsClientError ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) IsClientError() bool
IsClientError returns true when this delete oauth2 credential o k response has a 4xx status code
func (*DeleteOauth2CredentialOK) IsCode ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) IsCode(code int) bool
IsCode returns true when this delete oauth2 credential o k response a status code equal to that given
func (*DeleteOauth2CredentialOK) IsRedirect ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) IsRedirect() bool
IsRedirect returns true when this delete oauth2 credential o k response has a 3xx status code
func (*DeleteOauth2CredentialOK) IsServerError ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) IsServerError() bool
IsServerError returns true when this delete oauth2 credential o k response has a 5xx status code
func (*DeleteOauth2CredentialOK) IsSuccess ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) IsSuccess() bool
IsSuccess returns true when this delete oauth2 credential o k response has a 2xx status code
func (*DeleteOauth2CredentialOK) String ¶ added in v0.9.0
func (o *DeleteOauth2CredentialOK) String() string
type DeleteOauth2CredentialParams ¶ added in v0.9.0
type DeleteOauth2CredentialParams struct {
// Body.
Body *models.DeleteOauth2CredentialRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteOauth2CredentialParams contains all the parameters to send to the API endpoint
for the delete oauth2 credential operation. Typically these are written to a http.Request.
func NewDeleteOauth2CredentialParams ¶ added in v0.9.0
func NewDeleteOauth2CredentialParams() *DeleteOauth2CredentialParams
NewDeleteOauth2CredentialParams creates a new DeleteOauth2CredentialParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteOauth2CredentialParamsWithContext ¶ added in v0.9.0
func NewDeleteOauth2CredentialParamsWithContext(ctx context.Context) *DeleteOauth2CredentialParams
NewDeleteOauth2CredentialParamsWithContext creates a new DeleteOauth2CredentialParams object with the ability to set a context for a request.
func NewDeleteOauth2CredentialParamsWithHTTPClient ¶ added in v0.9.0
func NewDeleteOauth2CredentialParamsWithHTTPClient(client *http.Client) *DeleteOauth2CredentialParams
NewDeleteOauth2CredentialParamsWithHTTPClient creates a new DeleteOauth2CredentialParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOauth2CredentialParamsWithTimeout ¶ added in v0.9.0
func NewDeleteOauth2CredentialParamsWithTimeout(timeout time.Duration) *DeleteOauth2CredentialParams
NewDeleteOauth2CredentialParamsWithTimeout creates a new DeleteOauth2CredentialParams object with the ability to set a timeout on a request.
func (*DeleteOauth2CredentialParams) SetBody ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) SetBody(body *models.DeleteOauth2CredentialRequest)
SetBody adds the body to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) SetContext ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) SetDefaults ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) SetDefaults()
SetDefaults hydrates default values in the delete oauth2 credential params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOauth2CredentialParams) SetHTTPClient ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) SetTimeout ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) WithBody ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) WithBody(body *models.DeleteOauth2CredentialRequest) *DeleteOauth2CredentialParams
WithBody adds the body to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) WithContext ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) WithContext(ctx context.Context) *DeleteOauth2CredentialParams
WithContext adds the context to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) WithDefaults ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) WithDefaults() *DeleteOauth2CredentialParams
WithDefaults hydrates default values in the delete oauth2 credential params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOauth2CredentialParams) WithHTTPClient ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) WithHTTPClient(client *http.Client) *DeleteOauth2CredentialParams
WithHTTPClient adds the HTTPClient to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) WithTimeout ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) WithTimeout(timeout time.Duration) *DeleteOauth2CredentialParams
WithTimeout adds the timeout to the delete oauth2 credential params
func (*DeleteOauth2CredentialParams) WriteToRequest ¶ added in v0.9.0
func (o *DeleteOauth2CredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOauth2CredentialReader ¶ added in v0.9.0
type DeleteOauth2CredentialReader struct {
// contains filtered or unexported fields
}
DeleteOauth2CredentialReader is a Reader for the DeleteOauth2Credential structure.
func (*DeleteOauth2CredentialReader) ReadResponse ¶ added in v0.9.0
func (o *DeleteOauth2CredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOauthProvidersOK ¶
type DeleteOauthProvidersOK struct {
Payload *models.ActivityResponse
}
DeleteOauthProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOauthProvidersOK ¶
func NewDeleteOauthProvidersOK() *DeleteOauthProvidersOK
NewDeleteOauthProvidersOK creates a DeleteOauthProvidersOK with default headers values
func (*DeleteOauthProvidersOK) Code ¶
func (o *DeleteOauthProvidersOK) Code() int
Code gets the status code for the delete oauth providers o k response
func (*DeleteOauthProvidersOK) Error ¶
func (o *DeleteOauthProvidersOK) Error() string
func (*DeleteOauthProvidersOK) GetPayload ¶
func (o *DeleteOauthProvidersOK) GetPayload() *models.ActivityResponse
func (*DeleteOauthProvidersOK) IsClientError ¶
func (o *DeleteOauthProvidersOK) IsClientError() bool
IsClientError returns true when this delete oauth providers o k response has a 4xx status code
func (*DeleteOauthProvidersOK) IsCode ¶
func (o *DeleteOauthProvidersOK) IsCode(code int) bool
IsCode returns true when this delete oauth providers o k response a status code equal to that given
func (*DeleteOauthProvidersOK) IsRedirect ¶
func (o *DeleteOauthProvidersOK) IsRedirect() bool
IsRedirect returns true when this delete oauth providers o k response has a 3xx status code
func (*DeleteOauthProvidersOK) IsServerError ¶
func (o *DeleteOauthProvidersOK) IsServerError() bool
IsServerError returns true when this delete oauth providers o k response has a 5xx status code
func (*DeleteOauthProvidersOK) IsSuccess ¶
func (o *DeleteOauthProvidersOK) IsSuccess() bool
IsSuccess returns true when this delete oauth providers o k response has a 2xx status code
func (*DeleteOauthProvidersOK) String ¶
func (o *DeleteOauthProvidersOK) String() string
type DeleteOauthProvidersParams ¶
type DeleteOauthProvidersParams struct {
// Body.
Body *models.DeleteOauthProvidersRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteOauthProvidersParams contains all the parameters to send to the API endpoint
for the delete oauth providers operation. Typically these are written to a http.Request.
func NewDeleteOauthProvidersParams ¶
func NewDeleteOauthProvidersParams() *DeleteOauthProvidersParams
NewDeleteOauthProvidersParams creates a new DeleteOauthProvidersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteOauthProvidersParamsWithContext ¶
func NewDeleteOauthProvidersParamsWithContext(ctx context.Context) *DeleteOauthProvidersParams
NewDeleteOauthProvidersParamsWithContext creates a new DeleteOauthProvidersParams object with the ability to set a context for a request.
func NewDeleteOauthProvidersParamsWithHTTPClient ¶
func NewDeleteOauthProvidersParamsWithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
NewDeleteOauthProvidersParamsWithHTTPClient creates a new DeleteOauthProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOauthProvidersParamsWithTimeout ¶
func NewDeleteOauthProvidersParamsWithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
NewDeleteOauthProvidersParamsWithTimeout creates a new DeleteOauthProvidersParams object with the ability to set a timeout on a request.
func (*DeleteOauthProvidersParams) SetBody ¶
func (o *DeleteOauthProvidersParams) SetBody(body *models.DeleteOauthProvidersRequest)
SetBody adds the body to the delete oauth providers params
func (*DeleteOauthProvidersParams) SetContext ¶
func (o *DeleteOauthProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete oauth providers params
func (*DeleteOauthProvidersParams) SetDefaults ¶
func (o *DeleteOauthProvidersParams) SetDefaults()
SetDefaults hydrates default values in the delete oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOauthProvidersParams) SetHTTPClient ¶
func (o *DeleteOauthProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete oauth providers params
func (*DeleteOauthProvidersParams) SetTimeout ¶
func (o *DeleteOauthProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithBody ¶
func (o *DeleteOauthProvidersParams) WithBody(body *models.DeleteOauthProvidersRequest) *DeleteOauthProvidersParams
WithBody adds the body to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithContext ¶
func (o *DeleteOauthProvidersParams) WithContext(ctx context.Context) *DeleteOauthProvidersParams
WithContext adds the context to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithDefaults ¶
func (o *DeleteOauthProvidersParams) WithDefaults() *DeleteOauthProvidersParams
WithDefaults hydrates default values in the delete oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOauthProvidersParams) WithHTTPClient ¶
func (o *DeleteOauthProvidersParams) WithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
WithHTTPClient adds the HTTPClient to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithTimeout ¶
func (o *DeleteOauthProvidersParams) WithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
WithTimeout adds the timeout to the delete oauth providers params
func (*DeleteOauthProvidersParams) WriteToRequest ¶
func (o *DeleteOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOauthProvidersReader ¶
type DeleteOauthProvidersReader struct {
// contains filtered or unexported fields
}
DeleteOauthProvidersReader is a Reader for the DeleteOauthProviders structure.
func (*DeleteOauthProvidersReader) ReadResponse ¶
func (o *DeleteOauthProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmailAuthOK ¶
type EmailAuthOK struct {
Payload *models.ActivityResponse
}
EmailAuthOK describes a response with status code 200, with default header values.
A successful response.
func NewEmailAuthOK ¶
func NewEmailAuthOK() *EmailAuthOK
NewEmailAuthOK creates a EmailAuthOK with default headers values
func (*EmailAuthOK) Code ¶
func (o *EmailAuthOK) Code() int
Code gets the status code for the email auth o k response
func (*EmailAuthOK) Error ¶
func (o *EmailAuthOK) Error() string
func (*EmailAuthOK) GetPayload ¶
func (o *EmailAuthOK) GetPayload() *models.ActivityResponse
func (*EmailAuthOK) IsClientError ¶
func (o *EmailAuthOK) IsClientError() bool
IsClientError returns true when this email auth o k response has a 4xx status code
func (*EmailAuthOK) IsCode ¶
func (o *EmailAuthOK) IsCode(code int) bool
IsCode returns true when this email auth o k response a status code equal to that given
func (*EmailAuthOK) IsRedirect ¶
func (o *EmailAuthOK) IsRedirect() bool
IsRedirect returns true when this email auth o k response has a 3xx status code
func (*EmailAuthOK) IsServerError ¶
func (o *EmailAuthOK) IsServerError() bool
IsServerError returns true when this email auth o k response has a 5xx status code
func (*EmailAuthOK) IsSuccess ¶
func (o *EmailAuthOK) IsSuccess() bool
IsSuccess returns true when this email auth o k response has a 2xx status code
func (*EmailAuthOK) String ¶
func (o *EmailAuthOK) String() string
type EmailAuthParams ¶
type EmailAuthParams struct {
// Body.
Body *models.EmailAuthRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EmailAuthParams contains all the parameters to send to the API endpoint
for the email auth operation. Typically these are written to a http.Request.
func NewEmailAuthParams ¶
func NewEmailAuthParams() *EmailAuthParams
NewEmailAuthParams creates a new EmailAuthParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEmailAuthParamsWithContext ¶
func NewEmailAuthParamsWithContext(ctx context.Context) *EmailAuthParams
NewEmailAuthParamsWithContext creates a new EmailAuthParams object with the ability to set a context for a request.
func NewEmailAuthParamsWithHTTPClient ¶
func NewEmailAuthParamsWithHTTPClient(client *http.Client) *EmailAuthParams
NewEmailAuthParamsWithHTTPClient creates a new EmailAuthParams object with the ability to set a custom HTTPClient for a request.
func NewEmailAuthParamsWithTimeout ¶
func NewEmailAuthParamsWithTimeout(timeout time.Duration) *EmailAuthParams
NewEmailAuthParamsWithTimeout creates a new EmailAuthParams object with the ability to set a timeout on a request.
func (*EmailAuthParams) SetBody ¶
func (o *EmailAuthParams) SetBody(body *models.EmailAuthRequest)
SetBody adds the body to the email auth params
func (*EmailAuthParams) SetContext ¶
func (o *EmailAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the email auth params
func (*EmailAuthParams) SetDefaults ¶
func (o *EmailAuthParams) SetDefaults()
SetDefaults hydrates default values in the email auth params (not the query body).
All values with no default are reset to their zero value.
func (*EmailAuthParams) SetHTTPClient ¶
func (o *EmailAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the email auth params
func (*EmailAuthParams) SetTimeout ¶
func (o *EmailAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the email auth params
func (*EmailAuthParams) WithBody ¶
func (o *EmailAuthParams) WithBody(body *models.EmailAuthRequest) *EmailAuthParams
WithBody adds the body to the email auth params
func (*EmailAuthParams) WithContext ¶
func (o *EmailAuthParams) WithContext(ctx context.Context) *EmailAuthParams
WithContext adds the context to the email auth params
func (*EmailAuthParams) WithDefaults ¶
func (o *EmailAuthParams) WithDefaults() *EmailAuthParams
WithDefaults hydrates default values in the email auth params (not the query body).
All values with no default are reset to their zero value.
func (*EmailAuthParams) WithHTTPClient ¶
func (o *EmailAuthParams) WithHTTPClient(client *http.Client) *EmailAuthParams
WithHTTPClient adds the HTTPClient to the email auth params
func (*EmailAuthParams) WithTimeout ¶
func (o *EmailAuthParams) WithTimeout(timeout time.Duration) *EmailAuthParams
WithTimeout adds the timeout to the email auth params
func (*EmailAuthParams) WriteToRequest ¶
func (o *EmailAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmailAuthReader ¶
type EmailAuthReader struct {
// contains filtered or unexported fields
}
EmailAuthReader is a Reader for the EmailAuth structure.
func (*EmailAuthReader) ReadResponse ¶
func (o *EmailAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOauthProvidersOK ¶
type GetOauthProvidersOK struct {
Payload *models.GetOauthProvidersResponse
}
GetOauthProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewGetOauthProvidersOK ¶
func NewGetOauthProvidersOK() *GetOauthProvidersOK
NewGetOauthProvidersOK creates a GetOauthProvidersOK with default headers values
func (*GetOauthProvidersOK) Code ¶
func (o *GetOauthProvidersOK) Code() int
Code gets the status code for the get oauth providers o k response
func (*GetOauthProvidersOK) Error ¶
func (o *GetOauthProvidersOK) Error() string
func (*GetOauthProvidersOK) GetPayload ¶
func (o *GetOauthProvidersOK) GetPayload() *models.GetOauthProvidersResponse
func (*GetOauthProvidersOK) IsClientError ¶
func (o *GetOauthProvidersOK) IsClientError() bool
IsClientError returns true when this get oauth providers o k response has a 4xx status code
func (*GetOauthProvidersOK) IsCode ¶
func (o *GetOauthProvidersOK) IsCode(code int) bool
IsCode returns true when this get oauth providers o k response a status code equal to that given
func (*GetOauthProvidersOK) IsRedirect ¶
func (o *GetOauthProvidersOK) IsRedirect() bool
IsRedirect returns true when this get oauth providers o k response has a 3xx status code
func (*GetOauthProvidersOK) IsServerError ¶
func (o *GetOauthProvidersOK) IsServerError() bool
IsServerError returns true when this get oauth providers o k response has a 5xx status code
func (*GetOauthProvidersOK) IsSuccess ¶
func (o *GetOauthProvidersOK) IsSuccess() bool
IsSuccess returns true when this get oauth providers o k response has a 2xx status code
func (*GetOauthProvidersOK) String ¶
func (o *GetOauthProvidersOK) String() string
type GetOauthProvidersParams ¶
type GetOauthProvidersParams struct {
// Body.
Body *models.GetOauthProvidersRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOauthProvidersParams contains all the parameters to send to the API endpoint
for the get oauth providers operation. Typically these are written to a http.Request.
func NewGetOauthProvidersParams ¶
func NewGetOauthProvidersParams() *GetOauthProvidersParams
NewGetOauthProvidersParams creates a new GetOauthProvidersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOauthProvidersParamsWithContext ¶
func NewGetOauthProvidersParamsWithContext(ctx context.Context) *GetOauthProvidersParams
NewGetOauthProvidersParamsWithContext creates a new GetOauthProvidersParams object with the ability to set a context for a request.
func NewGetOauthProvidersParamsWithHTTPClient ¶
func NewGetOauthProvidersParamsWithHTTPClient(client *http.Client) *GetOauthProvidersParams
NewGetOauthProvidersParamsWithHTTPClient creates a new GetOauthProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewGetOauthProvidersParamsWithTimeout ¶
func NewGetOauthProvidersParamsWithTimeout(timeout time.Duration) *GetOauthProvidersParams
NewGetOauthProvidersParamsWithTimeout creates a new GetOauthProvidersParams object with the ability to set a timeout on a request.
func (*GetOauthProvidersParams) SetBody ¶
func (o *GetOauthProvidersParams) SetBody(body *models.GetOauthProvidersRequest)
SetBody adds the body to the get oauth providers params
func (*GetOauthProvidersParams) SetContext ¶
func (o *GetOauthProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the get oauth providers params
func (*GetOauthProvidersParams) SetDefaults ¶
func (o *GetOauthProvidersParams) SetDefaults()
SetDefaults hydrates default values in the get oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*GetOauthProvidersParams) SetHTTPClient ¶
func (o *GetOauthProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get oauth providers params
func (*GetOauthProvidersParams) SetTimeout ¶
func (o *GetOauthProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get oauth providers params
func (*GetOauthProvidersParams) WithBody ¶
func (o *GetOauthProvidersParams) WithBody(body *models.GetOauthProvidersRequest) *GetOauthProvidersParams
WithBody adds the body to the get oauth providers params
func (*GetOauthProvidersParams) WithContext ¶
func (o *GetOauthProvidersParams) WithContext(ctx context.Context) *GetOauthProvidersParams
WithContext adds the context to the get oauth providers params
func (*GetOauthProvidersParams) WithDefaults ¶
func (o *GetOauthProvidersParams) WithDefaults() *GetOauthProvidersParams
WithDefaults hydrates default values in the get oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*GetOauthProvidersParams) WithHTTPClient ¶
func (o *GetOauthProvidersParams) WithHTTPClient(client *http.Client) *GetOauthProvidersParams
WithHTTPClient adds the HTTPClient to the get oauth providers params
func (*GetOauthProvidersParams) WithTimeout ¶
func (o *GetOauthProvidersParams) WithTimeout(timeout time.Duration) *GetOauthProvidersParams
WithTimeout adds the timeout to the get oauth providers params
func (*GetOauthProvidersParams) WriteToRequest ¶
func (o *GetOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOauthProvidersReader ¶
type GetOauthProvidersReader struct {
// contains filtered or unexported fields
}
GetOauthProvidersReader is a Reader for the GetOauthProviders structure.
func (*GetOauthProvidersReader) ReadResponse ¶
func (o *GetOauthProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InitOtpAuthOK ¶
type InitOtpAuthOK struct {
Payload *models.ActivityResponse
}
InitOtpAuthOK describes a response with status code 200, with default header values.
A successful response.
func NewInitOtpAuthOK ¶
func NewInitOtpAuthOK() *InitOtpAuthOK
NewInitOtpAuthOK creates a InitOtpAuthOK with default headers values
func (*InitOtpAuthOK) Code ¶
func (o *InitOtpAuthOK) Code() int
Code gets the status code for the init otp auth o k response
func (*InitOtpAuthOK) Error ¶
func (o *InitOtpAuthOK) Error() string
func (*InitOtpAuthOK) GetPayload ¶
func (o *InitOtpAuthOK) GetPayload() *models.ActivityResponse
func (*InitOtpAuthOK) IsClientError ¶
func (o *InitOtpAuthOK) IsClientError() bool
IsClientError returns true when this init otp auth o k response has a 4xx status code
func (*InitOtpAuthOK) IsCode ¶
func (o *InitOtpAuthOK) IsCode(code int) bool
IsCode returns true when this init otp auth o k response a status code equal to that given
func (*InitOtpAuthOK) IsRedirect ¶
func (o *InitOtpAuthOK) IsRedirect() bool
IsRedirect returns true when this init otp auth o k response has a 3xx status code
func (*InitOtpAuthOK) IsServerError ¶
func (o *InitOtpAuthOK) IsServerError() bool
IsServerError returns true when this init otp auth o k response has a 5xx status code
func (*InitOtpAuthOK) IsSuccess ¶
func (o *InitOtpAuthOK) IsSuccess() bool
IsSuccess returns true when this init otp auth o k response has a 2xx status code
func (*InitOtpAuthOK) String ¶
func (o *InitOtpAuthOK) String() string
type InitOtpAuthParams ¶
type InitOtpAuthParams struct {
// Body.
Body *models.InitOtpAuthRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
InitOtpAuthParams contains all the parameters to send to the API endpoint
for the init otp auth operation. Typically these are written to a http.Request.
func NewInitOtpAuthParams ¶
func NewInitOtpAuthParams() *InitOtpAuthParams
NewInitOtpAuthParams creates a new InitOtpAuthParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInitOtpAuthParamsWithContext ¶
func NewInitOtpAuthParamsWithContext(ctx context.Context) *InitOtpAuthParams
NewInitOtpAuthParamsWithContext creates a new InitOtpAuthParams object with the ability to set a context for a request.
func NewInitOtpAuthParamsWithHTTPClient ¶
func NewInitOtpAuthParamsWithHTTPClient(client *http.Client) *InitOtpAuthParams
NewInitOtpAuthParamsWithHTTPClient creates a new InitOtpAuthParams object with the ability to set a custom HTTPClient for a request.
func NewInitOtpAuthParamsWithTimeout ¶
func NewInitOtpAuthParamsWithTimeout(timeout time.Duration) *InitOtpAuthParams
NewInitOtpAuthParamsWithTimeout creates a new InitOtpAuthParams object with the ability to set a timeout on a request.
func (*InitOtpAuthParams) SetBody ¶
func (o *InitOtpAuthParams) SetBody(body *models.InitOtpAuthRequest)
SetBody adds the body to the init otp auth params
func (*InitOtpAuthParams) SetContext ¶
func (o *InitOtpAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the init otp auth params
func (*InitOtpAuthParams) SetDefaults ¶
func (o *InitOtpAuthParams) SetDefaults()
SetDefaults hydrates default values in the init otp auth params (not the query body).
All values with no default are reset to their zero value.
func (*InitOtpAuthParams) SetHTTPClient ¶
func (o *InitOtpAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the init otp auth params
func (*InitOtpAuthParams) SetTimeout ¶
func (o *InitOtpAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the init otp auth params
func (*InitOtpAuthParams) WithBody ¶
func (o *InitOtpAuthParams) WithBody(body *models.InitOtpAuthRequest) *InitOtpAuthParams
WithBody adds the body to the init otp auth params
func (*InitOtpAuthParams) WithContext ¶
func (o *InitOtpAuthParams) WithContext(ctx context.Context) *InitOtpAuthParams
WithContext adds the context to the init otp auth params
func (*InitOtpAuthParams) WithDefaults ¶
func (o *InitOtpAuthParams) WithDefaults() *InitOtpAuthParams
WithDefaults hydrates default values in the init otp auth params (not the query body).
All values with no default are reset to their zero value.
func (*InitOtpAuthParams) WithHTTPClient ¶
func (o *InitOtpAuthParams) WithHTTPClient(client *http.Client) *InitOtpAuthParams
WithHTTPClient adds the HTTPClient to the init otp auth params
func (*InitOtpAuthParams) WithTimeout ¶
func (o *InitOtpAuthParams) WithTimeout(timeout time.Duration) *InitOtpAuthParams
WithTimeout adds the timeout to the init otp auth params
func (*InitOtpAuthParams) WriteToRequest ¶
func (o *InitOtpAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InitOtpAuthReader ¶
type InitOtpAuthReader struct {
// contains filtered or unexported fields
}
InitOtpAuthReader is a Reader for the InitOtpAuth structure.
func (*InitOtpAuthReader) ReadResponse ¶
func (o *InitOtpAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOauth2CredentialsOK ¶ added in v0.9.0
type ListOauth2CredentialsOK struct {
Payload *models.ListOauth2CredentialsResponse
}
ListOauth2CredentialsOK describes a response with status code 200, with default header values.
A successful response.
func NewListOauth2CredentialsOK ¶ added in v0.9.0
func NewListOauth2CredentialsOK() *ListOauth2CredentialsOK
NewListOauth2CredentialsOK creates a ListOauth2CredentialsOK with default headers values
func (*ListOauth2CredentialsOK) Code ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) Code() int
Code gets the status code for the list oauth2 credentials o k response
func (*ListOauth2CredentialsOK) Error ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) Error() string
func (*ListOauth2CredentialsOK) GetPayload ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) GetPayload() *models.ListOauth2CredentialsResponse
func (*ListOauth2CredentialsOK) IsClientError ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) IsClientError() bool
IsClientError returns true when this list oauth2 credentials o k response has a 4xx status code
func (*ListOauth2CredentialsOK) IsCode ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) IsCode(code int) bool
IsCode returns true when this list oauth2 credentials o k response a status code equal to that given
func (*ListOauth2CredentialsOK) IsRedirect ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) IsRedirect() bool
IsRedirect returns true when this list oauth2 credentials o k response has a 3xx status code
func (*ListOauth2CredentialsOK) IsServerError ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) IsServerError() bool
IsServerError returns true when this list oauth2 credentials o k response has a 5xx status code
func (*ListOauth2CredentialsOK) IsSuccess ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) IsSuccess() bool
IsSuccess returns true when this list oauth2 credentials o k response has a 2xx status code
func (*ListOauth2CredentialsOK) String ¶ added in v0.9.0
func (o *ListOauth2CredentialsOK) String() string
type ListOauth2CredentialsParams ¶ added in v0.9.0
type ListOauth2CredentialsParams struct {
// Body.
Body *models.ListOauth2CredentialsRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListOauth2CredentialsParams contains all the parameters to send to the API endpoint
for the list oauth2 credentials operation. Typically these are written to a http.Request.
func NewListOauth2CredentialsParams ¶ added in v0.9.0
func NewListOauth2CredentialsParams() *ListOauth2CredentialsParams
NewListOauth2CredentialsParams creates a new ListOauth2CredentialsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListOauth2CredentialsParamsWithContext ¶ added in v0.9.0
func NewListOauth2CredentialsParamsWithContext(ctx context.Context) *ListOauth2CredentialsParams
NewListOauth2CredentialsParamsWithContext creates a new ListOauth2CredentialsParams object with the ability to set a context for a request.
func NewListOauth2CredentialsParamsWithHTTPClient ¶ added in v0.9.0
func NewListOauth2CredentialsParamsWithHTTPClient(client *http.Client) *ListOauth2CredentialsParams
NewListOauth2CredentialsParamsWithHTTPClient creates a new ListOauth2CredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewListOauth2CredentialsParamsWithTimeout ¶ added in v0.9.0
func NewListOauth2CredentialsParamsWithTimeout(timeout time.Duration) *ListOauth2CredentialsParams
NewListOauth2CredentialsParamsWithTimeout creates a new ListOauth2CredentialsParams object with the ability to set a timeout on a request.
func (*ListOauth2CredentialsParams) SetBody ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) SetBody(body *models.ListOauth2CredentialsRequest)
SetBody adds the body to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) SetContext ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) SetDefaults ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list oauth2 credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListOauth2CredentialsParams) SetHTTPClient ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) SetTimeout ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) WithBody ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) WithBody(body *models.ListOauth2CredentialsRequest) *ListOauth2CredentialsParams
WithBody adds the body to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) WithContext ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) WithContext(ctx context.Context) *ListOauth2CredentialsParams
WithContext adds the context to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) WithDefaults ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) WithDefaults() *ListOauth2CredentialsParams
WithDefaults hydrates default values in the list oauth2 credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListOauth2CredentialsParams) WithHTTPClient ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) WithHTTPClient(client *http.Client) *ListOauth2CredentialsParams
WithHTTPClient adds the HTTPClient to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) WithTimeout ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) WithTimeout(timeout time.Duration) *ListOauth2CredentialsParams
WithTimeout adds the timeout to the list oauth2 credentials params
func (*ListOauth2CredentialsParams) WriteToRequest ¶ added in v0.9.0
func (o *ListOauth2CredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOauth2CredentialsReader ¶ added in v0.9.0
type ListOauth2CredentialsReader struct {
// contains filtered or unexported fields
}
ListOauth2CredentialsReader is a Reader for the ListOauth2Credentials structure.
func (*ListOauth2CredentialsReader) ReadResponse ¶ added in v0.9.0
func (o *ListOauth2CredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Oauth2AuthenticateOK ¶ added in v0.9.0
type Oauth2AuthenticateOK struct {
Payload *models.ActivityResponse
}
Oauth2AuthenticateOK describes a response with status code 200, with default header values.
A successful response.
func NewOauth2AuthenticateOK ¶ added in v0.9.0
func NewOauth2AuthenticateOK() *Oauth2AuthenticateOK
NewOauth2AuthenticateOK creates a Oauth2AuthenticateOK with default headers values
func (*Oauth2AuthenticateOK) Code ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) Code() int
Code gets the status code for the oauth2 authenticate o k response
func (*Oauth2AuthenticateOK) Error ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) Error() string
func (*Oauth2AuthenticateOK) GetPayload ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) GetPayload() *models.ActivityResponse
func (*Oauth2AuthenticateOK) IsClientError ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) IsClientError() bool
IsClientError returns true when this oauth2 authenticate o k response has a 4xx status code
func (*Oauth2AuthenticateOK) IsCode ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) IsCode(code int) bool
IsCode returns true when this oauth2 authenticate o k response a status code equal to that given
func (*Oauth2AuthenticateOK) IsRedirect ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) IsRedirect() bool
IsRedirect returns true when this oauth2 authenticate o k response has a 3xx status code
func (*Oauth2AuthenticateOK) IsServerError ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) IsServerError() bool
IsServerError returns true when this oauth2 authenticate o k response has a 5xx status code
func (*Oauth2AuthenticateOK) IsSuccess ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) IsSuccess() bool
IsSuccess returns true when this oauth2 authenticate o k response has a 2xx status code
func (*Oauth2AuthenticateOK) String ¶ added in v0.9.0
func (o *Oauth2AuthenticateOK) String() string
type Oauth2AuthenticateParams ¶ added in v0.9.0
type Oauth2AuthenticateParams struct {
// Body.
Body *models.Oauth2AuthenticateRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
Oauth2AuthenticateParams contains all the parameters to send to the API endpoint
for the oauth2 authenticate operation. Typically these are written to a http.Request.
func NewOauth2AuthenticateParams ¶ added in v0.9.0
func NewOauth2AuthenticateParams() *Oauth2AuthenticateParams
NewOauth2AuthenticateParams creates a new Oauth2AuthenticateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewOauth2AuthenticateParamsWithContext ¶ added in v0.9.0
func NewOauth2AuthenticateParamsWithContext(ctx context.Context) *Oauth2AuthenticateParams
NewOauth2AuthenticateParamsWithContext creates a new Oauth2AuthenticateParams object with the ability to set a context for a request.
func NewOauth2AuthenticateParamsWithHTTPClient ¶ added in v0.9.0
func NewOauth2AuthenticateParamsWithHTTPClient(client *http.Client) *Oauth2AuthenticateParams
NewOauth2AuthenticateParamsWithHTTPClient creates a new Oauth2AuthenticateParams object with the ability to set a custom HTTPClient for a request.
func NewOauth2AuthenticateParamsWithTimeout ¶ added in v0.9.0
func NewOauth2AuthenticateParamsWithTimeout(timeout time.Duration) *Oauth2AuthenticateParams
NewOauth2AuthenticateParamsWithTimeout creates a new Oauth2AuthenticateParams object with the ability to set a timeout on a request.
func (*Oauth2AuthenticateParams) SetBody ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) SetBody(body *models.Oauth2AuthenticateRequest)
SetBody adds the body to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) SetContext ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) SetContext(ctx context.Context)
SetContext adds the context to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) SetDefaults ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) SetDefaults()
SetDefaults hydrates default values in the oauth2 authenticate params (not the query body).
All values with no default are reset to their zero value.
func (*Oauth2AuthenticateParams) SetHTTPClient ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) SetTimeout ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) WithBody ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) WithBody(body *models.Oauth2AuthenticateRequest) *Oauth2AuthenticateParams
WithBody adds the body to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) WithContext ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) WithContext(ctx context.Context) *Oauth2AuthenticateParams
WithContext adds the context to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) WithDefaults ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) WithDefaults() *Oauth2AuthenticateParams
WithDefaults hydrates default values in the oauth2 authenticate params (not the query body).
All values with no default are reset to their zero value.
func (*Oauth2AuthenticateParams) WithHTTPClient ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) WithHTTPClient(client *http.Client) *Oauth2AuthenticateParams
WithHTTPClient adds the HTTPClient to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) WithTimeout ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) WithTimeout(timeout time.Duration) *Oauth2AuthenticateParams
WithTimeout adds the timeout to the oauth2 authenticate params
func (*Oauth2AuthenticateParams) WriteToRequest ¶ added in v0.9.0
func (o *Oauth2AuthenticateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type Oauth2AuthenticateReader ¶ added in v0.9.0
type Oauth2AuthenticateReader struct {
// contains filtered or unexported fields
}
Oauth2AuthenticateReader is a Reader for the Oauth2Authenticate structure.
func (*Oauth2AuthenticateReader) ReadResponse ¶ added in v0.9.0
func (o *Oauth2AuthenticateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OauthOK ¶
type OauthOK struct {
Payload *models.ActivityResponse
}
OauthOK describes a response with status code 200, with default header values.
A successful response.
func NewOauthOK ¶
func NewOauthOK() *OauthOK
NewOauthOK creates a OauthOK with default headers values
func (*OauthOK) GetPayload ¶
func (o *OauthOK) GetPayload() *models.ActivityResponse
func (*OauthOK) IsClientError ¶
IsClientError returns true when this oauth o k response has a 4xx status code
func (*OauthOK) IsCode ¶
IsCode returns true when this oauth o k response a status code equal to that given
func (*OauthOK) IsRedirect ¶
IsRedirect returns true when this oauth o k response has a 3xx status code
func (*OauthOK) IsServerError ¶
IsServerError returns true when this oauth o k response has a 5xx status code
type OauthParams ¶
type OauthParams struct {
// Body.
Body *models.OauthRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OauthParams contains all the parameters to send to the API endpoint
for the oauth operation. Typically these are written to a http.Request.
func NewOauthParams ¶
func NewOauthParams() *OauthParams
NewOauthParams creates a new OauthParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewOauthParamsWithContext ¶
func NewOauthParamsWithContext(ctx context.Context) *OauthParams
NewOauthParamsWithContext creates a new OauthParams object with the ability to set a context for a request.
func NewOauthParamsWithHTTPClient ¶
func NewOauthParamsWithHTTPClient(client *http.Client) *OauthParams
NewOauthParamsWithHTTPClient creates a new OauthParams object with the ability to set a custom HTTPClient for a request.
func NewOauthParamsWithTimeout ¶
func NewOauthParamsWithTimeout(timeout time.Duration) *OauthParams
NewOauthParamsWithTimeout creates a new OauthParams object with the ability to set a timeout on a request.
func (*OauthParams) SetBody ¶
func (o *OauthParams) SetBody(body *models.OauthRequest)
SetBody adds the body to the oauth params
func (*OauthParams) SetContext ¶
func (o *OauthParams) SetContext(ctx context.Context)
SetContext adds the context to the oauth params
func (*OauthParams) SetDefaults ¶
func (o *OauthParams) SetDefaults()
SetDefaults hydrates default values in the oauth params (not the query body).
All values with no default are reset to their zero value.
func (*OauthParams) SetHTTPClient ¶
func (o *OauthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the oauth params
func (*OauthParams) SetTimeout ¶
func (o *OauthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the oauth params
func (*OauthParams) WithBody ¶
func (o *OauthParams) WithBody(body *models.OauthRequest) *OauthParams
WithBody adds the body to the oauth params
func (*OauthParams) WithContext ¶
func (o *OauthParams) WithContext(ctx context.Context) *OauthParams
WithContext adds the context to the oauth params
func (*OauthParams) WithDefaults ¶
func (o *OauthParams) WithDefaults() *OauthParams
WithDefaults hydrates default values in the oauth params (not the query body).
All values with no default are reset to their zero value.
func (*OauthParams) WithHTTPClient ¶
func (o *OauthParams) WithHTTPClient(client *http.Client) *OauthParams
WithHTTPClient adds the HTTPClient to the oauth params
func (*OauthParams) WithTimeout ¶
func (o *OauthParams) WithTimeout(timeout time.Duration) *OauthParams
WithTimeout adds the timeout to the oauth params
func (*OauthParams) WriteToRequest ¶
func (o *OauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OauthReader ¶
type OauthReader struct {
// contains filtered or unexported fields
}
OauthReader is a Reader for the Oauth structure.
func (*OauthReader) ReadResponse ¶
func (o *OauthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OtpAuthOK ¶
type OtpAuthOK struct {
Payload *models.ActivityResponse
}
OtpAuthOK describes a response with status code 200, with default header values.
A successful response.
func NewOtpAuthOK ¶
func NewOtpAuthOK() *OtpAuthOK
NewOtpAuthOK creates a OtpAuthOK with default headers values
func (*OtpAuthOK) GetPayload ¶
func (o *OtpAuthOK) GetPayload() *models.ActivityResponse
func (*OtpAuthOK) IsClientError ¶
IsClientError returns true when this otp auth o k response has a 4xx status code
func (*OtpAuthOK) IsCode ¶
IsCode returns true when this otp auth o k response a status code equal to that given
func (*OtpAuthOK) IsRedirect ¶
IsRedirect returns true when this otp auth o k response has a 3xx status code
func (*OtpAuthOK) IsServerError ¶
IsServerError returns true when this otp auth o k response has a 5xx status code
type OtpAuthParams ¶
type OtpAuthParams struct {
// Body.
Body *models.OtpAuthRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OtpAuthParams contains all the parameters to send to the API endpoint
for the otp auth operation. Typically these are written to a http.Request.
func NewOtpAuthParams ¶
func NewOtpAuthParams() *OtpAuthParams
NewOtpAuthParams creates a new OtpAuthParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewOtpAuthParamsWithContext ¶
func NewOtpAuthParamsWithContext(ctx context.Context) *OtpAuthParams
NewOtpAuthParamsWithContext creates a new OtpAuthParams object with the ability to set a context for a request.
func NewOtpAuthParamsWithHTTPClient ¶
func NewOtpAuthParamsWithHTTPClient(client *http.Client) *OtpAuthParams
NewOtpAuthParamsWithHTTPClient creates a new OtpAuthParams object with the ability to set a custom HTTPClient for a request.
func NewOtpAuthParamsWithTimeout ¶
func NewOtpAuthParamsWithTimeout(timeout time.Duration) *OtpAuthParams
NewOtpAuthParamsWithTimeout creates a new OtpAuthParams object with the ability to set a timeout on a request.
func (*OtpAuthParams) SetBody ¶
func (o *OtpAuthParams) SetBody(body *models.OtpAuthRequest)
SetBody adds the body to the otp auth params
func (*OtpAuthParams) SetContext ¶
func (o *OtpAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the otp auth params
func (*OtpAuthParams) SetDefaults ¶
func (o *OtpAuthParams) SetDefaults()
SetDefaults hydrates default values in the otp auth params (not the query body).
All values with no default are reset to their zero value.
func (*OtpAuthParams) SetHTTPClient ¶
func (o *OtpAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the otp auth params
func (*OtpAuthParams) SetTimeout ¶
func (o *OtpAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the otp auth params
func (*OtpAuthParams) WithBody ¶
func (o *OtpAuthParams) WithBody(body *models.OtpAuthRequest) *OtpAuthParams
WithBody adds the body to the otp auth params
func (*OtpAuthParams) WithContext ¶
func (o *OtpAuthParams) WithContext(ctx context.Context) *OtpAuthParams
WithContext adds the context to the otp auth params
func (*OtpAuthParams) WithDefaults ¶
func (o *OtpAuthParams) WithDefaults() *OtpAuthParams
WithDefaults hydrates default values in the otp auth params (not the query body).
All values with no default are reset to their zero value.
func (*OtpAuthParams) WithHTTPClient ¶
func (o *OtpAuthParams) WithHTTPClient(client *http.Client) *OtpAuthParams
WithHTTPClient adds the HTTPClient to the otp auth params
func (*OtpAuthParams) WithTimeout ¶
func (o *OtpAuthParams) WithTimeout(timeout time.Duration) *OtpAuthParams
WithTimeout adds the timeout to the otp auth params
func (*OtpAuthParams) WriteToRequest ¶
func (o *OtpAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OtpAuthReader ¶
type OtpAuthReader struct {
// contains filtered or unexported fields
}
OtpAuthReader is a Reader for the OtpAuth structure.
func (*OtpAuthReader) ReadResponse ¶
func (o *OtpAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOauth2CredentialOK ¶ added in v0.9.0
type UpdateOauth2CredentialOK struct {
Payload *models.ActivityResponse
}
UpdateOauth2CredentialOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateOauth2CredentialOK ¶ added in v0.9.0
func NewUpdateOauth2CredentialOK() *UpdateOauth2CredentialOK
NewUpdateOauth2CredentialOK creates a UpdateOauth2CredentialOK with default headers values
func (*UpdateOauth2CredentialOK) Code ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) Code() int
Code gets the status code for the update oauth2 credential o k response
func (*UpdateOauth2CredentialOK) Error ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) Error() string
func (*UpdateOauth2CredentialOK) GetPayload ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) GetPayload() *models.ActivityResponse
func (*UpdateOauth2CredentialOK) IsClientError ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) IsClientError() bool
IsClientError returns true when this update oauth2 credential o k response has a 4xx status code
func (*UpdateOauth2CredentialOK) IsCode ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) IsCode(code int) bool
IsCode returns true when this update oauth2 credential o k response a status code equal to that given
func (*UpdateOauth2CredentialOK) IsRedirect ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) IsRedirect() bool
IsRedirect returns true when this update oauth2 credential o k response has a 3xx status code
func (*UpdateOauth2CredentialOK) IsServerError ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) IsServerError() bool
IsServerError returns true when this update oauth2 credential o k response has a 5xx status code
func (*UpdateOauth2CredentialOK) IsSuccess ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) IsSuccess() bool
IsSuccess returns true when this update oauth2 credential o k response has a 2xx status code
func (*UpdateOauth2CredentialOK) String ¶ added in v0.9.0
func (o *UpdateOauth2CredentialOK) String() string
type UpdateOauth2CredentialParams ¶ added in v0.9.0
type UpdateOauth2CredentialParams struct {
// Body.
Body *models.UpdateOauth2CredentialRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateOauth2CredentialParams contains all the parameters to send to the API endpoint
for the update oauth2 credential operation. Typically these are written to a http.Request.
func NewUpdateOauth2CredentialParams ¶ added in v0.9.0
func NewUpdateOauth2CredentialParams() *UpdateOauth2CredentialParams
NewUpdateOauth2CredentialParams creates a new UpdateOauth2CredentialParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateOauth2CredentialParamsWithContext ¶ added in v0.9.0
func NewUpdateOauth2CredentialParamsWithContext(ctx context.Context) *UpdateOauth2CredentialParams
NewUpdateOauth2CredentialParamsWithContext creates a new UpdateOauth2CredentialParams object with the ability to set a context for a request.
func NewUpdateOauth2CredentialParamsWithHTTPClient ¶ added in v0.9.0
func NewUpdateOauth2CredentialParamsWithHTTPClient(client *http.Client) *UpdateOauth2CredentialParams
NewUpdateOauth2CredentialParamsWithHTTPClient creates a new UpdateOauth2CredentialParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOauth2CredentialParamsWithTimeout ¶ added in v0.9.0
func NewUpdateOauth2CredentialParamsWithTimeout(timeout time.Duration) *UpdateOauth2CredentialParams
NewUpdateOauth2CredentialParamsWithTimeout creates a new UpdateOauth2CredentialParams object with the ability to set a timeout on a request.
func (*UpdateOauth2CredentialParams) SetBody ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) SetBody(body *models.UpdateOauth2CredentialRequest)
SetBody adds the body to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) SetContext ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) SetDefaults ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) SetDefaults()
SetDefaults hydrates default values in the update oauth2 credential params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOauth2CredentialParams) SetHTTPClient ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) SetTimeout ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) WithBody ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) WithBody(body *models.UpdateOauth2CredentialRequest) *UpdateOauth2CredentialParams
WithBody adds the body to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) WithContext ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) WithContext(ctx context.Context) *UpdateOauth2CredentialParams
WithContext adds the context to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) WithDefaults ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) WithDefaults() *UpdateOauth2CredentialParams
WithDefaults hydrates default values in the update oauth2 credential params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOauth2CredentialParams) WithHTTPClient ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) WithHTTPClient(client *http.Client) *UpdateOauth2CredentialParams
WithHTTPClient adds the HTTPClient to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) WithTimeout ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) WithTimeout(timeout time.Duration) *UpdateOauth2CredentialParams
WithTimeout adds the timeout to the update oauth2 credential params
func (*UpdateOauth2CredentialParams) WriteToRequest ¶ added in v0.9.0
func (o *UpdateOauth2CredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOauth2CredentialReader ¶ added in v0.9.0
type UpdateOauth2CredentialReader struct {
// contains filtered or unexported fields
}
UpdateOauth2CredentialReader is a Reader for the UpdateOauth2Credential structure.
func (*UpdateOauth2CredentialReader) ReadResponse ¶ added in v0.9.0
func (o *UpdateOauth2CredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_oauth2_credential_parameters.go
- create_oauth2_credential_responses.go
- create_oauth_providers_parameters.go
- create_oauth_providers_responses.go
- delete_oauth2_credential_parameters.go
- delete_oauth2_credential_responses.go
- delete_oauth_providers_parameters.go
- delete_oauth_providers_responses.go
- email_auth_parameters.go
- email_auth_responses.go
- get_oauth_providers_parameters.go
- get_oauth_providers_responses.go
- init_otp_auth_parameters.go
- init_otp_auth_responses.go
- list_oauth2_credentials_parameters.go
- list_oauth2_credentials_responses.go
- oauth2_authenticate_parameters.go
- oauth2_authenticate_responses.go
- oauth_parameters.go
- oauth_responses.go
- otp_auth_parameters.go
- otp_auth_responses.go
- update_oauth2_credential_parameters.go
- update_oauth2_credential_responses.go
- user_auth_client.go