current_identity

package
v0.19.52 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 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) (*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) (*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) (*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) (*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) (*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) (*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) (*GetCurrentIdentityOK, error)

GetCurrentIdentity returns the current identity

Returns the identity associated with the API sessions used to issue the current request

func (*Client) GetCurrentIdentityEdgeRouters added in v0.17.58

func (a *Client) GetCurrentIdentityEdgeRouters(params *GetCurrentIdentityEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentIdentityEdgeRoutersOK, error)
GetCurrentIdentityEdgeRouters returns this list of edge routers the identity has access to

Lists the Edge Routers that the current identity has access to via policies. The data returned

includes their address and online status

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) (*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 ClientService

type ClientService interface {
	CreateMfaRecoveryCodes(params *CreateMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMfaRecoveryCodesOK, error)

	DeleteMfa(params *DeleteMfaParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMfaOK, error)

	DetailMfa(params *DetailMfaParams, authInfo runtime.ClientAuthInfoWriter) (*DetailMfaOK, error)

	DetailMfaQrCode(params *DetailMfaQrCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DetailMfaQrCodeOK, error)

	DetailMfaRecoveryCodes(params *DetailMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter) (*DetailMfaRecoveryCodesOK, error)

	EnrollMfa(params *EnrollMfaParams, authInfo runtime.ClientAuthInfoWriter) (*EnrollMfaCreated, error)

	GetCurrentIdentity(params *GetCurrentIdentityParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentIdentityOK, error)

	GetCurrentIdentityEdgeRouters(params *GetCurrentIdentityEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentIdentityEdgeRoutersOK, error)

	VerifyMfa(params *VerifyMfaParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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 handles this case 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 values initialized.

func NewCreateMfaRecoveryCodesParamsWithContext

func NewCreateMfaRecoveryCodesParamsWithContext(ctx context.Context) *CreateMfaRecoveryCodesParams

NewCreateMfaRecoveryCodesParamsWithContext creates a new CreateMfaRecoveryCodesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

func (o *CreateMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create mfa recovery codes params

func (*CreateMfaRecoveryCodesParams) SetMfaValidation added in v0.19.6

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

WithHTTPClient adds the HTTPClient to the create mfa recovery codes params

func (*CreateMfaRecoveryCodesParams) WithMfaValidation added in v0.19.6

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 handles this case with default header values.

The currently 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 handles this case 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 handles this case 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
	/*MfaValidation
	  An MFA validation request

	*/
	MfaValidation *rest_model.MfaCode

	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 values initialized.

func NewDeleteMfaParamsWithContext

func NewDeleteMfaParamsWithContext(ctx context.Context) *DeleteMfaParams

NewDeleteMfaParamsWithContext creates a new DeleteMfaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

func (o *DeleteMfaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete mfa params

func (*DeleteMfaParams) SetMfaValidation added in v0.19.6

func (o *DeleteMfaParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)

SetMfaValidation adds the mfaValidation to the delete mfa params

func (*DeleteMfaParams) SetMfaValidationCode added in v0.19.6

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

func (o *DeleteMfaParams) WithHTTPClient(client *http.Client) *DeleteMfaParams

WithHTTPClient adds the HTTPClient to the delete mfa params

func (*DeleteMfaParams) WithMfaValidation added in v0.19.6

func (o *DeleteMfaParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *DeleteMfaParams

WithMfaValidation adds the mfaValidation to the delete mfa params

func (*DeleteMfaParams) WithMfaValidationCode added in v0.19.6

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 handles this case with default header values.

The currently 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 handles this case 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 handles this case 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 values initialized.

func NewDetailMfaParamsWithContext

func NewDetailMfaParamsWithContext(ctx context.Context) *DetailMfaParams

NewDetailMfaParamsWithContext creates a new DetailMfaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 values initialized.

func NewDetailMfaQrCodeParamsWithContext

func NewDetailMfaQrCodeParamsWithContext(ctx context.Context) *DetailMfaQrCodeParams

NewDetailMfaQrCodeParamsWithContext creates a new DetailMfaQrCodeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 values initialized.

func NewDetailMfaRecoveryCodesParamsWithContext

func NewDetailMfaRecoveryCodesParamsWithContext(ctx context.Context) *DetailMfaRecoveryCodesParams

NewDetailMfaRecoveryCodesParamsWithContext creates a new DetailMfaRecoveryCodesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

func (o *DetailMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the detail mfa recovery codes params

func (*DetailMfaRecoveryCodesParams) SetMfaValidation added in v0.19.6

func (o *DetailMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)

SetMfaValidation adds the mfaValidation to the detail mfa recovery codes params

func (*DetailMfaRecoveryCodesParams) SetMfaValidationCode added in v0.19.6

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

WithHTTPClient adds the HTTPClient to the detail mfa recovery codes params

func (*DetailMfaRecoveryCodesParams) WithMfaValidation added in v0.19.6

func (o *DetailMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *DetailMfaRecoveryCodesParams

WithMfaValidation adds the mfaValidation to the detail mfa recovery codes params

func (*DetailMfaRecoveryCodesParams) WithMfaValidationCode added in v0.19.6

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 handles this case with default header values.

The currently 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 handles this case with default header values.

The currently 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 handles this case 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 handles this case 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 values initialized.

func NewEnrollMfaParamsWithContext

func NewEnrollMfaParamsWithContext(ctx context.Context) *EnrollMfaParams

NewEnrollMfaParamsWithContext creates a new EnrollMfaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

The currently 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 GetCurrentIdentityEdgeRoutersOK added in v0.17.58

type GetCurrentIdentityEdgeRoutersOK struct {
	Payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope
}

GetCurrentIdentityEdgeRoutersOK handles this case with default header values.

A list of edge routers

func NewGetCurrentIdentityEdgeRoutersOK added in v0.17.58

func NewGetCurrentIdentityEdgeRoutersOK() *GetCurrentIdentityEdgeRoutersOK

NewGetCurrentIdentityEdgeRoutersOK creates a GetCurrentIdentityEdgeRoutersOK with default headers values

func (*GetCurrentIdentityEdgeRoutersOK) Error added in v0.17.58

func (*GetCurrentIdentityEdgeRoutersOK) GetPayload added in v0.17.58

type GetCurrentIdentityEdgeRoutersParams added in v0.17.58

type GetCurrentIdentityEdgeRoutersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentIdentityEdgeRoutersParams contains all the parameters to send to the API endpoint for the get current identity edge routers operation typically these are written to a http.Request

func NewGetCurrentIdentityEdgeRoutersParams added in v0.17.58

func NewGetCurrentIdentityEdgeRoutersParams() *GetCurrentIdentityEdgeRoutersParams

NewGetCurrentIdentityEdgeRoutersParams creates a new GetCurrentIdentityEdgeRoutersParams object with the default values initialized.

func NewGetCurrentIdentityEdgeRoutersParamsWithContext added in v0.17.58

func NewGetCurrentIdentityEdgeRoutersParamsWithContext(ctx context.Context) *GetCurrentIdentityEdgeRoutersParams

NewGetCurrentIdentityEdgeRoutersParamsWithContext creates a new GetCurrentIdentityEdgeRoutersParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient added in v0.17.58

func NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityEdgeRoutersParams

NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient creates a new GetCurrentIdentityEdgeRoutersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentIdentityEdgeRoutersParamsWithTimeout added in v0.17.58

func NewGetCurrentIdentityEdgeRoutersParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityEdgeRoutersParams

NewGetCurrentIdentityEdgeRoutersParamsWithTimeout creates a new GetCurrentIdentityEdgeRoutersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentIdentityEdgeRoutersParams) SetContext added in v0.17.58

SetContext adds the context to the get current identity edge routers params

func (*GetCurrentIdentityEdgeRoutersParams) SetHTTPClient added in v0.17.58

func (o *GetCurrentIdentityEdgeRoutersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current identity edge routers params

func (*GetCurrentIdentityEdgeRoutersParams) SetTimeout added in v0.17.58

func (o *GetCurrentIdentityEdgeRoutersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current identity edge routers params

func (*GetCurrentIdentityEdgeRoutersParams) WithContext added in v0.17.58

WithContext adds the context to the get current identity edge routers params

func (*GetCurrentIdentityEdgeRoutersParams) WithHTTPClient added in v0.17.58

WithHTTPClient adds the HTTPClient to the get current identity edge routers params

func (*GetCurrentIdentityEdgeRoutersParams) WithTimeout added in v0.17.58

WithTimeout adds the timeout to the get current identity edge routers params

func (*GetCurrentIdentityEdgeRoutersParams) WriteToRequest added in v0.17.58

WriteToRequest writes these params to a swagger request

type GetCurrentIdentityEdgeRoutersReader added in v0.17.58

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

GetCurrentIdentityEdgeRoutersReader is a Reader for the GetCurrentIdentityEdgeRouters structure.

func (*GetCurrentIdentityEdgeRoutersReader) ReadResponse added in v0.17.58

func (o *GetCurrentIdentityEdgeRoutersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentIdentityEdgeRoutersUnauthorized added in v0.17.58

type GetCurrentIdentityEdgeRoutersUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

GetCurrentIdentityEdgeRoutersUnauthorized handles this case with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewGetCurrentIdentityEdgeRoutersUnauthorized added in v0.17.58

func NewGetCurrentIdentityEdgeRoutersUnauthorized() *GetCurrentIdentityEdgeRoutersUnauthorized

NewGetCurrentIdentityEdgeRoutersUnauthorized creates a GetCurrentIdentityEdgeRoutersUnauthorized with default headers values

func (*GetCurrentIdentityEdgeRoutersUnauthorized) Error added in v0.17.58

func (*GetCurrentIdentityEdgeRoutersUnauthorized) GetPayload added in v0.17.58

type GetCurrentIdentityOK

type GetCurrentIdentityOK struct {
	Payload *rest_model.CurrentIdentityDetailEnvelope
}

GetCurrentIdentityOK handles this case 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 values initialized.

func NewGetCurrentIdentityParamsWithContext

func NewGetCurrentIdentityParamsWithContext(ctx context.Context) *GetCurrentIdentityParams

NewGetCurrentIdentityParamsWithContext creates a new GetCurrentIdentityParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

The currently 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 handles this case 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 handles this case 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 values initialized.

func NewVerifyMfaParamsWithContext

func NewVerifyMfaParamsWithContext(ctx context.Context) *VerifyMfaParams

NewVerifyMfaParamsWithContext creates a new VerifyMfaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

func (o *VerifyMfaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the verify mfa params

func (*VerifyMfaParams) SetMfaValidation added in v0.19.6

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

func (o *VerifyMfaParams) WithHTTPClient(client *http.Client) *VerifyMfaParams

WithHTTPClient adds the HTTPClient to the verify mfa params

func (*VerifyMfaParams) WithMfaValidation added in v0.19.6

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 handles this case with default header values.

The currently 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