current_identity

package
v0.26.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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 is the option for Client methods

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.

type CreateMfaRecoveryCodesNotFound

type CreateMfaRecoveryCodesNotFound struct {
	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) Error

func (*CreateMfaRecoveryCodesNotFound) GetPayload

type CreateMfaRecoveryCodesOK

type CreateMfaRecoveryCodesOK struct {
	Payload *rest_model.DetailMfaRecoveryCodesEnvelope
}
CreateMfaRecoveryCodesOK describes a response with status code 200, with default header values.

The recovery codes of an MFA enrollment

func NewCreateMfaRecoveryCodesOK

func NewCreateMfaRecoveryCodesOK() *CreateMfaRecoveryCodesOK

NewCreateMfaRecoveryCodesOK creates a CreateMfaRecoveryCodesOK with default headers values

func (*CreateMfaRecoveryCodesOK) Error

func (o *CreateMfaRecoveryCodesOK) Error() string

func (*CreateMfaRecoveryCodesOK) GetPayload

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

WithContext adds the context to the create mfa recovery codes params

func (*CreateMfaRecoveryCodesParams) WithDefaults

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

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

WithTimeout adds the timeout to the create mfa recovery codes params

func (*CreateMfaRecoveryCodesParams) WriteToRequest

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateMfaRecoveryCodesUnauthorized

type CreateMfaRecoveryCodesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (*CreateMfaRecoveryCodesUnauthorized) GetPayload

type DeleteMfaNotFound

type DeleteMfaNotFound struct {
	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) Error

func (o *DeleteMfaNotFound) Error() string

func (*DeleteMfaNotFound) GetPayload

type DeleteMfaOK

type DeleteMfaOK struct {
	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) Error

func (o *DeleteMfaOK) Error() string

func (*DeleteMfaOK) GetPayload

func (o *DeleteMfaOK) GetPayload() *rest_model.Empty

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteMfaUnauthorized

type DeleteMfaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (o *DeleteMfaUnauthorized) Error() string

func (*DeleteMfaUnauthorized) GetPayload

type DetailMfaNotFound

type DetailMfaNotFound struct {
	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) Error

func (o *DetailMfaNotFound) Error() string

func (*DetailMfaNotFound) GetPayload

type DetailMfaOK

type DetailMfaOK struct {
	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) Error

func (o *DetailMfaOK) Error() string

func (*DetailMfaOK) GetPayload

func (o *DetailMfaOK) GetPayload() *rest_model.DetailMfaEnvelope

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) Error

func (o *DetailMfaQrCodeNotFound) Error() 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) Error

func (o *DetailMfaQrCodeOK) Error() 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

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) (interface{}, 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) (interface{}, error)

ReadResponse reads a server response into the received o.

type DetailMfaRecoveryCodesNotFound

type DetailMfaRecoveryCodesNotFound struct {
	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) Error

func (*DetailMfaRecoveryCodesNotFound) GetPayload

type DetailMfaRecoveryCodesOK

type DetailMfaRecoveryCodesOK struct {
	Payload *rest_model.Empty
}
DetailMfaRecoveryCodesOK describes a response with status code 200, with default header values.

Base empty response

func NewDetailMfaRecoveryCodesOK

func NewDetailMfaRecoveryCodesOK() *DetailMfaRecoveryCodesOK

NewDetailMfaRecoveryCodesOK creates a DetailMfaRecoveryCodesOK with default headers values

func (*DetailMfaRecoveryCodesOK) Error

func (o *DetailMfaRecoveryCodesOK) Error() string

func (*DetailMfaRecoveryCodesOK) GetPayload

func (o *DetailMfaRecoveryCodesOK) GetPayload() *rest_model.Empty

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

WithContext adds the context to the detail mfa recovery codes params

func (*DetailMfaRecoveryCodesParams) WithDefaults

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

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

WithTimeout adds the timeout to the detail mfa recovery codes params

func (*DetailMfaRecoveryCodesParams) WriteToRequest

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type DetailMfaRecoveryCodesUnauthorized

type DetailMfaRecoveryCodesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (*DetailMfaRecoveryCodesUnauthorized) GetPayload

type DetailMfaUnauthorized

type DetailMfaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (o *DetailMfaUnauthorized) Error() string

func (*DetailMfaUnauthorized) GetPayload

type EnrollMfaConflict

type EnrollMfaConflict struct {
	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) Error

func (o *EnrollMfaConflict) Error() string

func (*EnrollMfaConflict) GetPayload

type EnrollMfaCreated

type EnrollMfaCreated struct {
	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) Error

func (o *EnrollMfaCreated) Error() string

func (*EnrollMfaCreated) GetPayload

func (o *EnrollMfaCreated) GetPayload() *rest_model.CreateEnvelope

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type EnrollMfaUnauthorized

type EnrollMfaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (o *EnrollMfaUnauthorized) Error() string

func (*EnrollMfaUnauthorized) GetPayload

type GetCurrentIdentityOK

type GetCurrentIdentityOK struct {
	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) Error

func (o *GetCurrentIdentityOK) Error() string

func (*GetCurrentIdentityOK) GetPayload

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

WithContext adds the context to the get current identity params

func (*GetCurrentIdentityParams) WithDefaults

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

WithTimeout adds the timeout to the get current identity params

func (*GetCurrentIdentityParams) WriteToRequest

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentIdentityUnauthorized

type GetCurrentIdentityUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (*GetCurrentIdentityUnauthorized) GetPayload

type VerifyMfaNotFound

type VerifyMfaNotFound struct {
	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) Error

func (o *VerifyMfaNotFound) Error() string

func (*VerifyMfaNotFound) GetPayload

type VerifyMfaOK

type VerifyMfaOK struct {
	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) Error

func (o *VerifyMfaOK) Error() string

func (*VerifyMfaOK) GetPayload

func (o *VerifyMfaOK) GetPayload() *rest_model.Empty

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) (interface{}, error)

ReadResponse reads a server response into the received o.

type VerifyMfaUnauthorized

type VerifyMfaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
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) Error

func (o *VerifyMfaUnauthorized) Error() string

func (*VerifyMfaUnauthorized) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL