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 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) SetHTTPClient(client *http.Client)
- func (o *CreateMfaRecoveryCodesParams) SetMfaCode(mfaCode *rest_model.MfaCode)
- func (o *CreateMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
- func (o *CreateMfaRecoveryCodesParams) WithContext(ctx context.Context) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
- func (o *CreateMfaRecoveryCodesParams) WithMfaCode(mfaCode *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) SetBody(body *rest_model.MfaCode)
- func (o *DeleteMfaParams) SetContext(ctx context.Context)
- func (o *DeleteMfaParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMfaParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMfaParams) WithBody(body *rest_model.MfaCode) *DeleteMfaParams
- func (o *DeleteMfaParams) WithContext(ctx context.Context) *DeleteMfaParams
- func (o *DeleteMfaParams) WithHTTPClient(client *http.Client) *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) SetHTTPClient(client *http.Client)
- func (o *DetailMfaParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaParams) WithContext(ctx context.Context) *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) SetHTTPClient(client *http.Client)
- func (o *DetailMfaQrCodeParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaQrCodeParams) WithContext(ctx context.Context) *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) SetBody(body *rest_model.MfaCode)
- func (o *DetailMfaRecoveryCodesParams) SetContext(ctx context.Context)
- func (o *DetailMfaRecoveryCodesParams) SetHTTPClient(client *http.Client)
- func (o *DetailMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
- func (o *DetailMfaRecoveryCodesParams) WithBody(body *rest_model.MfaCode) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithContext(ctx context.Context) *DetailMfaRecoveryCodesParams
- func (o *DetailMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *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) SetHTTPClient(client *http.Client)
- func (o *EnrollMfaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollMfaParams) WithContext(ctx context.Context) *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) SetHTTPClient(client *http.Client)
- func (o *GetCurrentIdentityEdgeRoutersParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentIdentityEdgeRoutersParams) WithContext(ctx context.Context) *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 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) SetHTTPClient(client *http.Client)
- func (o *GetCurrentIdentityParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentIdentityParams) WithContext(ctx context.Context) *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) SetBody(body *rest_model.MfaCode)
- func (o *VerifyMfaParams) SetContext(ctx context.Context)
- func (o *VerifyMfaParams) SetHTTPClient(client *http.Client)
- func (o *VerifyMfaParams) SetTimeout(timeout time.Duration)
- func (o *VerifyMfaParams) WithBody(body *rest_model.MfaCode) *VerifyMfaParams
- func (o *VerifyMfaParams) WithContext(ctx context.Context) *VerifyMfaParams
- func (o *VerifyMfaParams) WithHTTPClient(client *http.Client) *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) (*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 (o *CreateMfaRecoveryCodesNotFound) Error() string
func (*CreateMfaRecoveryCodesNotFound) GetPayload ¶
func (o *CreateMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *CreateMfaRecoveryCodesOK) GetPayload() *rest_model.DetailMfaRecoveryCodesEnvelope
type CreateMfaRecoveryCodesParams ¶
type CreateMfaRecoveryCodesParams struct { /*MfaCode An MFA validation request */ MfaCode *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) SetMfaCode ¶
func (o *CreateMfaRecoveryCodesParams) SetMfaCode(mfaCode *rest_model.MfaCode)
SetMfaCode adds the mfaCode 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) WithHTTPClient ¶
func (o *CreateMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *CreateMfaRecoveryCodesParams
WithHTTPClient adds the HTTPClient to the create mfa recovery codes params
func (*CreateMfaRecoveryCodesParams) WithMfaCode ¶
func (o *CreateMfaRecoveryCodesParams) WithMfaCode(mfaCode *rest_model.MfaCode) *CreateMfaRecoveryCodesParams
WithMfaCode adds the mfaCode 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 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 (o *CreateMfaRecoveryCodesUnauthorized) Error() string
func (*CreateMfaRecoveryCodesUnauthorized) GetPayload ¶
func (o *CreateMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *DeleteMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 { /*Body An MFA validation request */ Body *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) SetBody ¶
func (o *DeleteMfaParams) SetBody(body *rest_model.MfaCode)
SetBody adds the body to the delete mfa params
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) SetTimeout ¶
func (o *DeleteMfaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete mfa params
func (*DeleteMfaParams) WithBody ¶
func (o *DeleteMfaParams) WithBody(body *rest_model.MfaCode) *DeleteMfaParams
WithBody adds the body 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) 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 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 ¶
func (o *DeleteMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *DetailMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *DetailMfaQrCodeParams) WithContext(ctx context.Context) *DetailMfaQrCodeParams
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 (o *DetailMfaRecoveryCodesNotFound) Error() string
func (*DetailMfaRecoveryCodesNotFound) GetPayload ¶
func (o *DetailMfaRecoveryCodesNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 { /*Body An MFA validation request */ Body *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) SetBody ¶
func (o *DetailMfaRecoveryCodesParams) SetBody(body *rest_model.MfaCode)
SetBody adds the body to the detail mfa recovery codes params
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) SetTimeout ¶
func (o *DetailMfaRecoveryCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail mfa recovery codes params
func (*DetailMfaRecoveryCodesParams) WithBody ¶
func (o *DetailMfaRecoveryCodesParams) WithBody(body *rest_model.MfaCode) *DetailMfaRecoveryCodesParams
WithBody adds the body 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) WithHTTPClient ¶
func (o *DetailMfaRecoveryCodesParams) WithHTTPClient(client *http.Client) *DetailMfaRecoveryCodesParams
WithHTTPClient adds the HTTPClient 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 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 (o *DetailMfaRecoveryCodesUnauthorized) Error() string
func (*DetailMfaRecoveryCodesUnauthorized) GetPayload ¶
func (o *DetailMfaRecoveryCodesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailMfaUnauthorized ¶
type DetailMfaUnauthorized struct {
}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 ¶
func (o *DetailMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *EnrollMfaConflict) GetPayload() *rest_model.APIErrorEnvelope
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 {
}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 ¶
func (o *EnrollMfaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *GetCurrentIdentityEdgeRoutersOK) Error() string
func (*GetCurrentIdentityEdgeRoutersOK) GetPayload ¶ added in v0.17.58
func (o *GetCurrentIdentityEdgeRoutersOK) GetPayload() *rest_model.ListCurrentIdentityEdgeRoutersEnvelope
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
func (o *GetCurrentIdentityEdgeRoutersParams) SetContext(ctx context.Context)
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
func (o *GetCurrentIdentityEdgeRoutersParams) WithContext(ctx context.Context) *GetCurrentIdentityEdgeRoutersParams
WithContext adds the context to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WithHTTPClient ¶ added in v0.17.58
func (o *GetCurrentIdentityEdgeRoutersParams) WithHTTPClient(client *http.Client) *GetCurrentIdentityEdgeRoutersParams
WithHTTPClient adds the HTTPClient to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WithTimeout ¶ added in v0.17.58
func (o *GetCurrentIdentityEdgeRoutersParams) WithTimeout(timeout time.Duration) *GetCurrentIdentityEdgeRoutersParams
WithTimeout adds the timeout to the get current identity edge routers params
func (*GetCurrentIdentityEdgeRoutersParams) WriteToRequest ¶ added in v0.17.58
func (o *GetCurrentIdentityEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetCurrentIdentityEdgeRoutersUnauthorized) Error() string
func (*GetCurrentIdentityEdgeRoutersUnauthorized) GetPayload ¶ added in v0.17.58
func (o *GetCurrentIdentityEdgeRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
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 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 ¶
func (o *GetCurrentIdentityParams) WithContext(ctx context.Context) *GetCurrentIdentityParams
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 ¶
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 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 (o *GetCurrentIdentityUnauthorized) Error() string
func (*GetCurrentIdentityUnauthorized) GetPayload ¶
func (o *GetCurrentIdentityUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *VerifyMfaNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 { /*Body An MFA validation request */ Body *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) SetBody ¶
func (o *VerifyMfaParams) SetBody(body *rest_model.MfaCode)
SetBody adds the body to the verify mfa params
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) SetTimeout ¶
func (o *VerifyMfaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verify mfa params
func (*VerifyMfaParams) WithBody ¶
func (o *VerifyMfaParams) WithBody(body *rest_model.MfaCode) *VerifyMfaParams
WithBody adds the body 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) 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 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 ¶
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