Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptImagePng(r *runtime.ClientOperation)
- type Client
- func (a *Client) CreateMfaRecoveryCodes(params *CreateMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMfaRecoveryCodesOK, error)
- func (a *Client) DeleteMfa(params *DeleteMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMfaOK, error)
- func (a *Client) DetailMfa(params *DetailMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailMfaOK, error)
- func (a *Client) DetailMfaQrCode(params *DetailMfaQrCodeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailMfaQrCodeOK, error)
- func (a *Client) DetailMfaRecoveryCodes(params *DetailMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailMfaRecoveryCodesOK, error)
- func (a *Client) EnrollMfa(params *EnrollMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnrollMfaCreated, error)
- func (a *Client) GetCurrentIdentity(params *GetCurrentIdentityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentIdentityOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VerifyMfa(params *VerifyMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VerifyMfaOK, error)
- type ClientOption
- type ClientService
- type CreateMfaRecoveryCodesNotFound
- func (o *CreateMfaRecoveryCodesNotFound) Code() int
- func (o *CreateMfaRecoveryCodesNotFound) Error() string
- func (o *CreateMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateMfaRecoveryCodesNotFound) IsClientError() bool
- func (o *CreateMfaRecoveryCodesNotFound) IsCode(code int) bool
- func (o *CreateMfaRecoveryCodesNotFound) IsRedirect() bool
- func (o *CreateMfaRecoveryCodesNotFound) IsServerError() bool
- func (o *CreateMfaRecoveryCodesNotFound) IsSuccess() bool
- func (o *CreateMfaRecoveryCodesNotFound) String() string
- type CreateMfaRecoveryCodesOK
- func (o *CreateMfaRecoveryCodesOK) Code() int
- func (o *CreateMfaRecoveryCodesOK) Error() string
- func (o *CreateMfaRecoveryCodesOK) GetPayload() *rest_model.Empty
- func (o *CreateMfaRecoveryCodesOK) IsClientError() bool
- func (o *CreateMfaRecoveryCodesOK) IsCode(code int) bool
- func (o *CreateMfaRecoveryCodesOK) IsRedirect() bool
- func (o *CreateMfaRecoveryCodesOK) IsServerError() bool
- func (o *CreateMfaRecoveryCodesOK) IsSuccess() bool
- func (o *CreateMfaRecoveryCodesOK) String() string
- type CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParams() *CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParamsWithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) SetContext(ctx context.Context)
- func (o *CreateMfaRecoveryCodesParams) SetDefaults()
- func (o *CreateMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
- func (o *CreateMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *CreateMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
- func (o *CreateMfaRecoveryCodesParams) WithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithDefaults() *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMfaRecoveryCodesReader
- type CreateMfaRecoveryCodesUnauthorized
- func (o *CreateMfaRecoveryCodesUnauthorized) Code() int
- func (o *CreateMfaRecoveryCodesUnauthorized) Error() string
- func (o *CreateMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateMfaRecoveryCodesUnauthorized) IsClientError() bool
- func (o *CreateMfaRecoveryCodesUnauthorized) IsCode(code int) bool
- func (o *CreateMfaRecoveryCodesUnauthorized) IsRedirect() bool
- func (o *CreateMfaRecoveryCodesUnauthorized) IsServerError() bool
- func (o *CreateMfaRecoveryCodesUnauthorized) IsSuccess() bool
- func (o *CreateMfaRecoveryCodesUnauthorized) String() string
- type DeleteMfaNotFound
- func (o *DeleteMfaNotFound) Code() int
- func (o *DeleteMfaNotFound) Error() string
- func (o *DeleteMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteMfaNotFound) IsClientError() bool
- func (o *DeleteMfaNotFound) IsCode(code int) bool
- func (o *DeleteMfaNotFound) IsRedirect() bool
- func (o *DeleteMfaNotFound) IsServerError() bool
- func (o *DeleteMfaNotFound) IsSuccess() bool
- func (o *DeleteMfaNotFound) String() string
- type DeleteMfaOK
- func (o *DeleteMfaOK) Code() int
- func (o *DeleteMfaOK) Error() string
- func (o *DeleteMfaOK) GetPayload() *rest_model.Empty
- func (o *DeleteMfaOK) IsClientError() bool
- func (o *DeleteMfaOK) IsCode(code int) bool
- func (o *DeleteMfaOK) IsRedirect() bool
- func (o *DeleteMfaOK) IsServerError() bool
- func (o *DeleteMfaOK) IsSuccess() bool
- func (o *DeleteMfaOK) String() string
- type DeleteMfaParams
- func (o *DeleteMfaParams) SetContext(ctx context.Context)
- func (o *DeleteMfaParams) SetDefaults()
- func (o *DeleteMfaParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMfaParams) SetMfaValidationCode(mfaValidationCode *string)
- func (o *DeleteMfaParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMfaParams) WithContext(ctx context.Context) *DeleteMfaParams
- func (o *DeleteMfaParams) WithDefaults() *DeleteMfaParams
- func (o *DeleteMfaParams) WithHTTPClient(client *http.Client) *DeleteMfaParams
- func (o *DeleteMfaParams) WithMfaValidationCode(mfaValidationCode *string) *DeleteMfaParams
- func (o *DeleteMfaParams) WithTimeout(timeout time.Duration) *DeleteMfaParams
- func (o *DeleteMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMfaReader
- type DeleteMfaUnauthorized
- func (o *DeleteMfaUnauthorized) Code() int
- func (o *DeleteMfaUnauthorized) Error() string
- func (o *DeleteMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteMfaUnauthorized) IsClientError() bool
- func (o *DeleteMfaUnauthorized) IsCode(code int) bool
- func (o *DeleteMfaUnauthorized) IsRedirect() bool
- func (o *DeleteMfaUnauthorized) IsServerError() bool
- func (o *DeleteMfaUnauthorized) IsSuccess() bool
- func (o *DeleteMfaUnauthorized) String() string
- type DetailMfaNotFound
- func (o *DetailMfaNotFound) Code() int
- func (o *DetailMfaNotFound) Error() string
- func (o *DetailMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailMfaNotFound) IsClientError() bool
- func (o *DetailMfaNotFound) IsCode(code int) bool
- func (o *DetailMfaNotFound) IsRedirect() bool
- func (o *DetailMfaNotFound) IsServerError() bool
- func (o *DetailMfaNotFound) IsSuccess() bool
- func (o *DetailMfaNotFound) String() string
- type DetailMfaOK
- func (o *DetailMfaOK) Code() int
- func (o *DetailMfaOK) Error() string
- func (o *DetailMfaOK) GetPayload() *rest_model.DetailMfaEnvelope
- func (o *DetailMfaOK) IsClientError() bool
- func (o *DetailMfaOK) IsCode(code int) bool
- func (o *DetailMfaOK) IsRedirect() bool
- func (o *DetailMfaOK) IsServerError() bool
- func (o *DetailMfaOK) IsSuccess() bool
- func (o *DetailMfaOK) String() string
- type DetailMfaParams
- func (o *DetailMfaParams) SetContext(ctx context.Context)
- func (o *DetailMfaParams) SetDefaults()
- func (o *DetailMfaParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaParams) WithContext(ctx context.Context) *DetailMfaParams
- func (o *DetailMfaParams) WithDefaults() *DetailMfaParams
- func (o *DetailMfaParams) WithHTTPClient(client *http.Client) *DetailMfaParams
- func (o *DetailMfaParams) WithTimeout(timeout time.Duration) *DetailMfaParams
- func (o *DetailMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailMfaQrCodeNotFound
- func (o *DetailMfaQrCodeNotFound) Code() int
- func (o *DetailMfaQrCodeNotFound) Error() string
- func (o *DetailMfaQrCodeNotFound) IsClientError() bool
- func (o *DetailMfaQrCodeNotFound) IsCode(code int) bool
- func (o *DetailMfaQrCodeNotFound) IsRedirect() bool
- func (o *DetailMfaQrCodeNotFound) IsServerError() bool
- func (o *DetailMfaQrCodeNotFound) IsSuccess() bool
- func (o *DetailMfaQrCodeNotFound) String() string
- type DetailMfaQrCodeOK
- func (o *DetailMfaQrCodeOK) Code() int
- func (o *DetailMfaQrCodeOK) Error() string
- func (o *DetailMfaQrCodeOK) IsClientError() bool
- func (o *DetailMfaQrCodeOK) IsCode(code int) bool
- func (o *DetailMfaQrCodeOK) IsRedirect() bool
- func (o *DetailMfaQrCodeOK) IsServerError() bool
- func (o *DetailMfaQrCodeOK) IsSuccess() bool
- func (o *DetailMfaQrCodeOK) String() string
- type DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParams() *DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParamsWithContext(ctx context.Context) *DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParamsWithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParamsWithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) SetContext(ctx context.Context)
- func (o *DetailMfaQrCodeParams) SetDefaults()
- func (o *DetailMfaQrCodeParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaQrCodeParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaQrCodeParams) WithContext(ctx context.Context) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WithDefaults() *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailMfaQrCodeReader
- type DetailMfaReader
- type DetailMfaRecoveryCodesNotFound
- func (o *DetailMfaRecoveryCodesNotFound) Code() int
- func (o *DetailMfaRecoveryCodesNotFound) Error() string
- func (o *DetailMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailMfaRecoveryCodesNotFound) IsClientError() bool
- func (o *DetailMfaRecoveryCodesNotFound) IsCode(code int) bool
- func (o *DetailMfaRecoveryCodesNotFound) IsRedirect() bool
- func (o *DetailMfaRecoveryCodesNotFound) IsServerError() bool
- func (o *DetailMfaRecoveryCodesNotFound) IsSuccess() bool
- func (o *DetailMfaRecoveryCodesNotFound) String() string
- type DetailMfaRecoveryCodesOK
- func (o *DetailMfaRecoveryCodesOK) Code() int
- func (o *DetailMfaRecoveryCodesOK) Error() string
- func (o *DetailMfaRecoveryCodesOK) GetPayload() *rest_model.DetailMfaRecoveryCodesEnvelope
- func (o *DetailMfaRecoveryCodesOK) IsClientError() bool
- func (o *DetailMfaRecoveryCodesOK) IsCode(code int) bool
- func (o *DetailMfaRecoveryCodesOK) IsRedirect() bool
- func (o *DetailMfaRecoveryCodesOK) IsServerError() bool
- func (o *DetailMfaRecoveryCodesOK) IsSuccess() bool
- func (o *DetailMfaRecoveryCodesOK) String() string
- type DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParams() *DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParamsWithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) SetContext(ctx context.Context)
- func (o *DetailMfaRecoveryCodesParams) SetDefaults()
- func (o *DetailMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *DetailMfaRecoveryCodesParams) SetMfaValidationCode(mfaValidationCode *string)
- func (o *DetailMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaRecoveryCodesParams) WithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithDefaults() *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithMfaValidationCode(mfaValidationCode *string) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailMfaRecoveryCodesReader
- type DetailMfaRecoveryCodesUnauthorized
- func (o *DetailMfaRecoveryCodesUnauthorized) Code() int
- func (o *DetailMfaRecoveryCodesUnauthorized) Error() string
- func (o *DetailMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailMfaRecoveryCodesUnauthorized) IsClientError() bool
- func (o *DetailMfaRecoveryCodesUnauthorized) IsCode(code int) bool
- func (o *DetailMfaRecoveryCodesUnauthorized) IsRedirect() bool
- func (o *DetailMfaRecoveryCodesUnauthorized) IsServerError() bool
- func (o *DetailMfaRecoveryCodesUnauthorized) IsSuccess() bool
- func (o *DetailMfaRecoveryCodesUnauthorized) String() string
- type DetailMfaUnauthorized
- func (o *DetailMfaUnauthorized) Code() int
- func (o *DetailMfaUnauthorized) Error() string
- func (o *DetailMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailMfaUnauthorized) IsClientError() bool
- func (o *DetailMfaUnauthorized) IsCode(code int) bool
- func (o *DetailMfaUnauthorized) IsRedirect() bool
- func (o *DetailMfaUnauthorized) IsServerError() bool
- func (o *DetailMfaUnauthorized) IsSuccess() bool
- func (o *DetailMfaUnauthorized) String() string
- type EnrollMfaConflict
- func (o *EnrollMfaConflict) Code() int
- func (o *EnrollMfaConflict) Error() string
- func (o *EnrollMfaConflict) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollMfaConflict) IsClientError() bool
- func (o *EnrollMfaConflict) IsCode(code int) bool
- func (o *EnrollMfaConflict) IsRedirect() bool
- func (o *EnrollMfaConflict) IsServerError() bool
- func (o *EnrollMfaConflict) IsSuccess() bool
- func (o *EnrollMfaConflict) String() string
- type EnrollMfaCreated
- func (o *EnrollMfaCreated) Code() int
- func (o *EnrollMfaCreated) Error() string
- func (o *EnrollMfaCreated) GetPayload() *rest_model.CreateEnvelope
- func (o *EnrollMfaCreated) IsClientError() bool
- func (o *EnrollMfaCreated) IsCode(code int) bool
- func (o *EnrollMfaCreated) IsRedirect() bool
- func (o *EnrollMfaCreated) IsServerError() bool
- func (o *EnrollMfaCreated) IsSuccess() bool
- func (o *EnrollMfaCreated) String() string
- type EnrollMfaParams
- func (o *EnrollMfaParams) SetContext(ctx context.Context)
- func (o *EnrollMfaParams) SetDefaults()
- func (o *EnrollMfaParams) SetHTTPClient(client *http.Client)
- func (o *EnrollMfaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollMfaParams) WithContext(ctx context.Context) *EnrollMfaParams
- func (o *EnrollMfaParams) WithDefaults() *EnrollMfaParams
- func (o *EnrollMfaParams) WithHTTPClient(client *http.Client) *EnrollMfaParams
- func (o *EnrollMfaParams) WithTimeout(timeout time.Duration) *EnrollMfaParams
- func (o *EnrollMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollMfaReader
- type EnrollMfaUnauthorized
- func (o *EnrollMfaUnauthorized) Code() int
- func (o *EnrollMfaUnauthorized) Error() string
- func (o *EnrollMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollMfaUnauthorized) IsClientError() bool
- func (o *EnrollMfaUnauthorized) IsCode(code int) bool
- func (o *EnrollMfaUnauthorized) IsRedirect() bool
- func (o *EnrollMfaUnauthorized) IsServerError() bool
- func (o *EnrollMfaUnauthorized) IsSuccess() bool
- func (o *EnrollMfaUnauthorized) String() string
- type GetCurrentIdentityOK
- func (o *GetCurrentIdentityOK) Code() int
- func (o *GetCurrentIdentityOK) Error() string
- func (o *GetCurrentIdentityOK) GetPayload() *rest_model.CurrentIdentityDetailEnvelope
- func (o *GetCurrentIdentityOK) IsClientError() bool
- func (o *GetCurrentIdentityOK) IsCode(code int) bool
- func (o *GetCurrentIdentityOK) IsRedirect() bool
- func (o *GetCurrentIdentityOK) IsServerError() bool
- func (o *GetCurrentIdentityOK) IsSuccess() bool
- func (o *GetCurrentIdentityOK) String() string
- type GetCurrentIdentityParams
- func NewGetCurrentIdentityParams() *GetCurrentIdentityParams
- func NewGetCurrentIdentityParamsWithContext(ctx context.Context) *GetCurrentIdentityParams
- func NewGetCurrentIdentityParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityParams
- func NewGetCurrentIdentityParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) SetContext(ctx context.Context)
- func (o *GetCurrentIdentityParams) SetDefaults()
- func (o *GetCurrentIdentityParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentIdentityParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentIdentityParams) WithContext(ctx context.Context) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WithDefaults() *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentIdentityReader
- type GetCurrentIdentityUnauthorized
- func (o *GetCurrentIdentityUnauthorized) Code() int
- func (o *GetCurrentIdentityUnauthorized) Error() string
- func (o *GetCurrentIdentityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *GetCurrentIdentityUnauthorized) IsClientError() bool
- func (o *GetCurrentIdentityUnauthorized) IsCode(code int) bool
- func (o *GetCurrentIdentityUnauthorized) IsRedirect() bool
- func (o *GetCurrentIdentityUnauthorized) IsServerError() bool
- func (o *GetCurrentIdentityUnauthorized) IsSuccess() bool
- func (o *GetCurrentIdentityUnauthorized) String() string
- type VerifyMfaNotFound
- func (o *VerifyMfaNotFound) Code() int
- func (o *VerifyMfaNotFound) Error() string
- func (o *VerifyMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *VerifyMfaNotFound) IsClientError() bool
- func (o *VerifyMfaNotFound) IsCode(code int) bool
- func (o *VerifyMfaNotFound) IsRedirect() bool
- func (o *VerifyMfaNotFound) IsServerError() bool
- func (o *VerifyMfaNotFound) IsSuccess() bool
- func (o *VerifyMfaNotFound) String() string
- type VerifyMfaOK
- func (o *VerifyMfaOK) Code() int
- func (o *VerifyMfaOK) Error() string
- func (o *VerifyMfaOK) GetPayload() *rest_model.Empty
- func (o *VerifyMfaOK) IsClientError() bool
- func (o *VerifyMfaOK) IsCode(code int) bool
- func (o *VerifyMfaOK) IsRedirect() bool
- func (o *VerifyMfaOK) IsServerError() bool
- func (o *VerifyMfaOK) IsSuccess() bool
- func (o *VerifyMfaOK) String() string
- type VerifyMfaParams
- func (o *VerifyMfaParams) SetContext(ctx context.Context)
- func (o *VerifyMfaParams) SetDefaults()
- func (o *VerifyMfaParams) SetHTTPClient(client *http.Client)
- func (o *VerifyMfaParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *VerifyMfaParams) SetTimeout(timeout time.Duration)
- func (o *VerifyMfaParams) WithContext(ctx context.Context) *VerifyMfaParams
- func (o *VerifyMfaParams) WithDefaults() *VerifyMfaParams
- func (o *VerifyMfaParams) WithHTTPClient(client *http.Client) *VerifyMfaParams
- func (o *VerifyMfaParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *VerifyMfaParams
- func (o *VerifyMfaParams) WithTimeout(timeout time.Duration) *VerifyMfaParams
- func (o *VerifyMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyMfaReader
- type VerifyMfaUnauthorized
- func (o *VerifyMfaUnauthorized) Code() int
- func (o *VerifyMfaUnauthorized) Error() string
- func (o *VerifyMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *VerifyMfaUnauthorized) IsClientError() bool
- func (o *VerifyMfaUnauthorized) IsCode(code int) bool
- func (o *VerifyMfaUnauthorized) IsRedirect() bool
- func (o *VerifyMfaUnauthorized) IsServerError() bool
- func (o *VerifyMfaUnauthorized) IsSuccess() bool
- func (o *VerifyMfaUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶ added in v0.26.53
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptImagePng ¶ added in v0.26.53
func WithAcceptImagePng(r *runtime.ClientOperation)
WithAcceptImagePng sets the Accept header to "image/png".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for current identity API
func (*Client) CreateMfaRecoveryCodes ¶
func (a *Client) CreateMfaRecoveryCodes(params *CreateMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMfaRecoveryCodesOK, error)
CreateMfaRecoveryCodes fors a completed m f a enrollment regenerate the recovery codes
Allows regeneration of recovery codes of an MFA enrollment. Requires a current valid time based one time password to interact with. Available after a completed MFA enrollment. This replaces all existing recovery codes.
func (*Client) DeleteMfa ¶
func (a *Client) DeleteMfa(params *DeleteMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMfaOK, error)
DeleteMfa disables m f a for the current identity
Disable MFA for the current identity. Requires a current valid time based one time password if MFA enrollment has been completed. If not, code should be an empty string. If one time passwords are not available and admin account can be used to remove MFA from the identity via `DELETE /identities/<id>/mfa`.
func (*Client) DetailMfa ¶
func (a *Client) DetailMfa(params *DetailMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailMfaOK, error)
DetailMfa returns the current status of m f a enrollment
Returns details about the current MFA enrollment. If enrollment has not been completed it will return the current MFA configuration details necessary to complete a `POST /current-identity/mfa/verify`.
func (*Client) DetailMfaQrCode ¶
func (a *Client) DetailMfaQrCode(params *DetailMfaQrCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailMfaQrCodeOK, error)
DetailMfaQrCode shows a q r code for unverified m f a enrollments
Shows an QR code image for unverified MFA enrollments. 404s if the MFA enrollment has been completed or not started.
func (*Client) DetailMfaRecoveryCodes ¶
func (a *Client) DetailMfaRecoveryCodes(params *DetailMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailMfaRecoveryCodesOK, error)
DetailMfaRecoveryCodes fors a completed m f a enrollment view the current recovery codes
Allows the viewing of recovery codes of an MFA enrollment. Requires a current valid time based one time password to interact with. Available after a completed MFA enrollment.
func (*Client) EnrollMfa ¶
func (a *Client) EnrollMfa(params *EnrollMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnrollMfaCreated, error)
EnrollMfa initiates m f a enrollment
Allows authenticator based MFA enrollment. If enrollment has already been completed, it must be disabled before attempting to re-enroll. Subsequent enrollment request is completed via `POST /current-identity/mfa/verify`
func (*Client) GetCurrentIdentity ¶
func (a *Client) GetCurrentIdentity(params *GetCurrentIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentIdentityOK, error)
GetCurrentIdentity returns the current identity
Returns the identity associated with the API sessions used to issue the current request
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VerifyMfa ¶
func (a *Client) VerifyMfa(params *VerifyMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyMfaOK, error)
VerifyMfa completes m f a enrollment by verifying a time based one time token
Completes MFA enrollment by accepting a time based one time password as verification. Called after MFA enrollment has been initiated via `POST /current-identity/mfa`.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶ added in v0.26.53
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
CreateMfaRecoveryCodes(params *CreateMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMfaRecoveryCodesOK, error)
DeleteMfa(params *DeleteMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMfaOK, error)
DetailMfa(params *DetailMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailMfaOK, error)
DetailMfaQrCode(params *DetailMfaQrCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailMfaQrCodeOK, error)
DetailMfaRecoveryCodes(params *DetailMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailMfaRecoveryCodesOK, error)
EnrollMfa(params *EnrollMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnrollMfaCreated, error)
GetCurrentIdentity(params *GetCurrentIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentIdentityOK, error)
VerifyMfa(params *VerifyMfaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyMfaOK, 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 current identity API client.
func NewClientWithBasicAuth ¶ added in v0.26.53
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new current identity API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.26.53
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new current identity API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateMfaRecoveryCodesNotFound ¶
type CreateMfaRecoveryCodesNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreateMfaRecoveryCodesNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewCreateMfaRecoveryCodesNotFound ¶
func NewCreateMfaRecoveryCodesNotFound() *CreateMfaRecoveryCodesNotFound
NewCreateMfaRecoveryCodesNotFound creates a CreateMfaRecoveryCodesNotFound with default headers values
func (*CreateMfaRecoveryCodesNotFound) Code ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) Code() int
Code gets the status code for the create mfa recovery codes not found response
func (*CreateMfaRecoveryCodesNotFound) Error ¶
func (o *CreateMfaRecoveryCodesNotFound) Error() string
func (*CreateMfaRecoveryCodesNotFound) GetPayload ¶
func (o *CreateMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateMfaRecoveryCodesNotFound) IsClientError ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) IsClientError() bool
IsClientError returns true when this create mfa recovery codes not found response has a 4xx status code
func (*CreateMfaRecoveryCodesNotFound) IsCode ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) IsCode(code int) bool
IsCode returns true when this create mfa recovery codes not found response a status code equal to that given
func (*CreateMfaRecoveryCodesNotFound) IsRedirect ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) IsRedirect() bool
IsRedirect returns true when this create mfa recovery codes not found response has a 3xx status code
func (*CreateMfaRecoveryCodesNotFound) IsServerError ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) IsServerError() bool
IsServerError returns true when this create mfa recovery codes not found response has a 5xx status code
func (*CreateMfaRecoveryCodesNotFound) IsSuccess ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) IsSuccess() bool
IsSuccess returns true when this create mfa recovery codes not found response has a 2xx status code
func (*CreateMfaRecoveryCodesNotFound) String ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesNotFound) String() string
type CreateMfaRecoveryCodesOK ¶
type CreateMfaRecoveryCodesOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
CreateMfaRecoveryCodesOK describes a response with status code 200, with default header values.
Base empty response
func NewCreateMfaRecoveryCodesOK ¶
func NewCreateMfaRecoveryCodesOK() *CreateMfaRecoveryCodesOK
NewCreateMfaRecoveryCodesOK creates a CreateMfaRecoveryCodesOK with default headers values
func (*CreateMfaRecoveryCodesOK) Code ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) Code() int
Code gets the status code for the create mfa recovery codes o k response
func (*CreateMfaRecoveryCodesOK) Error ¶
func (o *CreateMfaRecoveryCodesOK) Error() string
func (*CreateMfaRecoveryCodesOK) GetPayload ¶
func (o *CreateMfaRecoveryCodesOK) GetPayload() *rest_model.Empty
func (*CreateMfaRecoveryCodesOK) IsClientError ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) IsClientError() bool
IsClientError returns true when this create mfa recovery codes o k response has a 4xx status code
func (*CreateMfaRecoveryCodesOK) IsCode ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) IsCode(code int) bool
IsCode returns true when this create mfa recovery codes o k response a status code equal to that given
func (*CreateMfaRecoveryCodesOK) IsRedirect ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) IsRedirect() bool
IsRedirect returns true when this create mfa recovery codes o k response has a 3xx status code
func (*CreateMfaRecoveryCodesOK) IsServerError ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) IsServerError() bool
IsServerError returns true when this create mfa recovery codes o k response has a 5xx status code
func (*CreateMfaRecoveryCodesOK) IsSuccess ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) IsSuccess() bool
IsSuccess returns true when this create mfa recovery codes o k response has a 2xx status code
func (*CreateMfaRecoveryCodesOK) String ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesOK) String() string
type CreateMfaRecoveryCodesParams ¶
type CreateMfaRecoveryCodesParams struct {
/* MfaValidation.
An MFA validation request
*/
MfaValidation *rest_model.MfaCode
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateMfaRecoveryCodesParams contains all the parameters to send to the API endpoint
for the create mfa recovery codes operation. Typically these are written to a http.Request.
func NewCreateMfaRecoveryCodesParams ¶
func NewCreateMfaRecoveryCodesParams() *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParams creates a new CreateMfaRecoveryCodesParams 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 NewCreateMfaRecoveryCodesParamsWithContext ¶
func NewCreateMfaRecoveryCodesParamsWithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParamsWithContext creates a new CreateMfaRecoveryCodesParams object with the ability to set a context for a request.
func NewCreateMfaRecoveryCodesParamsWithHTTPClient ¶
func NewCreateMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParamsWithHTTPClient creates a new CreateMfaRecoveryCodesParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMfaRecoveryCodesParamsWithTimeout ¶
func NewCreateMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParamsWithTimeout creates a new CreateMfaRecoveryCodesParams object with the ability to set a timeout on a request.
func (*CreateMfaRecoveryCodesParams) SetContext ¶
func (o *CreateMfaRecoveryCodesParams) SetContext(ctx context.Context)
SetContext adds the context to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) SetDefaults ¶
func (o *CreateMfaRecoveryCodesParams) SetDefaults()
SetDefaults hydrates default values in the create mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMfaRecoveryCodesParams) SetHTTPClient ¶
func (o *CreateMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) SetMfaValidation ¶
func (o *CreateMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
SetMfaValidation adds the mfaValidation to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) SetTimeout ¶
func (o *CreateMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithContext ¶
func (o *CreateMfaRecoveryCodesParams) WithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
WithContext adds the context to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithDefaults ¶
func (o *CreateMfaRecoveryCodesParams) WithDefaults() *CreateMfaRecoveryCodesParams
WithDefaults hydrates default values in the create mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMfaRecoveryCodesParams) WithHTTPClient ¶
func (o *CreateMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
WithHTTPClient adds the HTTPClient to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithMfaValidation ¶
func (o *CreateMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *CreateMfaRecoveryCodesParams
WithMfaValidation adds the mfaValidation to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithTimeout ¶
func (o *CreateMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
WithTimeout adds the timeout to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WriteToRequest ¶
func (o *CreateMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMfaRecoveryCodesReader ¶
type CreateMfaRecoveryCodesReader struct {
// contains filtered or unexported fields
}
CreateMfaRecoveryCodesReader is a Reader for the CreateMfaRecoveryCodes structure.
func (*CreateMfaRecoveryCodesReader) ReadResponse ¶
func (o *CreateMfaRecoveryCodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateMfaRecoveryCodesUnauthorized ¶
type CreateMfaRecoveryCodesUnauthorized struct {
WWWAuthenticate []string
}
CreateMfaRecoveryCodesUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewCreateMfaRecoveryCodesUnauthorized ¶
func NewCreateMfaRecoveryCodesUnauthorized() *CreateMfaRecoveryCodesUnauthorized
NewCreateMfaRecoveryCodesUnauthorized creates a CreateMfaRecoveryCodesUnauthorized with default headers values
func (*CreateMfaRecoveryCodesUnauthorized) Code ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) Code() int
Code gets the status code for the create mfa recovery codes unauthorized response
func (*CreateMfaRecoveryCodesUnauthorized) Error ¶
func (o *CreateMfaRecoveryCodesUnauthorized) Error() string
func (*CreateMfaRecoveryCodesUnauthorized) GetPayload ¶
func (o *CreateMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateMfaRecoveryCodesUnauthorized) IsClientError ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) IsClientError() bool
IsClientError returns true when this create mfa recovery codes unauthorized response has a 4xx status code
func (*CreateMfaRecoveryCodesUnauthorized) IsCode ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) IsCode(code int) bool
IsCode returns true when this create mfa recovery codes unauthorized response a status code equal to that given
func (*CreateMfaRecoveryCodesUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) IsRedirect() bool
IsRedirect returns true when this create mfa recovery codes unauthorized response has a 3xx status code
func (*CreateMfaRecoveryCodesUnauthorized) IsServerError ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) IsServerError() bool
IsServerError returns true when this create mfa recovery codes unauthorized response has a 5xx status code
func (*CreateMfaRecoveryCodesUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) IsSuccess() bool
IsSuccess returns true when this create mfa recovery codes unauthorized response has a 2xx status code
func (*CreateMfaRecoveryCodesUnauthorized) String ¶ added in v0.26.53
func (o *CreateMfaRecoveryCodesUnauthorized) String() string
type DeleteMfaNotFound ¶
type DeleteMfaNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DeleteMfaNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDeleteMfaNotFound ¶
func NewDeleteMfaNotFound() *DeleteMfaNotFound
NewDeleteMfaNotFound creates a DeleteMfaNotFound with default headers values
func (*DeleteMfaNotFound) Code ¶ added in v0.26.53
func (o *DeleteMfaNotFound) Code() int
Code gets the status code for the delete mfa not found response
func (*DeleteMfaNotFound) Error ¶
func (o *DeleteMfaNotFound) Error() string
func (*DeleteMfaNotFound) GetPayload ¶
func (o *DeleteMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteMfaNotFound) IsClientError ¶ added in v0.26.53
func (o *DeleteMfaNotFound) IsClientError() bool
IsClientError returns true when this delete mfa not found response has a 4xx status code
func (*DeleteMfaNotFound) IsCode ¶ added in v0.26.53
func (o *DeleteMfaNotFound) IsCode(code int) bool
IsCode returns true when this delete mfa not found response a status code equal to that given
func (*DeleteMfaNotFound) IsRedirect ¶ added in v0.26.53
func (o *DeleteMfaNotFound) IsRedirect() bool
IsRedirect returns true when this delete mfa not found response has a 3xx status code
func (*DeleteMfaNotFound) IsServerError ¶ added in v0.26.53
func (o *DeleteMfaNotFound) IsServerError() bool
IsServerError returns true when this delete mfa not found response has a 5xx status code
func (*DeleteMfaNotFound) IsSuccess ¶ added in v0.26.53
func (o *DeleteMfaNotFound) IsSuccess() bool
IsSuccess returns true when this delete mfa not found response has a 2xx status code
func (*DeleteMfaNotFound) String ¶ added in v0.26.53
func (o *DeleteMfaNotFound) String() string
type DeleteMfaOK ¶
type DeleteMfaOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
DeleteMfaOK describes a response with status code 200, with default header values.
Base empty response
func NewDeleteMfaOK ¶
func NewDeleteMfaOK() *DeleteMfaOK
NewDeleteMfaOK creates a DeleteMfaOK with default headers values
func (*DeleteMfaOK) Code ¶ added in v0.26.53
func (o *DeleteMfaOK) Code() int
Code gets the status code for the delete mfa o k response
func (*DeleteMfaOK) Error ¶
func (o *DeleteMfaOK) Error() string
func (*DeleteMfaOK) GetPayload ¶
func (o *DeleteMfaOK) GetPayload() *rest_model.Empty
func (*DeleteMfaOK) IsClientError ¶ added in v0.26.53
func (o *DeleteMfaOK) IsClientError() bool
IsClientError returns true when this delete mfa o k response has a 4xx status code
func (*DeleteMfaOK) IsCode ¶ added in v0.26.53
func (o *DeleteMfaOK) IsCode(code int) bool
IsCode returns true when this delete mfa o k response a status code equal to that given
func (*DeleteMfaOK) IsRedirect ¶ added in v0.26.53
func (o *DeleteMfaOK) IsRedirect() bool
IsRedirect returns true when this delete mfa o k response has a 3xx status code
func (*DeleteMfaOK) IsServerError ¶ added in v0.26.53
func (o *DeleteMfaOK) IsServerError() bool
IsServerError returns true when this delete mfa o k response has a 5xx status code
func (*DeleteMfaOK) IsSuccess ¶ added in v0.26.53
func (o *DeleteMfaOK) IsSuccess() bool
IsSuccess returns true when this delete mfa o k response has a 2xx status code
func (*DeleteMfaOK) String ¶ added in v0.26.53
func (o *DeleteMfaOK) String() string
type DeleteMfaParams ¶
type DeleteMfaParams struct {
// MfaValidationCode.
MfaValidationCode *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteMfaParams contains all the parameters to send to the API endpoint
for the delete mfa operation. Typically these are written to a http.Request.
func NewDeleteMfaParams ¶
func NewDeleteMfaParams() *DeleteMfaParams
NewDeleteMfaParams creates a new DeleteMfaParams 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 NewDeleteMfaParamsWithContext ¶
func NewDeleteMfaParamsWithContext(ctx context.Context) *DeleteMfaParams
NewDeleteMfaParamsWithContext creates a new DeleteMfaParams object with the ability to set a context for a request.
func NewDeleteMfaParamsWithHTTPClient ¶
func NewDeleteMfaParamsWithHTTPClient(client *http.Client) *DeleteMfaParams
NewDeleteMfaParamsWithHTTPClient creates a new DeleteMfaParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMfaParamsWithTimeout ¶
func NewDeleteMfaParamsWithTimeout(timeout time.Duration) *DeleteMfaParams
NewDeleteMfaParamsWithTimeout creates a new DeleteMfaParams object with the ability to set a timeout on a request.
func (*DeleteMfaParams) SetContext ¶
func (o *DeleteMfaParams) SetContext(ctx context.Context)
SetContext adds the context to the delete mfa params
func (*DeleteMfaParams) SetDefaults ¶
func (o *DeleteMfaParams) SetDefaults()
SetDefaults hydrates default values in the delete mfa params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMfaParams) SetHTTPClient ¶
func (o *DeleteMfaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete mfa params
func (*DeleteMfaParams) SetMfaValidationCode ¶
func (o *DeleteMfaParams) SetMfaValidationCode(mfaValidationCode *string)
SetMfaValidationCode adds the mfaValidationCode to the delete mfa params
func (*DeleteMfaParams) SetTimeout ¶
func (o *DeleteMfaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete mfa params
func (*DeleteMfaParams) WithContext ¶
func (o *DeleteMfaParams) WithContext(ctx context.Context) *DeleteMfaParams
WithContext adds the context to the delete mfa params
func (*DeleteMfaParams) WithDefaults ¶
func (o *DeleteMfaParams) WithDefaults() *DeleteMfaParams
WithDefaults hydrates default values in the delete mfa params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMfaParams) WithHTTPClient ¶
func (o *DeleteMfaParams) WithHTTPClient(client *http.Client) *DeleteMfaParams
WithHTTPClient adds the HTTPClient to the delete mfa params
func (*DeleteMfaParams) WithMfaValidationCode ¶
func (o *DeleteMfaParams) WithMfaValidationCode(mfaValidationCode *string) *DeleteMfaParams
WithMfaValidationCode adds the mfaValidationCode to the delete mfa params
func (*DeleteMfaParams) WithTimeout ¶
func (o *DeleteMfaParams) WithTimeout(timeout time.Duration) *DeleteMfaParams
WithTimeout adds the timeout to the delete mfa params
func (*DeleteMfaParams) WriteToRequest ¶
func (o *DeleteMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMfaReader ¶
type DeleteMfaReader struct {
// contains filtered or unexported fields
}
DeleteMfaReader is a Reader for the DeleteMfa structure.
func (*DeleteMfaReader) ReadResponse ¶
func (o *DeleteMfaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteMfaUnauthorized ¶
type DeleteMfaUnauthorized struct {
WWWAuthenticate []string
}
DeleteMfaUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDeleteMfaUnauthorized ¶
func NewDeleteMfaUnauthorized() *DeleteMfaUnauthorized
NewDeleteMfaUnauthorized creates a DeleteMfaUnauthorized with default headers values
func (*DeleteMfaUnauthorized) Code ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) Code() int
Code gets the status code for the delete mfa unauthorized response
func (*DeleteMfaUnauthorized) Error ¶
func (o *DeleteMfaUnauthorized) Error() string
func (*DeleteMfaUnauthorized) GetPayload ¶
func (o *DeleteMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteMfaUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) IsClientError() bool
IsClientError returns true when this delete mfa unauthorized response has a 4xx status code
func (*DeleteMfaUnauthorized) IsCode ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) IsCode(code int) bool
IsCode returns true when this delete mfa unauthorized response a status code equal to that given
func (*DeleteMfaUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete mfa unauthorized response has a 3xx status code
func (*DeleteMfaUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) IsServerError() bool
IsServerError returns true when this delete mfa unauthorized response has a 5xx status code
func (*DeleteMfaUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete mfa unauthorized response has a 2xx status code
func (*DeleteMfaUnauthorized) String ¶ added in v0.26.53
func (o *DeleteMfaUnauthorized) String() string
type DetailMfaNotFound ¶
type DetailMfaNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailMfaNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailMfaNotFound ¶
func NewDetailMfaNotFound() *DetailMfaNotFound
NewDetailMfaNotFound creates a DetailMfaNotFound with default headers values
func (*DetailMfaNotFound) Code ¶ added in v0.26.53
func (o *DetailMfaNotFound) Code() int
Code gets the status code for the detail mfa not found response
func (*DetailMfaNotFound) Error ¶
func (o *DetailMfaNotFound) Error() string
func (*DetailMfaNotFound) GetPayload ¶
func (o *DetailMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailMfaNotFound) IsClientError ¶ added in v0.26.53
func (o *DetailMfaNotFound) IsClientError() bool
IsClientError returns true when this detail mfa not found response has a 4xx status code
func (*DetailMfaNotFound) IsCode ¶ added in v0.26.53
func (o *DetailMfaNotFound) IsCode(code int) bool
IsCode returns true when this detail mfa not found response a status code equal to that given
func (*DetailMfaNotFound) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaNotFound) IsRedirect() bool
IsRedirect returns true when this detail mfa not found response has a 3xx status code
func (*DetailMfaNotFound) IsServerError ¶ added in v0.26.53
func (o *DetailMfaNotFound) IsServerError() bool
IsServerError returns true when this detail mfa not found response has a 5xx status code
func (*DetailMfaNotFound) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaNotFound) IsSuccess() bool
IsSuccess returns true when this detail mfa not found response has a 2xx status code
func (*DetailMfaNotFound) String ¶ added in v0.26.53
func (o *DetailMfaNotFound) String() string
type DetailMfaOK ¶
type DetailMfaOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.DetailMfaEnvelope
}
DetailMfaOK describes a response with status code 200, with default header values.
The details of an MFA enrollment
func NewDetailMfaOK ¶
func NewDetailMfaOK() *DetailMfaOK
NewDetailMfaOK creates a DetailMfaOK with default headers values
func (*DetailMfaOK) Code ¶ added in v0.26.53
func (o *DetailMfaOK) Code() int
Code gets the status code for the detail mfa o k response
func (*DetailMfaOK) Error ¶
func (o *DetailMfaOK) Error() string
func (*DetailMfaOK) GetPayload ¶
func (o *DetailMfaOK) GetPayload() *rest_model.DetailMfaEnvelope
func (*DetailMfaOK) IsClientError ¶ added in v0.26.53
func (o *DetailMfaOK) IsClientError() bool
IsClientError returns true when this detail mfa o k response has a 4xx status code
func (*DetailMfaOK) IsCode ¶ added in v0.26.53
func (o *DetailMfaOK) IsCode(code int) bool
IsCode returns true when this detail mfa o k response a status code equal to that given
func (*DetailMfaOK) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaOK) IsRedirect() bool
IsRedirect returns true when this detail mfa o k response has a 3xx status code
func (*DetailMfaOK) IsServerError ¶ added in v0.26.53
func (o *DetailMfaOK) IsServerError() bool
IsServerError returns true when this detail mfa o k response has a 5xx status code
func (*DetailMfaOK) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaOK) IsSuccess() bool
IsSuccess returns true when this detail mfa o k response has a 2xx status code
func (*DetailMfaOK) String ¶ added in v0.26.53
func (o *DetailMfaOK) String() string
type DetailMfaParams ¶
type DetailMfaParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailMfaParams contains all the parameters to send to the API endpoint
for the detail mfa operation. Typically these are written to a http.Request.
func NewDetailMfaParams ¶
func NewDetailMfaParams() *DetailMfaParams
NewDetailMfaParams creates a new DetailMfaParams 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 NewDetailMfaParamsWithContext ¶
func NewDetailMfaParamsWithContext(ctx context.Context) *DetailMfaParams
NewDetailMfaParamsWithContext creates a new DetailMfaParams object with the ability to set a context for a request.
func NewDetailMfaParamsWithHTTPClient ¶
func NewDetailMfaParamsWithHTTPClient(client *http.Client) *DetailMfaParams
NewDetailMfaParamsWithHTTPClient creates a new DetailMfaParams object with the ability to set a custom HTTPClient for a request.
func NewDetailMfaParamsWithTimeout ¶
func NewDetailMfaParamsWithTimeout(timeout time.Duration) *DetailMfaParams
NewDetailMfaParamsWithTimeout creates a new DetailMfaParams object with the ability to set a timeout on a request.
func (*DetailMfaParams) SetContext ¶
func (o *DetailMfaParams) SetContext(ctx context.Context)
SetContext adds the context to the detail mfa params
func (*DetailMfaParams) SetDefaults ¶
func (o *DetailMfaParams) SetDefaults()
SetDefaults hydrates default values in the detail mfa params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaParams) SetHTTPClient ¶
func (o *DetailMfaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail mfa params
func (*DetailMfaParams) SetTimeout ¶
func (o *DetailMfaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail mfa params
func (*DetailMfaParams) WithContext ¶
func (o *DetailMfaParams) WithContext(ctx context.Context) *DetailMfaParams
WithContext adds the context to the detail mfa params
func (*DetailMfaParams) WithDefaults ¶
func (o *DetailMfaParams) WithDefaults() *DetailMfaParams
WithDefaults hydrates default values in the detail mfa params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaParams) WithHTTPClient ¶
func (o *DetailMfaParams) WithHTTPClient(client *http.Client) *DetailMfaParams
WithHTTPClient adds the HTTPClient to the detail mfa params
func (*DetailMfaParams) WithTimeout ¶
func (o *DetailMfaParams) WithTimeout(timeout time.Duration) *DetailMfaParams
WithTimeout adds the timeout to the detail mfa params
func (*DetailMfaParams) WriteToRequest ¶
func (o *DetailMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailMfaQrCodeNotFound ¶
type DetailMfaQrCodeNotFound struct {
}
DetailMfaQrCodeNotFound describes a response with status code 404, with default header values.
No MFA enrollment or MFA enrollment is completed
func NewDetailMfaQrCodeNotFound ¶
func NewDetailMfaQrCodeNotFound() *DetailMfaQrCodeNotFound
NewDetailMfaQrCodeNotFound creates a DetailMfaQrCodeNotFound with default headers values
func (*DetailMfaQrCodeNotFound) Code ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) Code() int
Code gets the status code for the detail mfa qr code not found response
func (*DetailMfaQrCodeNotFound) Error ¶
func (o *DetailMfaQrCodeNotFound) Error() string
func (*DetailMfaQrCodeNotFound) IsClientError ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) IsClientError() bool
IsClientError returns true when this detail mfa qr code not found response has a 4xx status code
func (*DetailMfaQrCodeNotFound) IsCode ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) IsCode(code int) bool
IsCode returns true when this detail mfa qr code not found response a status code equal to that given
func (*DetailMfaQrCodeNotFound) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) IsRedirect() bool
IsRedirect returns true when this detail mfa qr code not found response has a 3xx status code
func (*DetailMfaQrCodeNotFound) IsServerError ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) IsServerError() bool
IsServerError returns true when this detail mfa qr code not found response has a 5xx status code
func (*DetailMfaQrCodeNotFound) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) IsSuccess() bool
IsSuccess returns true when this detail mfa qr code not found response has a 2xx status code
func (*DetailMfaQrCodeNotFound) String ¶ added in v0.26.53
func (o *DetailMfaQrCodeNotFound) String() string
type DetailMfaQrCodeOK ¶
type DetailMfaQrCodeOK struct {
}
DetailMfaQrCodeOK describes a response with status code 200, with default header values.
OK
func NewDetailMfaQrCodeOK ¶
func NewDetailMfaQrCodeOK() *DetailMfaQrCodeOK
NewDetailMfaQrCodeOK creates a DetailMfaQrCodeOK with default headers values
func (*DetailMfaQrCodeOK) Code ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) Code() int
Code gets the status code for the detail mfa qr code o k response
func (*DetailMfaQrCodeOK) Error ¶
func (o *DetailMfaQrCodeOK) Error() string
func (*DetailMfaQrCodeOK) IsClientError ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) IsClientError() bool
IsClientError returns true when this detail mfa qr code o k response has a 4xx status code
func (*DetailMfaQrCodeOK) IsCode ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) IsCode(code int) bool
IsCode returns true when this detail mfa qr code o k response a status code equal to that given
func (*DetailMfaQrCodeOK) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) IsRedirect() bool
IsRedirect returns true when this detail mfa qr code o k response has a 3xx status code
func (*DetailMfaQrCodeOK) IsServerError ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) IsServerError() bool
IsServerError returns true when this detail mfa qr code o k response has a 5xx status code
func (*DetailMfaQrCodeOK) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) IsSuccess() bool
IsSuccess returns true when this detail mfa qr code o k response has a 2xx status code
func (*DetailMfaQrCodeOK) String ¶ added in v0.26.53
func (o *DetailMfaQrCodeOK) String() string
type DetailMfaQrCodeParams ¶
type DetailMfaQrCodeParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailMfaQrCodeParams contains all the parameters to send to the API endpoint
for the detail mfa qr code operation. Typically these are written to a http.Request.
func NewDetailMfaQrCodeParams ¶
func NewDetailMfaQrCodeParams() *DetailMfaQrCodeParams
NewDetailMfaQrCodeParams creates a new DetailMfaQrCodeParams 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 NewDetailMfaQrCodeParamsWithContext ¶
func NewDetailMfaQrCodeParamsWithContext(ctx context.Context) *DetailMfaQrCodeParams
NewDetailMfaQrCodeParamsWithContext creates a new DetailMfaQrCodeParams object with the ability to set a context for a request.
func NewDetailMfaQrCodeParamsWithHTTPClient ¶
func NewDetailMfaQrCodeParamsWithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
NewDetailMfaQrCodeParamsWithHTTPClient creates a new DetailMfaQrCodeParams object with the ability to set a custom HTTPClient for a request.
func NewDetailMfaQrCodeParamsWithTimeout ¶
func NewDetailMfaQrCodeParamsWithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
NewDetailMfaQrCodeParamsWithTimeout creates a new DetailMfaQrCodeParams object with the ability to set a timeout on a request.
func (*DetailMfaQrCodeParams) SetContext ¶
func (o *DetailMfaQrCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the detail mfa qr code params
func (*DetailMfaQrCodeParams) SetDefaults ¶
func (o *DetailMfaQrCodeParams) SetDefaults()
SetDefaults hydrates default values in the detail mfa qr code params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaQrCodeParams) SetHTTPClient ¶
func (o *DetailMfaQrCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail mfa qr code params
func (*DetailMfaQrCodeParams) SetTimeout ¶
func (o *DetailMfaQrCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WithContext ¶
func (o *DetailMfaQrCodeParams) WithContext(ctx context.Context) *DetailMfaQrCodeParams
WithContext adds the context to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WithDefaults ¶
func (o *DetailMfaQrCodeParams) WithDefaults() *DetailMfaQrCodeParams
WithDefaults hydrates default values in the detail mfa qr code params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaQrCodeParams) WithHTTPClient ¶
func (o *DetailMfaQrCodeParams) WithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
WithHTTPClient adds the HTTPClient to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WithTimeout ¶
func (o *DetailMfaQrCodeParams) WithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
WithTimeout adds the timeout to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WriteToRequest ¶
func (o *DetailMfaQrCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailMfaQrCodeReader ¶
type DetailMfaQrCodeReader struct {
// contains filtered or unexported fields
}
DetailMfaQrCodeReader is a Reader for the DetailMfaQrCode structure.
func (*DetailMfaQrCodeReader) ReadResponse ¶
func (o *DetailMfaQrCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailMfaReader ¶
type DetailMfaReader struct {
// contains filtered or unexported fields
}
DetailMfaReader is a Reader for the DetailMfa structure.
func (*DetailMfaReader) ReadResponse ¶
func (o *DetailMfaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailMfaRecoveryCodesNotFound ¶
type DetailMfaRecoveryCodesNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailMfaRecoveryCodesNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailMfaRecoveryCodesNotFound ¶
func NewDetailMfaRecoveryCodesNotFound() *DetailMfaRecoveryCodesNotFound
NewDetailMfaRecoveryCodesNotFound creates a DetailMfaRecoveryCodesNotFound with default headers values
func (*DetailMfaRecoveryCodesNotFound) Code ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) Code() int
Code gets the status code for the detail mfa recovery codes not found response
func (*DetailMfaRecoveryCodesNotFound) Error ¶
func (o *DetailMfaRecoveryCodesNotFound) Error() string
func (*DetailMfaRecoveryCodesNotFound) GetPayload ¶
func (o *DetailMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailMfaRecoveryCodesNotFound) IsClientError ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) IsClientError() bool
IsClientError returns true when this detail mfa recovery codes not found response has a 4xx status code
func (*DetailMfaRecoveryCodesNotFound) IsCode ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) IsCode(code int) bool
IsCode returns true when this detail mfa recovery codes not found response a status code equal to that given
func (*DetailMfaRecoveryCodesNotFound) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) IsRedirect() bool
IsRedirect returns true when this detail mfa recovery codes not found response has a 3xx status code
func (*DetailMfaRecoveryCodesNotFound) IsServerError ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) IsServerError() bool
IsServerError returns true when this detail mfa recovery codes not found response has a 5xx status code
func (*DetailMfaRecoveryCodesNotFound) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) IsSuccess() bool
IsSuccess returns true when this detail mfa recovery codes not found response has a 2xx status code
func (*DetailMfaRecoveryCodesNotFound) String ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesNotFound) String() string
type DetailMfaRecoveryCodesOK ¶
type DetailMfaRecoveryCodesOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.DetailMfaRecoveryCodesEnvelope
}
DetailMfaRecoveryCodesOK describes a response with status code 200, with default header values.
The recovery codes of an MFA enrollment
func NewDetailMfaRecoveryCodesOK ¶
func NewDetailMfaRecoveryCodesOK() *DetailMfaRecoveryCodesOK
NewDetailMfaRecoveryCodesOK creates a DetailMfaRecoveryCodesOK with default headers values
func (*DetailMfaRecoveryCodesOK) Code ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) Code() int
Code gets the status code for the detail mfa recovery codes o k response
func (*DetailMfaRecoveryCodesOK) Error ¶
func (o *DetailMfaRecoveryCodesOK) Error() string
func (*DetailMfaRecoveryCodesOK) GetPayload ¶
func (o *DetailMfaRecoveryCodesOK) GetPayload() *rest_model.DetailMfaRecoveryCodesEnvelope
func (*DetailMfaRecoveryCodesOK) IsClientError ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) IsClientError() bool
IsClientError returns true when this detail mfa recovery codes o k response has a 4xx status code
func (*DetailMfaRecoveryCodesOK) IsCode ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) IsCode(code int) bool
IsCode returns true when this detail mfa recovery codes o k response a status code equal to that given
func (*DetailMfaRecoveryCodesOK) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) IsRedirect() bool
IsRedirect returns true when this detail mfa recovery codes o k response has a 3xx status code
func (*DetailMfaRecoveryCodesOK) IsServerError ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) IsServerError() bool
IsServerError returns true when this detail mfa recovery codes o k response has a 5xx status code
func (*DetailMfaRecoveryCodesOK) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) IsSuccess() bool
IsSuccess returns true when this detail mfa recovery codes o k response has a 2xx status code
func (*DetailMfaRecoveryCodesOK) String ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesOK) String() string
type DetailMfaRecoveryCodesParams ¶
type DetailMfaRecoveryCodesParams struct {
// MfaValidationCode.
MfaValidationCode *string
/* MfaValidation.
An MFA validation request
*/
MfaValidation *rest_model.MfaCode
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailMfaRecoveryCodesParams contains all the parameters to send to the API endpoint
for the detail mfa recovery codes operation. Typically these are written to a http.Request.
func NewDetailMfaRecoveryCodesParams ¶
func NewDetailMfaRecoveryCodesParams() *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParams creates a new DetailMfaRecoveryCodesParams 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 NewDetailMfaRecoveryCodesParamsWithContext ¶
func NewDetailMfaRecoveryCodesParamsWithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParamsWithContext creates a new DetailMfaRecoveryCodesParams object with the ability to set a context for a request.
func NewDetailMfaRecoveryCodesParamsWithHTTPClient ¶
func NewDetailMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParamsWithHTTPClient creates a new DetailMfaRecoveryCodesParams object with the ability to set a custom HTTPClient for a request.
func NewDetailMfaRecoveryCodesParamsWithTimeout ¶
func NewDetailMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParamsWithTimeout creates a new DetailMfaRecoveryCodesParams object with the ability to set a timeout on a request.
func (*DetailMfaRecoveryCodesParams) SetContext ¶
func (o *DetailMfaRecoveryCodesParams) SetContext(ctx context.Context)
SetContext adds the context to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetDefaults ¶
func (o *DetailMfaRecoveryCodesParams) SetDefaults()
SetDefaults hydrates default values in the detail mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaRecoveryCodesParams) SetHTTPClient ¶
func (o *DetailMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetMfaValidation ¶
func (o *DetailMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
SetMfaValidation adds the mfaValidation to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetMfaValidationCode ¶
func (o *DetailMfaRecoveryCodesParams) SetMfaValidationCode(mfaValidationCode *string)
SetMfaValidationCode adds the mfaValidationCode to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetTimeout ¶
func (o *DetailMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithContext ¶
func (o *DetailMfaRecoveryCodesParams) WithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
WithContext adds the context to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithDefaults ¶
func (o *DetailMfaRecoveryCodesParams) WithDefaults() *DetailMfaRecoveryCodesParams
WithDefaults hydrates default values in the detail mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaRecoveryCodesParams) WithHTTPClient ¶
func (o *DetailMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
WithHTTPClient adds the HTTPClient to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithMfaValidation ¶
func (o *DetailMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *DetailMfaRecoveryCodesParams
WithMfaValidation adds the mfaValidation to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithMfaValidationCode ¶
func (o *DetailMfaRecoveryCodesParams) WithMfaValidationCode(mfaValidationCode *string) *DetailMfaRecoveryCodesParams
WithMfaValidationCode adds the mfaValidationCode to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithTimeout ¶
func (o *DetailMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
WithTimeout adds the timeout to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WriteToRequest ¶
func (o *DetailMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailMfaRecoveryCodesReader ¶
type DetailMfaRecoveryCodesReader struct {
// contains filtered or unexported fields
}
DetailMfaRecoveryCodesReader is a Reader for the DetailMfaRecoveryCodes structure.
func (*DetailMfaRecoveryCodesReader) ReadResponse ¶
func (o *DetailMfaRecoveryCodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailMfaRecoveryCodesUnauthorized ¶
type DetailMfaRecoveryCodesUnauthorized struct {
WWWAuthenticate []string
}
DetailMfaRecoveryCodesUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDetailMfaRecoveryCodesUnauthorized ¶
func NewDetailMfaRecoveryCodesUnauthorized() *DetailMfaRecoveryCodesUnauthorized
NewDetailMfaRecoveryCodesUnauthorized creates a DetailMfaRecoveryCodesUnauthorized with default headers values
func (*DetailMfaRecoveryCodesUnauthorized) Code ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) Code() int
Code gets the status code for the detail mfa recovery codes unauthorized response
func (*DetailMfaRecoveryCodesUnauthorized) Error ¶
func (o *DetailMfaRecoveryCodesUnauthorized) Error() string
func (*DetailMfaRecoveryCodesUnauthorized) GetPayload ¶
func (o *DetailMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailMfaRecoveryCodesUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) IsClientError() bool
IsClientError returns true when this detail mfa recovery codes unauthorized response has a 4xx status code
func (*DetailMfaRecoveryCodesUnauthorized) IsCode ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) IsCode(code int) bool
IsCode returns true when this detail mfa recovery codes unauthorized response a status code equal to that given
func (*DetailMfaRecoveryCodesUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail mfa recovery codes unauthorized response has a 3xx status code
func (*DetailMfaRecoveryCodesUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) IsServerError() bool
IsServerError returns true when this detail mfa recovery codes unauthorized response has a 5xx status code
func (*DetailMfaRecoveryCodesUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail mfa recovery codes unauthorized response has a 2xx status code
func (*DetailMfaRecoveryCodesUnauthorized) String ¶ added in v0.26.53
func (o *DetailMfaRecoveryCodesUnauthorized) String() string
type DetailMfaUnauthorized ¶
type DetailMfaUnauthorized struct {
WWWAuthenticate []string
}
DetailMfaUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDetailMfaUnauthorized ¶
func NewDetailMfaUnauthorized() *DetailMfaUnauthorized
NewDetailMfaUnauthorized creates a DetailMfaUnauthorized with default headers values
func (*DetailMfaUnauthorized) Code ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) Code() int
Code gets the status code for the detail mfa unauthorized response
func (*DetailMfaUnauthorized) Error ¶
func (o *DetailMfaUnauthorized) Error() string
func (*DetailMfaUnauthorized) GetPayload ¶
func (o *DetailMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailMfaUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) IsClientError() bool
IsClientError returns true when this detail mfa unauthorized response has a 4xx status code
func (*DetailMfaUnauthorized) IsCode ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) IsCode(code int) bool
IsCode returns true when this detail mfa unauthorized response a status code equal to that given
func (*DetailMfaUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail mfa unauthorized response has a 3xx status code
func (*DetailMfaUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) IsServerError() bool
IsServerError returns true when this detail mfa unauthorized response has a 5xx status code
func (*DetailMfaUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail mfa unauthorized response has a 2xx status code
func (*DetailMfaUnauthorized) String ¶ added in v0.26.53
func (o *DetailMfaUnauthorized) String() string
type EnrollMfaConflict ¶
type EnrollMfaConflict struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollMfaConflict describes a response with status code 409, with default header values.
The identity is already enrolled in MFA
func NewEnrollMfaConflict ¶
func NewEnrollMfaConflict() *EnrollMfaConflict
NewEnrollMfaConflict creates a EnrollMfaConflict with default headers values
func (*EnrollMfaConflict) Code ¶ added in v0.26.53
func (o *EnrollMfaConflict) Code() int
Code gets the status code for the enroll mfa conflict response
func (*EnrollMfaConflict) Error ¶
func (o *EnrollMfaConflict) Error() string
func (*EnrollMfaConflict) GetPayload ¶
func (o *EnrollMfaConflict) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollMfaConflict) IsClientError ¶ added in v0.26.53
func (o *EnrollMfaConflict) IsClientError() bool
IsClientError returns true when this enroll mfa conflict response has a 4xx status code
func (*EnrollMfaConflict) IsCode ¶ added in v0.26.53
func (o *EnrollMfaConflict) IsCode(code int) bool
IsCode returns true when this enroll mfa conflict response a status code equal to that given
func (*EnrollMfaConflict) IsRedirect ¶ added in v0.26.53
func (o *EnrollMfaConflict) IsRedirect() bool
IsRedirect returns true when this enroll mfa conflict response has a 3xx status code
func (*EnrollMfaConflict) IsServerError ¶ added in v0.26.53
func (o *EnrollMfaConflict) IsServerError() bool
IsServerError returns true when this enroll mfa conflict response has a 5xx status code
func (*EnrollMfaConflict) IsSuccess ¶ added in v0.26.53
func (o *EnrollMfaConflict) IsSuccess() bool
IsSuccess returns true when this enroll mfa conflict response has a 2xx status code
func (*EnrollMfaConflict) String ¶ added in v0.26.53
func (o *EnrollMfaConflict) String() string
type EnrollMfaCreated ¶
type EnrollMfaCreated struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.CreateEnvelope
}
EnrollMfaCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewEnrollMfaCreated ¶
func NewEnrollMfaCreated() *EnrollMfaCreated
NewEnrollMfaCreated creates a EnrollMfaCreated with default headers values
func (*EnrollMfaCreated) Code ¶ added in v0.26.53
func (o *EnrollMfaCreated) Code() int
Code gets the status code for the enroll mfa created response
func (*EnrollMfaCreated) Error ¶
func (o *EnrollMfaCreated) Error() string
func (*EnrollMfaCreated) GetPayload ¶
func (o *EnrollMfaCreated) GetPayload() *rest_model.CreateEnvelope
func (*EnrollMfaCreated) IsClientError ¶ added in v0.26.53
func (o *EnrollMfaCreated) IsClientError() bool
IsClientError returns true when this enroll mfa created response has a 4xx status code
func (*EnrollMfaCreated) IsCode ¶ added in v0.26.53
func (o *EnrollMfaCreated) IsCode(code int) bool
IsCode returns true when this enroll mfa created response a status code equal to that given
func (*EnrollMfaCreated) IsRedirect ¶ added in v0.26.53
func (o *EnrollMfaCreated) IsRedirect() bool
IsRedirect returns true when this enroll mfa created response has a 3xx status code
func (*EnrollMfaCreated) IsServerError ¶ added in v0.26.53
func (o *EnrollMfaCreated) IsServerError() bool
IsServerError returns true when this enroll mfa created response has a 5xx status code
func (*EnrollMfaCreated) IsSuccess ¶ added in v0.26.53
func (o *EnrollMfaCreated) IsSuccess() bool
IsSuccess returns true when this enroll mfa created response has a 2xx status code
func (*EnrollMfaCreated) String ¶ added in v0.26.53
func (o *EnrollMfaCreated) String() string
type EnrollMfaParams ¶
type EnrollMfaParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollMfaParams contains all the parameters to send to the API endpoint
for the enroll mfa operation. Typically these are written to a http.Request.
func NewEnrollMfaParams ¶
func NewEnrollMfaParams() *EnrollMfaParams
NewEnrollMfaParams creates a new EnrollMfaParams 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 NewEnrollMfaParamsWithContext ¶
func NewEnrollMfaParamsWithContext(ctx context.Context) *EnrollMfaParams
NewEnrollMfaParamsWithContext creates a new EnrollMfaParams object with the ability to set a context for a request.
func NewEnrollMfaParamsWithHTTPClient ¶
func NewEnrollMfaParamsWithHTTPClient(client *http.Client) *EnrollMfaParams
NewEnrollMfaParamsWithHTTPClient creates a new EnrollMfaParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollMfaParamsWithTimeout ¶
func NewEnrollMfaParamsWithTimeout(timeout time.Duration) *EnrollMfaParams
NewEnrollMfaParamsWithTimeout creates a new EnrollMfaParams object with the ability to set a timeout on a request.
func (*EnrollMfaParams) SetContext ¶
func (o *EnrollMfaParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll mfa params
func (*EnrollMfaParams) SetDefaults ¶
func (o *EnrollMfaParams) SetDefaults()
SetDefaults hydrates default values in the enroll mfa params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollMfaParams) SetHTTPClient ¶
func (o *EnrollMfaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll mfa params
func (*EnrollMfaParams) SetTimeout ¶
func (o *EnrollMfaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll mfa params
func (*EnrollMfaParams) WithContext ¶
func (o *EnrollMfaParams) WithContext(ctx context.Context) *EnrollMfaParams
WithContext adds the context to the enroll mfa params
func (*EnrollMfaParams) WithDefaults ¶
func (o *EnrollMfaParams) WithDefaults() *EnrollMfaParams
WithDefaults hydrates default values in the enroll mfa params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollMfaParams) WithHTTPClient ¶
func (o *EnrollMfaParams) WithHTTPClient(client *http.Client) *EnrollMfaParams
WithHTTPClient adds the HTTPClient to the enroll mfa params
func (*EnrollMfaParams) WithTimeout ¶
func (o *EnrollMfaParams) WithTimeout(timeout time.Duration) *EnrollMfaParams
WithTimeout adds the timeout to the enroll mfa params
func (*EnrollMfaParams) WriteToRequest ¶
func (o *EnrollMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollMfaReader ¶
type EnrollMfaReader struct {
// contains filtered or unexported fields
}
EnrollMfaReader is a Reader for the EnrollMfa structure.
func (*EnrollMfaReader) ReadResponse ¶
func (o *EnrollMfaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollMfaUnauthorized ¶
type EnrollMfaUnauthorized struct {
WWWAuthenticate []string
}
EnrollMfaUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewEnrollMfaUnauthorized ¶
func NewEnrollMfaUnauthorized() *EnrollMfaUnauthorized
NewEnrollMfaUnauthorized creates a EnrollMfaUnauthorized with default headers values
func (*EnrollMfaUnauthorized) Code ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) Code() int
Code gets the status code for the enroll mfa unauthorized response
func (*EnrollMfaUnauthorized) Error ¶
func (o *EnrollMfaUnauthorized) Error() string
func (*EnrollMfaUnauthorized) GetPayload ¶
func (o *EnrollMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollMfaUnauthorized) IsClientError ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) IsClientError() bool
IsClientError returns true when this enroll mfa unauthorized response has a 4xx status code
func (*EnrollMfaUnauthorized) IsCode ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) IsCode(code int) bool
IsCode returns true when this enroll mfa unauthorized response a status code equal to that given
func (*EnrollMfaUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) IsRedirect() bool
IsRedirect returns true when this enroll mfa unauthorized response has a 3xx status code
func (*EnrollMfaUnauthorized) IsServerError ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) IsServerError() bool
IsServerError returns true when this enroll mfa unauthorized response has a 5xx status code
func (*EnrollMfaUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) IsSuccess() bool
IsSuccess returns true when this enroll mfa unauthorized response has a 2xx status code
func (*EnrollMfaUnauthorized) String ¶ added in v0.26.53
func (o *EnrollMfaUnauthorized) String() string
type GetCurrentIdentityOK ¶
type GetCurrentIdentityOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.CurrentIdentityDetailEnvelope
}
GetCurrentIdentityOK describes a response with status code 200, with default header values.
The identity associated with the API Session used to issue the request
func NewGetCurrentIdentityOK ¶
func NewGetCurrentIdentityOK() *GetCurrentIdentityOK
NewGetCurrentIdentityOK creates a GetCurrentIdentityOK with default headers values
func (*GetCurrentIdentityOK) Code ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) Code() int
Code gets the status code for the get current identity o k response
func (*GetCurrentIdentityOK) Error ¶
func (o *GetCurrentIdentityOK) Error() string
func (*GetCurrentIdentityOK) GetPayload ¶
func (o *GetCurrentIdentityOK) GetPayload() *rest_model.CurrentIdentityDetailEnvelope
func (*GetCurrentIdentityOK) IsClientError ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) IsClientError() bool
IsClientError returns true when this get current identity o k response has a 4xx status code
func (*GetCurrentIdentityOK) IsCode ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) IsCode(code int) bool
IsCode returns true when this get current identity o k response a status code equal to that given
func (*GetCurrentIdentityOK) IsRedirect ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) IsRedirect() bool
IsRedirect returns true when this get current identity o k response has a 3xx status code
func (*GetCurrentIdentityOK) IsServerError ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) IsServerError() bool
IsServerError returns true when this get current identity o k response has a 5xx status code
func (*GetCurrentIdentityOK) IsSuccess ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) IsSuccess() bool
IsSuccess returns true when this get current identity o k response has a 2xx status code
func (*GetCurrentIdentityOK) String ¶ added in v0.26.53
func (o *GetCurrentIdentityOK) String() string
type GetCurrentIdentityParams ¶
type GetCurrentIdentityParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCurrentIdentityParams contains all the parameters to send to the API endpoint
for the get current identity operation. Typically these are written to a http.Request.
func NewGetCurrentIdentityParams ¶
func NewGetCurrentIdentityParams() *GetCurrentIdentityParams
NewGetCurrentIdentityParams creates a new GetCurrentIdentityParams 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 NewGetCurrentIdentityParamsWithContext ¶
func NewGetCurrentIdentityParamsWithContext(ctx context.Context) *GetCurrentIdentityParams
NewGetCurrentIdentityParamsWithContext creates a new GetCurrentIdentityParams object with the ability to set a context for a request.
func NewGetCurrentIdentityParamsWithHTTPClient ¶
func NewGetCurrentIdentityParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityParams
NewGetCurrentIdentityParamsWithHTTPClient creates a new GetCurrentIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentIdentityParamsWithTimeout ¶
func NewGetCurrentIdentityParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityParams
NewGetCurrentIdentityParamsWithTimeout creates a new GetCurrentIdentityParams object with the ability to set a timeout on a request.
func (*GetCurrentIdentityParams) SetContext ¶
func (o *GetCurrentIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the get current identity params
func (*GetCurrentIdentityParams) SetDefaults ¶
func (o *GetCurrentIdentityParams) SetDefaults()
SetDefaults hydrates default values in the get current identity params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentIdentityParams) SetHTTPClient ¶
func (o *GetCurrentIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current identity params
func (*GetCurrentIdentityParams) SetTimeout ¶
func (o *GetCurrentIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current identity params
func (*GetCurrentIdentityParams) WithContext ¶
func (o *GetCurrentIdentityParams) WithContext(ctx context.Context) *GetCurrentIdentityParams
WithContext adds the context to the get current identity params
func (*GetCurrentIdentityParams) WithDefaults ¶
func (o *GetCurrentIdentityParams) WithDefaults() *GetCurrentIdentityParams
WithDefaults hydrates default values in the get current identity params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentIdentityParams) WithHTTPClient ¶
func (o *GetCurrentIdentityParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityParams
WithHTTPClient adds the HTTPClient to the get current identity params
func (*GetCurrentIdentityParams) WithTimeout ¶
func (o *GetCurrentIdentityParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityParams
WithTimeout adds the timeout to the get current identity params
func (*GetCurrentIdentityParams) WriteToRequest ¶
func (o *GetCurrentIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentIdentityReader ¶
type GetCurrentIdentityReader struct {
// contains filtered or unexported fields
}
GetCurrentIdentityReader is a Reader for the GetCurrentIdentity structure.
func (*GetCurrentIdentityReader) ReadResponse ¶
func (o *GetCurrentIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetCurrentIdentityUnauthorized ¶
type GetCurrentIdentityUnauthorized struct {
WWWAuthenticate []string
}
GetCurrentIdentityUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewGetCurrentIdentityUnauthorized ¶
func NewGetCurrentIdentityUnauthorized() *GetCurrentIdentityUnauthorized
NewGetCurrentIdentityUnauthorized creates a GetCurrentIdentityUnauthorized with default headers values
func (*GetCurrentIdentityUnauthorized) Code ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) Code() int
Code gets the status code for the get current identity unauthorized response
func (*GetCurrentIdentityUnauthorized) Error ¶
func (o *GetCurrentIdentityUnauthorized) Error() string
func (*GetCurrentIdentityUnauthorized) GetPayload ¶
func (o *GetCurrentIdentityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*GetCurrentIdentityUnauthorized) IsClientError ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) IsClientError() bool
IsClientError returns true when this get current identity unauthorized response has a 4xx status code
func (*GetCurrentIdentityUnauthorized) IsCode ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) IsCode(code int) bool
IsCode returns true when this get current identity unauthorized response a status code equal to that given
func (*GetCurrentIdentityUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) IsRedirect() bool
IsRedirect returns true when this get current identity unauthorized response has a 3xx status code
func (*GetCurrentIdentityUnauthorized) IsServerError ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) IsServerError() bool
IsServerError returns true when this get current identity unauthorized response has a 5xx status code
func (*GetCurrentIdentityUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) IsSuccess() bool
IsSuccess returns true when this get current identity unauthorized response has a 2xx status code
func (*GetCurrentIdentityUnauthorized) String ¶ added in v0.26.53
func (o *GetCurrentIdentityUnauthorized) String() string
type VerifyMfaNotFound ¶
type VerifyMfaNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
VerifyMfaNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewVerifyMfaNotFound ¶
func NewVerifyMfaNotFound() *VerifyMfaNotFound
NewVerifyMfaNotFound creates a VerifyMfaNotFound with default headers values
func (*VerifyMfaNotFound) Code ¶ added in v0.26.53
func (o *VerifyMfaNotFound) Code() int
Code gets the status code for the verify mfa not found response
func (*VerifyMfaNotFound) Error ¶
func (o *VerifyMfaNotFound) Error() string
func (*VerifyMfaNotFound) GetPayload ¶
func (o *VerifyMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*VerifyMfaNotFound) IsClientError ¶ added in v0.26.53
func (o *VerifyMfaNotFound) IsClientError() bool
IsClientError returns true when this verify mfa not found response has a 4xx status code
func (*VerifyMfaNotFound) IsCode ¶ added in v0.26.53
func (o *VerifyMfaNotFound) IsCode(code int) bool
IsCode returns true when this verify mfa not found response a status code equal to that given
func (*VerifyMfaNotFound) IsRedirect ¶ added in v0.26.53
func (o *VerifyMfaNotFound) IsRedirect() bool
IsRedirect returns true when this verify mfa not found response has a 3xx status code
func (*VerifyMfaNotFound) IsServerError ¶ added in v0.26.53
func (o *VerifyMfaNotFound) IsServerError() bool
IsServerError returns true when this verify mfa not found response has a 5xx status code
func (*VerifyMfaNotFound) IsSuccess ¶ added in v0.26.53
func (o *VerifyMfaNotFound) IsSuccess() bool
IsSuccess returns true when this verify mfa not found response has a 2xx status code
func (*VerifyMfaNotFound) String ¶ added in v0.26.53
func (o *VerifyMfaNotFound) String() string
type VerifyMfaOK ¶
type VerifyMfaOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
VerifyMfaOK describes a response with status code 200, with default header values.
Base empty response
func NewVerifyMfaOK ¶
func NewVerifyMfaOK() *VerifyMfaOK
NewVerifyMfaOK creates a VerifyMfaOK with default headers values
func (*VerifyMfaOK) Code ¶ added in v0.26.53
func (o *VerifyMfaOK) Code() int
Code gets the status code for the verify mfa o k response
func (*VerifyMfaOK) Error ¶
func (o *VerifyMfaOK) Error() string
func (*VerifyMfaOK) GetPayload ¶
func (o *VerifyMfaOK) GetPayload() *rest_model.Empty
func (*VerifyMfaOK) IsClientError ¶ added in v0.26.53
func (o *VerifyMfaOK) IsClientError() bool
IsClientError returns true when this verify mfa o k response has a 4xx status code
func (*VerifyMfaOK) IsCode ¶ added in v0.26.53
func (o *VerifyMfaOK) IsCode(code int) bool
IsCode returns true when this verify mfa o k response a status code equal to that given
func (*VerifyMfaOK) IsRedirect ¶ added in v0.26.53
func (o *VerifyMfaOK) IsRedirect() bool
IsRedirect returns true when this verify mfa o k response has a 3xx status code
func (*VerifyMfaOK) IsServerError ¶ added in v0.26.53
func (o *VerifyMfaOK) IsServerError() bool
IsServerError returns true when this verify mfa o k response has a 5xx status code
func (*VerifyMfaOK) IsSuccess ¶ added in v0.26.53
func (o *VerifyMfaOK) IsSuccess() bool
IsSuccess returns true when this verify mfa o k response has a 2xx status code
func (*VerifyMfaOK) String ¶ added in v0.26.53
func (o *VerifyMfaOK) String() string
type VerifyMfaParams ¶
type VerifyMfaParams struct {
/* MfaValidation.
An MFA validation request
*/
MfaValidation *rest_model.MfaCode
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
VerifyMfaParams contains all the parameters to send to the API endpoint
for the verify mfa operation. Typically these are written to a http.Request.
func NewVerifyMfaParams ¶
func NewVerifyMfaParams() *VerifyMfaParams
NewVerifyMfaParams creates a new VerifyMfaParams 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 NewVerifyMfaParamsWithContext ¶
func NewVerifyMfaParamsWithContext(ctx context.Context) *VerifyMfaParams
NewVerifyMfaParamsWithContext creates a new VerifyMfaParams object with the ability to set a context for a request.
func NewVerifyMfaParamsWithHTTPClient ¶
func NewVerifyMfaParamsWithHTTPClient(client *http.Client) *VerifyMfaParams
NewVerifyMfaParamsWithHTTPClient creates a new VerifyMfaParams object with the ability to set a custom HTTPClient for a request.
func NewVerifyMfaParamsWithTimeout ¶
func NewVerifyMfaParamsWithTimeout(timeout time.Duration) *VerifyMfaParams
NewVerifyMfaParamsWithTimeout creates a new VerifyMfaParams object with the ability to set a timeout on a request.
func (*VerifyMfaParams) SetContext ¶
func (o *VerifyMfaParams) SetContext(ctx context.Context)
SetContext adds the context to the verify mfa params
func (*VerifyMfaParams) SetDefaults ¶
func (o *VerifyMfaParams) SetDefaults()
SetDefaults hydrates default values in the verify mfa params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyMfaParams) SetHTTPClient ¶
func (o *VerifyMfaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verify mfa params
func (*VerifyMfaParams) SetMfaValidation ¶
func (o *VerifyMfaParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
SetMfaValidation adds the mfaValidation to the verify mfa params
func (*VerifyMfaParams) SetTimeout ¶
func (o *VerifyMfaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verify mfa params
func (*VerifyMfaParams) WithContext ¶
func (o *VerifyMfaParams) WithContext(ctx context.Context) *VerifyMfaParams
WithContext adds the context to the verify mfa params
func (*VerifyMfaParams) WithDefaults ¶
func (o *VerifyMfaParams) WithDefaults() *VerifyMfaParams
WithDefaults hydrates default values in the verify mfa params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyMfaParams) WithHTTPClient ¶
func (o *VerifyMfaParams) WithHTTPClient(client *http.Client) *VerifyMfaParams
WithHTTPClient adds the HTTPClient to the verify mfa params
func (*VerifyMfaParams) WithMfaValidation ¶
func (o *VerifyMfaParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *VerifyMfaParams
WithMfaValidation adds the mfaValidation to the verify mfa params
func (*VerifyMfaParams) WithTimeout ¶
func (o *VerifyMfaParams) WithTimeout(timeout time.Duration) *VerifyMfaParams
WithTimeout adds the timeout to the verify mfa params
func (*VerifyMfaParams) WriteToRequest ¶
func (o *VerifyMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerifyMfaReader ¶
type VerifyMfaReader struct {
// contains filtered or unexported fields
}
VerifyMfaReader is a Reader for the VerifyMfa structure.
func (*VerifyMfaReader) ReadResponse ¶
func (o *VerifyMfaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VerifyMfaUnauthorized ¶
type VerifyMfaUnauthorized struct {
WWWAuthenticate []string
}
VerifyMfaUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewVerifyMfaUnauthorized ¶
func NewVerifyMfaUnauthorized() *VerifyMfaUnauthorized
NewVerifyMfaUnauthorized creates a VerifyMfaUnauthorized with default headers values
func (*VerifyMfaUnauthorized) Code ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) Code() int
Code gets the status code for the verify mfa unauthorized response
func (*VerifyMfaUnauthorized) Error ¶
func (o *VerifyMfaUnauthorized) Error() string
func (*VerifyMfaUnauthorized) GetPayload ¶
func (o *VerifyMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*VerifyMfaUnauthorized) IsClientError ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) IsClientError() bool
IsClientError returns true when this verify mfa unauthorized response has a 4xx status code
func (*VerifyMfaUnauthorized) IsCode ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) IsCode(code int) bool
IsCode returns true when this verify mfa unauthorized response a status code equal to that given
func (*VerifyMfaUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) IsRedirect() bool
IsRedirect returns true when this verify mfa unauthorized response has a 3xx status code
func (*VerifyMfaUnauthorized) IsServerError ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) IsServerError() bool
IsServerError returns true when this verify mfa unauthorized response has a 5xx status code
func (*VerifyMfaUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) IsSuccess() bool
IsSuccess returns true when this verify mfa unauthorized response has a 2xx status code
func (*VerifyMfaUnauthorized) String ¶ added in v0.26.53
func (o *VerifyMfaUnauthorized) String() string
Source Files
¶
- create_mfa_recovery_codes_parameters.go
- create_mfa_recovery_codes_responses.go
- current_identity_client.go
- delete_mfa_parameters.go
- delete_mfa_responses.go
- detail_mfa_parameters.go
- detail_mfa_qr_code_parameters.go
- detail_mfa_qr_code_responses.go
- detail_mfa_recovery_codes_parameters.go
- detail_mfa_recovery_codes_responses.go
- detail_mfa_responses.go
- enroll_mfa_parameters.go
- enroll_mfa_responses.go
- get_current_identity_parameters.go
- get_current_identity_responses.go
- verify_mfa_parameters.go
- verify_mfa_responses.go