Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMfaRecoveryCodes(params *CreateMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMfaRecoveryCodesOK, error)
- func (a *Client) DeleteMfa(params *DeleteMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMfaOK, error)
- func (a *Client) DetailMfa(params *DetailMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailMfaOK, error)
- func (a *Client) DetailMfaQrCode(params *DetailMfaQrCodeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailMfaQrCodeOK, error)
- func (a *Client) DetailMfaRecoveryCodes(params *DetailMfaRecoveryCodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailMfaRecoveryCodesOK, error)
- func (a *Client) EnrollMfa(params *EnrollMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnrollMfaCreated, error)
- func (a *Client) GetCurrentIdentity(params *GetCurrentIdentityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentIdentityOK, error)
- func (a *Client) GetCurrentIdentityEdgeRouters(params *GetCurrentIdentityEdgeRoutersParams, ...) (*GetCurrentIdentityEdgeRoutersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VerifyMfa(params *VerifyMfaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VerifyMfaOK, error)
- type ClientOption
- type ClientService
- type CreateMfaRecoveryCodesNotFound
- type CreateMfaRecoveryCodesOK
- type CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParams() *CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParamsWithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
- func NewCreateMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) SetContext(ctx context.Context)
- func (o *CreateMfaRecoveryCodesParams) SetDefaults()
- func (o *CreateMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
- func (o *CreateMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *CreateMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
- func (o *CreateMfaRecoveryCodesParams) WithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithDefaults() *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMfaRecoveryCodesReader
- type CreateMfaRecoveryCodesUnauthorized
- type DeleteMfaNotFound
- type DeleteMfaOK
- type DeleteMfaParams
- func (o *DeleteMfaParams) SetContext(ctx context.Context)
- func (o *DeleteMfaParams) SetDefaults()
- func (o *DeleteMfaParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMfaParams) SetMfaValidationCode(mfaValidationCode *string)
- func (o *DeleteMfaParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMfaParams) WithContext(ctx context.Context) *DeleteMfaParams
- func (o *DeleteMfaParams) WithDefaults() *DeleteMfaParams
- func (o *DeleteMfaParams) WithHTTPClient(client *http.Client) *DeleteMfaParams
- func (o *DeleteMfaParams) WithMfaValidationCode(mfaValidationCode *string) *DeleteMfaParams
- func (o *DeleteMfaParams) WithTimeout(timeout time.Duration) *DeleteMfaParams
- func (o *DeleteMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMfaReader
- type DeleteMfaUnauthorized
- type DetailMfaNotFound
- type DetailMfaOK
- type DetailMfaParams
- func (o *DetailMfaParams) SetContext(ctx context.Context)
- func (o *DetailMfaParams) SetDefaults()
- func (o *DetailMfaParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaParams) WithContext(ctx context.Context) *DetailMfaParams
- func (o *DetailMfaParams) WithDefaults() *DetailMfaParams
- func (o *DetailMfaParams) WithHTTPClient(client *http.Client) *DetailMfaParams
- func (o *DetailMfaParams) WithTimeout(timeout time.Duration) *DetailMfaParams
- func (o *DetailMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailMfaQrCodeNotFound
- type DetailMfaQrCodeOK
- type DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParams() *DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParamsWithContext(ctx context.Context) *DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParamsWithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
- func NewDetailMfaQrCodeParamsWithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) SetContext(ctx context.Context)
- func (o *DetailMfaQrCodeParams) SetDefaults()
- func (o *DetailMfaQrCodeParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaQrCodeParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaQrCodeParams) WithContext(ctx context.Context) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WithDefaults() *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
- func (o *DetailMfaQrCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailMfaQrCodeReader
- type DetailMfaReader
- type DetailMfaRecoveryCodesNotFound
- type DetailMfaRecoveryCodesOK
- type DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParams() *DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParamsWithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
- func NewDetailMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) SetContext(ctx context.Context)
- func (o *DetailMfaRecoveryCodesParams) SetDefaults()
- func (o *DetailMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *DetailMfaRecoveryCodesParams) SetMfaValidationCode(mfaValidationCode *string)
- func (o *DetailMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaRecoveryCodesParams) WithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithDefaults() *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithMfaValidationCode(mfaValidationCode *string) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailMfaRecoveryCodesReader
- type DetailMfaRecoveryCodesUnauthorized
- type DetailMfaUnauthorized
- type EnrollMfaConflict
- type EnrollMfaCreated
- type EnrollMfaParams
- func (o *EnrollMfaParams) SetContext(ctx context.Context)
- func (o *EnrollMfaParams) SetDefaults()
- func (o *EnrollMfaParams) SetHTTPClient(client *http.Client)
- func (o *EnrollMfaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollMfaParams) WithContext(ctx context.Context) *EnrollMfaParams
- func (o *EnrollMfaParams) WithDefaults() *EnrollMfaParams
- func (o *EnrollMfaParams) WithHTTPClient(client *http.Client) *EnrollMfaParams
- func (o *EnrollMfaParams) WithTimeout(timeout time.Duration) *EnrollMfaParams
- func (o *EnrollMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollMfaReader
- type EnrollMfaUnauthorized
- type GetCurrentIdentityEdgeRoutersOK
- type GetCurrentIdentityEdgeRoutersParams
- func NewGetCurrentIdentityEdgeRoutersParams() *GetCurrentIdentityEdgeRoutersParams
- func NewGetCurrentIdentityEdgeRoutersParamsWithContext(ctx context.Context) *GetCurrentIdentityEdgeRoutersParams
- func NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityEdgeRoutersParams
- func NewGetCurrentIdentityEdgeRoutersParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityEdgeRoutersParams
- func (o *GetCurrentIdentityEdgeRoutersParams) SetContext(ctx context.Context)
- func (o *GetCurrentIdentityEdgeRoutersParams) SetDefaults()
- func (o *GetCurrentIdentityEdgeRoutersParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentIdentityEdgeRoutersParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentIdentityEdgeRoutersParams) WithContext(ctx context.Context) *GetCurrentIdentityEdgeRoutersParams
- func (o *GetCurrentIdentityEdgeRoutersParams) WithDefaults() *GetCurrentIdentityEdgeRoutersParams
- func (o *GetCurrentIdentityEdgeRoutersParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityEdgeRoutersParams
- func (o *GetCurrentIdentityEdgeRoutersParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityEdgeRoutersParams
- func (o *GetCurrentIdentityEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentIdentityEdgeRoutersReader
- type GetCurrentIdentityEdgeRoutersTooManyRequests
- type GetCurrentIdentityEdgeRoutersUnauthorized
- type GetCurrentIdentityOK
- type GetCurrentIdentityParams
- func NewGetCurrentIdentityParams() *GetCurrentIdentityParams
- func NewGetCurrentIdentityParamsWithContext(ctx context.Context) *GetCurrentIdentityParams
- func NewGetCurrentIdentityParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityParams
- func NewGetCurrentIdentityParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) SetContext(ctx context.Context)
- func (o *GetCurrentIdentityParams) SetDefaults()
- func (o *GetCurrentIdentityParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentIdentityParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentIdentityParams) WithContext(ctx context.Context) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WithDefaults() *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityParams
- func (o *GetCurrentIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentIdentityReader
- type GetCurrentIdentityUnauthorized
- type VerifyMfaNotFound
- type VerifyMfaOK
- type VerifyMfaParams
- func (o *VerifyMfaParams) SetContext(ctx context.Context)
- func (o *VerifyMfaParams) SetDefaults()
- func (o *VerifyMfaParams) SetHTTPClient(client *http.Client)
- func (o *VerifyMfaParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *VerifyMfaParams) SetTimeout(timeout time.Duration)
- func (o *VerifyMfaParams) WithContext(ctx context.Context) *VerifyMfaParams
- func (o *VerifyMfaParams) WithDefaults() *VerifyMfaParams
- func (o *VerifyMfaParams) WithHTTPClient(client *http.Client) *VerifyMfaParams
- func (o *VerifyMfaParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *VerifyMfaParams
- func (o *VerifyMfaParams) WithTimeout(timeout time.Duration) *VerifyMfaParams
- func (o *VerifyMfaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyMfaReader
- type VerifyMfaUnauthorized
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) GetCurrentIdentityEdgeRouters ¶
func (a *Client) GetCurrentIdentityEdgeRouters(params *GetCurrentIdentityEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, 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) GetCurrentIdentityEdgeRouters(params *GetCurrentIdentityEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentIdentityEdgeRoutersOK, 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 (o *CreateMfaRecoveryCodesNotFound) Error() string
func (*CreateMfaRecoveryCodesNotFound) GetPayload ¶
func (o *CreateMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
type CreateMfaRecoveryCodesOK ¶
type CreateMfaRecoveryCodesOK struct {
Payload *rest_model.Empty
}
CreateMfaRecoveryCodesOK describes a response with status code 200, with default header values.
Base empty response
func NewCreateMfaRecoveryCodesOK ¶
func NewCreateMfaRecoveryCodesOK() *CreateMfaRecoveryCodesOK
NewCreateMfaRecoveryCodesOK creates a CreateMfaRecoveryCodesOK with default headers values
func (*CreateMfaRecoveryCodesOK) Error ¶
func (o *CreateMfaRecoveryCodesOK) Error() string
func (*CreateMfaRecoveryCodesOK) GetPayload ¶
func (o *CreateMfaRecoveryCodesOK) GetPayload() *rest_model.Empty
type CreateMfaRecoveryCodesParams ¶
type CreateMfaRecoveryCodesParams struct { /* MfaValidation. An MFA validation request */ MfaValidation *rest_model.MfaCode Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMfaRecoveryCodesParams contains all the parameters to send to the API endpoint
for the create mfa recovery codes operation. Typically these are written to a http.Request.
func NewCreateMfaRecoveryCodesParams ¶
func NewCreateMfaRecoveryCodesParams() *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParams creates a new CreateMfaRecoveryCodesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMfaRecoveryCodesParamsWithContext ¶
func NewCreateMfaRecoveryCodesParamsWithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParamsWithContext creates a new CreateMfaRecoveryCodesParams object with the ability to set a context for a request.
func NewCreateMfaRecoveryCodesParamsWithHTTPClient ¶
func NewCreateMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParamsWithHTTPClient creates a new CreateMfaRecoveryCodesParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMfaRecoveryCodesParamsWithTimeout ¶
func NewCreateMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParamsWithTimeout creates a new CreateMfaRecoveryCodesParams object with the ability to set a timeout on a request.
func (*CreateMfaRecoveryCodesParams) SetContext ¶
func (o *CreateMfaRecoveryCodesParams) SetContext(ctx context.Context)
SetContext adds the context to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) SetDefaults ¶
func (o *CreateMfaRecoveryCodesParams) SetDefaults()
SetDefaults hydrates default values in the create mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMfaRecoveryCodesParams) SetHTTPClient ¶
func (o *CreateMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) SetMfaValidation ¶
func (o *CreateMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
SetMfaValidation adds the mfaValidation to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) SetTimeout ¶
func (o *CreateMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithContext ¶
func (o *CreateMfaRecoveryCodesParams) WithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
WithContext adds the context to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithDefaults ¶
func (o *CreateMfaRecoveryCodesParams) WithDefaults() *CreateMfaRecoveryCodesParams
WithDefaults hydrates default values in the create mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMfaRecoveryCodesParams) WithHTTPClient ¶
func (o *CreateMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
WithHTTPClient adds the HTTPClient to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithMfaValidation ¶
func (o *CreateMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *CreateMfaRecoveryCodesParams
WithMfaValidation adds the mfaValidation to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithTimeout ¶
func (o *CreateMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *CreateMfaRecoveryCodesParams
WithTimeout adds the timeout to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WriteToRequest ¶
func (o *CreateMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMfaRecoveryCodesReader ¶
type CreateMfaRecoveryCodesReader struct {
// contains filtered or unexported fields
}
CreateMfaRecoveryCodesReader is a Reader for the CreateMfaRecoveryCodes structure.
func (*CreateMfaRecoveryCodesReader) ReadResponse ¶
func (o *CreateMfaRecoveryCodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMfaRecoveryCodesUnauthorized ¶
type CreateMfaRecoveryCodesUnauthorized struct {
}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 (o *CreateMfaRecoveryCodesUnauthorized) Error() string
func (*CreateMfaRecoveryCodesUnauthorized) GetPayload ¶
func (o *CreateMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *DeleteMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 {
}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 ¶
func (o *DeleteMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *DetailMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *DetailMfaQrCodeParams) WithContext(ctx context.Context) *DetailMfaQrCodeParams
WithContext adds the context to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WithDefaults ¶
func (o *DetailMfaQrCodeParams) WithDefaults() *DetailMfaQrCodeParams
WithDefaults hydrates default values in the detail mfa qr code params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaQrCodeParams) WithHTTPClient ¶
func (o *DetailMfaQrCodeParams) WithHTTPClient(client *http.Client) *DetailMfaQrCodeParams
WithHTTPClient adds the HTTPClient to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WithTimeout ¶
func (o *DetailMfaQrCodeParams) WithTimeout(timeout time.Duration) *DetailMfaQrCodeParams
WithTimeout adds the timeout to the detail mfa qr code params
func (*DetailMfaQrCodeParams) WriteToRequest ¶
func (o *DetailMfaQrCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailMfaQrCodeReader ¶
type DetailMfaQrCodeReader struct {
// contains filtered or unexported fields
}
DetailMfaQrCodeReader is a Reader for the DetailMfaQrCode structure.
func (*DetailMfaQrCodeReader) ReadResponse ¶
func (o *DetailMfaQrCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (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 (o *DetailMfaRecoveryCodesNotFound) Error() string
func (*DetailMfaRecoveryCodesNotFound) GetPayload ¶
func (o *DetailMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailMfaRecoveryCodesOK ¶
type DetailMfaRecoveryCodesOK struct {
Payload *rest_model.DetailMfaRecoveryCodesEnvelope
}
DetailMfaRecoveryCodesOK describes a response with status code 200, with default header values.
The recovery codes of an MFA enrollment
func NewDetailMfaRecoveryCodesOK ¶
func NewDetailMfaRecoveryCodesOK() *DetailMfaRecoveryCodesOK
NewDetailMfaRecoveryCodesOK creates a DetailMfaRecoveryCodesOK with default headers values
func (*DetailMfaRecoveryCodesOK) Error ¶
func (o *DetailMfaRecoveryCodesOK) Error() string
func (*DetailMfaRecoveryCodesOK) GetPayload ¶
func (o *DetailMfaRecoveryCodesOK) GetPayload() *rest_model.DetailMfaRecoveryCodesEnvelope
type DetailMfaRecoveryCodesParams ¶
type DetailMfaRecoveryCodesParams struct { // MfaValidationCode. MfaValidationCode *string /* MfaValidation. An MFA validation request */ MfaValidation *rest_model.MfaCode Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailMfaRecoveryCodesParams contains all the parameters to send to the API endpoint
for the detail mfa recovery codes operation. Typically these are written to a http.Request.
func NewDetailMfaRecoveryCodesParams ¶
func NewDetailMfaRecoveryCodesParams() *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParams creates a new DetailMfaRecoveryCodesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDetailMfaRecoveryCodesParamsWithContext ¶
func NewDetailMfaRecoveryCodesParamsWithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParamsWithContext creates a new DetailMfaRecoveryCodesParams object with the ability to set a context for a request.
func NewDetailMfaRecoveryCodesParamsWithHTTPClient ¶
func NewDetailMfaRecoveryCodesParamsWithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParamsWithHTTPClient creates a new DetailMfaRecoveryCodesParams object with the ability to set a custom HTTPClient for a request.
func NewDetailMfaRecoveryCodesParamsWithTimeout ¶
func NewDetailMfaRecoveryCodesParamsWithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParamsWithTimeout creates a new DetailMfaRecoveryCodesParams object with the ability to set a timeout on a request.
func (*DetailMfaRecoveryCodesParams) SetContext ¶
func (o *DetailMfaRecoveryCodesParams) SetContext(ctx context.Context)
SetContext adds the context to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetDefaults ¶
func (o *DetailMfaRecoveryCodesParams) SetDefaults()
SetDefaults hydrates default values in the detail mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaRecoveryCodesParams) SetHTTPClient ¶
func (o *DetailMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetMfaValidation ¶
func (o *DetailMfaRecoveryCodesParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
SetMfaValidation adds the mfaValidation to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetMfaValidationCode ¶
func (o *DetailMfaRecoveryCodesParams) SetMfaValidationCode(mfaValidationCode *string)
SetMfaValidationCode adds the mfaValidationCode to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) SetTimeout ¶
func (o *DetailMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithContext ¶
func (o *DetailMfaRecoveryCodesParams) WithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
WithContext adds the context to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithDefaults ¶
func (o *DetailMfaRecoveryCodesParams) WithDefaults() *DetailMfaRecoveryCodesParams
WithDefaults hydrates default values in the detail mfa recovery codes params (not the query body).
All values with no default are reset to their zero value.
func (*DetailMfaRecoveryCodesParams) WithHTTPClient ¶
func (o *DetailMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
WithHTTPClient adds the HTTPClient to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithMfaValidation ¶
func (o *DetailMfaRecoveryCodesParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *DetailMfaRecoveryCodesParams
WithMfaValidation adds the mfaValidation to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithMfaValidationCode ¶
func (o *DetailMfaRecoveryCodesParams) WithMfaValidationCode(mfaValidationCode *string) *DetailMfaRecoveryCodesParams
WithMfaValidationCode adds the mfaValidationCode to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithTimeout ¶
func (o *DetailMfaRecoveryCodesParams) WithTimeout(timeout time.Duration) *DetailMfaRecoveryCodesParams
WithTimeout adds the timeout to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WriteToRequest ¶
func (o *DetailMfaRecoveryCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailMfaRecoveryCodesReader ¶
type DetailMfaRecoveryCodesReader struct {
// contains filtered or unexported fields
}
DetailMfaRecoveryCodesReader is a Reader for the DetailMfaRecoveryCodes structure.
func (*DetailMfaRecoveryCodesReader) ReadResponse ¶
func (o *DetailMfaRecoveryCodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailMfaRecoveryCodesUnauthorized ¶
type DetailMfaRecoveryCodesUnauthorized struct {
}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 (o *DetailMfaRecoveryCodesUnauthorized) Error() string
func (*DetailMfaRecoveryCodesUnauthorized) GetPayload ¶
func (o *DetailMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailMfaUnauthorized ¶
type DetailMfaUnauthorized struct {
}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 ¶
func (o *DetailMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *EnrollMfaConflict) GetPayload() *rest_model.APIErrorEnvelope
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 {
}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 ¶
func (o *EnrollMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type GetCurrentIdentityEdgeRoutersOK ¶
type GetCurrentIdentityEdgeRoutersOK struct {
Payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope
}
GetCurrentIdentityEdgeRoutersOK describes a response with status code 200, with default header values.
A list of edge routers
func NewGetCurrentIdentityEdgeRoutersOK ¶
func NewGetCurrentIdentityEdgeRoutersOK() *GetCurrentIdentityEdgeRoutersOK
NewGetCurrentIdentityEdgeRoutersOK creates a GetCurrentIdentityEdgeRoutersOK with default headers values
func (*GetCurrentIdentityEdgeRoutersOK) Error ¶
func (o *GetCurrentIdentityEdgeRoutersOK) Error() string
func (*GetCurrentIdentityEdgeRoutersOK) GetPayload ¶
func (o *GetCurrentIdentityEdgeRoutersOK) GetPayload() *rest_model.ListCurrentIdentityEdgeRoutersEnvelope
type GetCurrentIdentityEdgeRoutersParams ¶
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 ¶
func NewGetCurrentIdentityEdgeRoutersParams() *GetCurrentIdentityEdgeRoutersParams
NewGetCurrentIdentityEdgeRoutersParams creates a new GetCurrentIdentityEdgeRoutersParams 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 NewGetCurrentIdentityEdgeRoutersParamsWithContext ¶
func NewGetCurrentIdentityEdgeRoutersParamsWithContext(ctx context.Context) *GetCurrentIdentityEdgeRoutersParams
NewGetCurrentIdentityEdgeRoutersParamsWithContext creates a new GetCurrentIdentityEdgeRoutersParams object with the ability to set a context for a request.
func NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient ¶
func NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityEdgeRoutersParams
NewGetCurrentIdentityEdgeRoutersParamsWithHTTPClient creates a new GetCurrentIdentityEdgeRoutersParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentIdentityEdgeRoutersParamsWithTimeout ¶
func NewGetCurrentIdentityEdgeRoutersParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityEdgeRoutersParams
NewGetCurrentIdentityEdgeRoutersParamsWithTimeout creates a new GetCurrentIdentityEdgeRoutersParams object with the ability to set a timeout on a request.
func (*GetCurrentIdentityEdgeRoutersParams) SetContext ¶
func (o *GetCurrentIdentityEdgeRoutersParams) SetContext(ctx context.Context)
SetContext adds the context to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) SetDefaults ¶
func (o *GetCurrentIdentityEdgeRoutersParams) SetDefaults()
SetDefaults hydrates default values in the get current identity edge routers params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentIdentityEdgeRoutersParams) SetHTTPClient ¶
func (o *GetCurrentIdentityEdgeRoutersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) SetTimeout ¶
func (o *GetCurrentIdentityEdgeRoutersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WithContext ¶
func (o *GetCurrentIdentityEdgeRoutersParams) WithContext(ctx context.Context) *GetCurrentIdentityEdgeRoutersParams
WithContext adds the context to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WithDefaults ¶
func (o *GetCurrentIdentityEdgeRoutersParams) WithDefaults() *GetCurrentIdentityEdgeRoutersParams
WithDefaults hydrates default values in the get current identity edge routers params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentIdentityEdgeRoutersParams) WithHTTPClient ¶
func (o *GetCurrentIdentityEdgeRoutersParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityEdgeRoutersParams
WithHTTPClient adds the HTTPClient to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WithTimeout ¶
func (o *GetCurrentIdentityEdgeRoutersParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityEdgeRoutersParams
WithTimeout adds the timeout to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WriteToRequest ¶
func (o *GetCurrentIdentityEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentIdentityEdgeRoutersReader ¶
type GetCurrentIdentityEdgeRoutersReader struct {
// contains filtered or unexported fields
}
GetCurrentIdentityEdgeRoutersReader is a Reader for the GetCurrentIdentityEdgeRouters structure.
func (*GetCurrentIdentityEdgeRoutersReader) ReadResponse ¶
func (o *GetCurrentIdentityEdgeRoutersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentIdentityEdgeRoutersTooManyRequests ¶ added in v0.26.0
type GetCurrentIdentityEdgeRoutersTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
GetCurrentIdentityEdgeRoutersTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewGetCurrentIdentityEdgeRoutersTooManyRequests ¶ added in v0.26.0
func NewGetCurrentIdentityEdgeRoutersTooManyRequests() *GetCurrentIdentityEdgeRoutersTooManyRequests
NewGetCurrentIdentityEdgeRoutersTooManyRequests creates a GetCurrentIdentityEdgeRoutersTooManyRequests with default headers values
func (*GetCurrentIdentityEdgeRoutersTooManyRequests) Error ¶ added in v0.26.0
func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) Error() string
func (*GetCurrentIdentityEdgeRoutersTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type GetCurrentIdentityEdgeRoutersUnauthorized ¶
type GetCurrentIdentityEdgeRoutersUnauthorized struct {
}GetCurrentIdentityEdgeRoutersUnauthorized 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 NewGetCurrentIdentityEdgeRoutersUnauthorized ¶
func NewGetCurrentIdentityEdgeRoutersUnauthorized() *GetCurrentIdentityEdgeRoutersUnauthorized
NewGetCurrentIdentityEdgeRoutersUnauthorized creates a GetCurrentIdentityEdgeRoutersUnauthorized with default headers values
func (*GetCurrentIdentityEdgeRoutersUnauthorized) Error ¶
func (o *GetCurrentIdentityEdgeRoutersUnauthorized) Error() string
func (*GetCurrentIdentityEdgeRoutersUnauthorized) GetPayload ¶
func (o *GetCurrentIdentityEdgeRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *GetCurrentIdentityOK) GetPayload() *rest_model.CurrentIdentityDetailEnvelope
type GetCurrentIdentityParams ¶
type GetCurrentIdentityParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrentIdentityParams contains all the parameters to send to the API endpoint
for the get current identity operation. Typically these are written to a http.Request.
func NewGetCurrentIdentityParams ¶
func NewGetCurrentIdentityParams() *GetCurrentIdentityParams
NewGetCurrentIdentityParams creates a new GetCurrentIdentityParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCurrentIdentityParamsWithContext ¶
func NewGetCurrentIdentityParamsWithContext(ctx context.Context) *GetCurrentIdentityParams
NewGetCurrentIdentityParamsWithContext creates a new GetCurrentIdentityParams object with the ability to set a context for a request.
func NewGetCurrentIdentityParamsWithHTTPClient ¶
func NewGetCurrentIdentityParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityParams
NewGetCurrentIdentityParamsWithHTTPClient creates a new GetCurrentIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentIdentityParamsWithTimeout ¶
func NewGetCurrentIdentityParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityParams
NewGetCurrentIdentityParamsWithTimeout creates a new GetCurrentIdentityParams object with the ability to set a timeout on a request.
func (*GetCurrentIdentityParams) SetContext ¶
func (o *GetCurrentIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the get current identity params
func (*GetCurrentIdentityParams) SetDefaults ¶
func (o *GetCurrentIdentityParams) SetDefaults()
SetDefaults hydrates default values in the get current identity params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentIdentityParams) SetHTTPClient ¶
func (o *GetCurrentIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current identity params
func (*GetCurrentIdentityParams) SetTimeout ¶
func (o *GetCurrentIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current identity params
func (*GetCurrentIdentityParams) WithContext ¶
func (o *GetCurrentIdentityParams) WithContext(ctx context.Context) *GetCurrentIdentityParams
WithContext adds the context to the get current identity params
func (*GetCurrentIdentityParams) WithDefaults ¶
func (o *GetCurrentIdentityParams) WithDefaults() *GetCurrentIdentityParams
WithDefaults hydrates default values in the get current identity params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentIdentityParams) WithHTTPClient ¶
func (o *GetCurrentIdentityParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityParams
WithHTTPClient adds the HTTPClient to the get current identity params
func (*GetCurrentIdentityParams) WithTimeout ¶
func (o *GetCurrentIdentityParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityParams
WithTimeout adds the timeout to the get current identity params
func (*GetCurrentIdentityParams) WriteToRequest ¶
func (o *GetCurrentIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentIdentityReader ¶
type GetCurrentIdentityReader struct {
// contains filtered or unexported fields
}
GetCurrentIdentityReader is a Reader for the GetCurrentIdentity structure.
func (*GetCurrentIdentityReader) ReadResponse ¶
func (o *GetCurrentIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentIdentityUnauthorized ¶
type GetCurrentIdentityUnauthorized struct {
}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 (o *GetCurrentIdentityUnauthorized) Error() string
func (*GetCurrentIdentityUnauthorized) GetPayload ¶
func (o *GetCurrentIdentityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *VerifyMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 {
}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 ¶
func (o *VerifyMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_mfa_recovery_codes_parameters.go
- create_mfa_recovery_codes_responses.go
- current_identity_client.go
- delete_mfa_parameters.go
- delete_mfa_responses.go
- detail_mfa_parameters.go
- detail_mfa_qr_code_parameters.go
- detail_mfa_qr_code_responses.go
- detail_mfa_recovery_codes_parameters.go
- detail_mfa_recovery_codes_responses.go
- detail_mfa_responses.go
- enroll_mfa_parameters.go
- enroll_mfa_responses.go
- get_current_identity_edge_routers_parameters.go
- get_current_identity_edge_routers_responses.go
- get_current_identity_parameters.go
- get_current_identity_responses.go
- verify_mfa_parameters.go
- verify_mfa_responses.go