Documentation ¶
Index ¶
- Constants
- type CreateMfaRecoveryCodes
- type CreateMfaRecoveryCodesHandler
- type CreateMfaRecoveryCodesHandlerFunc
- type CreateMfaRecoveryCodesNotFound
- func (o *CreateMfaRecoveryCodesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateMfaRecoveryCodesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateMfaRecoveryCodesNotFound
- func (o *CreateMfaRecoveryCodesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMfaRecoveryCodesOK
- func (o *CreateMfaRecoveryCodesOK) SetPayload(payload *rest_model.DetailMfaRecoveryCodesEnvelope)
- func (o *CreateMfaRecoveryCodesOK) WithPayload(payload *rest_model.DetailMfaRecoveryCodesEnvelope) *CreateMfaRecoveryCodesOK
- func (o *CreateMfaRecoveryCodesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMfaRecoveryCodesParams
- type CreateMfaRecoveryCodesURL
- func (o *CreateMfaRecoveryCodesURL) Build() (*url.URL, error)
- func (o *CreateMfaRecoveryCodesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateMfaRecoveryCodesURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateMfaRecoveryCodesURL) SetBasePath(bp string)
- func (o *CreateMfaRecoveryCodesURL) String() string
- func (o *CreateMfaRecoveryCodesURL) StringFull(scheme, host string) string
- func (o *CreateMfaRecoveryCodesURL) WithBasePath(bp string) *CreateMfaRecoveryCodesURL
- type CreateMfaRecoveryCodesUnauthorized
- func (o *CreateMfaRecoveryCodesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateMfaRecoveryCodesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateMfaRecoveryCodesUnauthorized
- func (o *CreateMfaRecoveryCodesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMfa
- type DeleteMfaHandler
- type DeleteMfaHandlerFunc
- type DeleteMfaNotFound
- type DeleteMfaOK
- type DeleteMfaParams
- type DeleteMfaURL
- func (o *DeleteMfaURL) Build() (*url.URL, error)
- func (o *DeleteMfaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteMfaURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteMfaURL) SetBasePath(bp string)
- func (o *DeleteMfaURL) String() string
- func (o *DeleteMfaURL) StringFull(scheme, host string) string
- func (o *DeleteMfaURL) WithBasePath(bp string) *DeleteMfaURL
- type DeleteMfaUnauthorized
- type DetailMfa
- type DetailMfaHandler
- type DetailMfaHandlerFunc
- type DetailMfaNotFound
- type DetailMfaOK
- type DetailMfaParams
- type DetailMfaQrCode
- type DetailMfaQrCodeHandler
- type DetailMfaQrCodeHandlerFunc
- type DetailMfaQrCodeNotFound
- type DetailMfaQrCodeOK
- type DetailMfaQrCodeParams
- type DetailMfaQrCodeURL
- func (o *DetailMfaQrCodeURL) Build() (*url.URL, error)
- func (o *DetailMfaQrCodeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailMfaQrCodeURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailMfaQrCodeURL) SetBasePath(bp string)
- func (o *DetailMfaQrCodeURL) String() string
- func (o *DetailMfaQrCodeURL) StringFull(scheme, host string) string
- func (o *DetailMfaQrCodeURL) WithBasePath(bp string) *DetailMfaQrCodeURL
- type DetailMfaRecoveryCodes
- type DetailMfaRecoveryCodesHandler
- type DetailMfaRecoveryCodesHandlerFunc
- type DetailMfaRecoveryCodesNotFound
- func (o *DetailMfaRecoveryCodesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailMfaRecoveryCodesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailMfaRecoveryCodesNotFound
- func (o *DetailMfaRecoveryCodesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailMfaRecoveryCodesOK
- type DetailMfaRecoveryCodesParams
- type DetailMfaRecoveryCodesURL
- func (o *DetailMfaRecoveryCodesURL) Build() (*url.URL, error)
- func (o *DetailMfaRecoveryCodesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailMfaRecoveryCodesURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailMfaRecoveryCodesURL) SetBasePath(bp string)
- func (o *DetailMfaRecoveryCodesURL) String() string
- func (o *DetailMfaRecoveryCodesURL) StringFull(scheme, host string) string
- func (o *DetailMfaRecoveryCodesURL) WithBasePath(bp string) *DetailMfaRecoveryCodesURL
- type DetailMfaRecoveryCodesUnauthorized
- func (o *DetailMfaRecoveryCodesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailMfaRecoveryCodesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailMfaRecoveryCodesUnauthorized
- func (o *DetailMfaRecoveryCodesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailMfaURL
- func (o *DetailMfaURL) Build() (*url.URL, error)
- func (o *DetailMfaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailMfaURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailMfaURL) SetBasePath(bp string)
- func (o *DetailMfaURL) String() string
- func (o *DetailMfaURL) StringFull(scheme, host string) string
- func (o *DetailMfaURL) WithBasePath(bp string) *DetailMfaURL
- type DetailMfaUnauthorized
- type EnrollMfa
- type EnrollMfaConflict
- type EnrollMfaCreated
- type EnrollMfaHandler
- type EnrollMfaHandlerFunc
- type EnrollMfaParams
- type EnrollMfaURL
- func (o *EnrollMfaURL) Build() (*url.URL, error)
- func (o *EnrollMfaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollMfaURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollMfaURL) SetBasePath(bp string)
- func (o *EnrollMfaURL) String() string
- func (o *EnrollMfaURL) StringFull(scheme, host string) string
- func (o *EnrollMfaURL) WithBasePath(bp string) *EnrollMfaURL
- type EnrollMfaUnauthorized
- type GetCurrentIdentity
- type GetCurrentIdentityEdgeRouters
- type GetCurrentIdentityEdgeRoutersHandler
- type GetCurrentIdentityEdgeRoutersHandlerFunc
- type GetCurrentIdentityEdgeRoutersOK
- func (o *GetCurrentIdentityEdgeRoutersOK) SetPayload(payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope)
- func (o *GetCurrentIdentityEdgeRoutersOK) WithPayload(payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope) *GetCurrentIdentityEdgeRoutersOK
- func (o *GetCurrentIdentityEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCurrentIdentityEdgeRoutersParams
- type GetCurrentIdentityEdgeRoutersURL
- func (o *GetCurrentIdentityEdgeRoutersURL) Build() (*url.URL, error)
- func (o *GetCurrentIdentityEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCurrentIdentityEdgeRoutersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCurrentIdentityEdgeRoutersURL) SetBasePath(bp string)
- func (o *GetCurrentIdentityEdgeRoutersURL) String() string
- func (o *GetCurrentIdentityEdgeRoutersURL) StringFull(scheme, host string) string
- func (o *GetCurrentIdentityEdgeRoutersURL) WithBasePath(bp string) *GetCurrentIdentityEdgeRoutersURL
- type GetCurrentIdentityEdgeRoutersUnauthorized
- func (o *GetCurrentIdentityEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *GetCurrentIdentityEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentIdentityEdgeRoutersUnauthorized
- func (o *GetCurrentIdentityEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCurrentIdentityHandler
- type GetCurrentIdentityHandlerFunc
- type GetCurrentIdentityOK
- func (o *GetCurrentIdentityOK) SetPayload(payload *rest_model.CurrentIdentityDetailEnvelope)
- func (o *GetCurrentIdentityOK) WithPayload(payload *rest_model.CurrentIdentityDetailEnvelope) *GetCurrentIdentityOK
- func (o *GetCurrentIdentityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCurrentIdentityParams
- type GetCurrentIdentityURL
- func (o *GetCurrentIdentityURL) Build() (*url.URL, error)
- func (o *GetCurrentIdentityURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCurrentIdentityURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCurrentIdentityURL) SetBasePath(bp string)
- func (o *GetCurrentIdentityURL) String() string
- func (o *GetCurrentIdentityURL) StringFull(scheme, host string) string
- func (o *GetCurrentIdentityURL) WithBasePath(bp string) *GetCurrentIdentityURL
- type GetCurrentIdentityUnauthorized
- func (o *GetCurrentIdentityUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *GetCurrentIdentityUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentIdentityUnauthorized
- func (o *GetCurrentIdentityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type VerifyMfa
- type VerifyMfaHandler
- type VerifyMfaHandlerFunc
- type VerifyMfaNotFound
- type VerifyMfaOK
- type VerifyMfaParams
- type VerifyMfaURL
- func (o *VerifyMfaURL) Build() (*url.URL, error)
- func (o *VerifyMfaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyMfaURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyMfaURL) SetBasePath(bp string)
- func (o *VerifyMfaURL) String() string
- func (o *VerifyMfaURL) StringFull(scheme, host string) string
- func (o *VerifyMfaURL) WithBasePath(bp string) *VerifyMfaURL
- type VerifyMfaUnauthorized
Constants ¶
const CreateMfaRecoveryCodesNotFoundCode int = 404
CreateMfaRecoveryCodesNotFoundCode is the HTTP code returned for type CreateMfaRecoveryCodesNotFound
const CreateMfaRecoveryCodesOKCode int = 200
CreateMfaRecoveryCodesOKCode is the HTTP code returned for type CreateMfaRecoveryCodesOK
CreateMfaRecoveryCodesUnauthorizedCode is the HTTP code returned for type CreateMfaRecoveryCodesUnauthorized
const DeleteMfaNotFoundCode int = 404
DeleteMfaNotFoundCode is the HTTP code returned for type DeleteMfaNotFound
const DeleteMfaOKCode int = 200
DeleteMfaOKCode is the HTTP code returned for type DeleteMfaOK
DeleteMfaUnauthorizedCode is the HTTP code returned for type DeleteMfaUnauthorized
const DetailMfaNotFoundCode int = 404
DetailMfaNotFoundCode is the HTTP code returned for type DetailMfaNotFound
const DetailMfaOKCode int = 200
DetailMfaOKCode is the HTTP code returned for type DetailMfaOK
const DetailMfaQrCodeNotFoundCode int = 404
DetailMfaQrCodeNotFoundCode is the HTTP code returned for type DetailMfaQrCodeNotFound
const DetailMfaQrCodeOKCode int = 200
DetailMfaQrCodeOKCode is the HTTP code returned for type DetailMfaQrCodeOK
const DetailMfaRecoveryCodesNotFoundCode int = 404
DetailMfaRecoveryCodesNotFoundCode is the HTTP code returned for type DetailMfaRecoveryCodesNotFound
const DetailMfaRecoveryCodesOKCode int = 200
DetailMfaRecoveryCodesOKCode is the HTTP code returned for type DetailMfaRecoveryCodesOK
DetailMfaRecoveryCodesUnauthorizedCode is the HTTP code returned for type DetailMfaRecoveryCodesUnauthorized
DetailMfaUnauthorizedCode is the HTTP code returned for type DetailMfaUnauthorized
const EnrollMfaConflictCode int = 409
EnrollMfaConflictCode is the HTTP code returned for type EnrollMfaConflict
const EnrollMfaCreatedCode int = 201
EnrollMfaCreatedCode is the HTTP code returned for type EnrollMfaCreated
EnrollMfaUnauthorizedCode is the HTTP code returned for type EnrollMfaUnauthorized
const GetCurrentIdentityEdgeRoutersOKCode int = 200
GetCurrentIdentityEdgeRoutersOKCode is the HTTP code returned for type GetCurrentIdentityEdgeRoutersOK
GetCurrentIdentityEdgeRoutersUnauthorizedCode is the HTTP code returned for type GetCurrentIdentityEdgeRoutersUnauthorized
const GetCurrentIdentityOKCode int = 200
GetCurrentIdentityOKCode is the HTTP code returned for type GetCurrentIdentityOK
GetCurrentIdentityUnauthorizedCode is the HTTP code returned for type GetCurrentIdentityUnauthorized
const VerifyMfaNotFoundCode int = 404
VerifyMfaNotFoundCode is the HTTP code returned for type VerifyMfaNotFound
const VerifyMfaOKCode int = 200
VerifyMfaOKCode is the HTTP code returned for type VerifyMfaOK
VerifyMfaUnauthorizedCode is the HTTP code returned for type VerifyMfaUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMfaRecoveryCodes ¶
type CreateMfaRecoveryCodes struct { Context *middleware.Context Handler CreateMfaRecoveryCodesHandler }
CreateMfaRecoveryCodes swagger:route POST /current-identity/mfa/recovery-codes Current Identity MFA createMfaRecoveryCodes
For a completed MFA 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 NewCreateMfaRecoveryCodes ¶
func NewCreateMfaRecoveryCodes(ctx *middleware.Context, handler CreateMfaRecoveryCodesHandler) *CreateMfaRecoveryCodes
NewCreateMfaRecoveryCodes creates a new http.Handler for the create mfa recovery codes operation
func (*CreateMfaRecoveryCodes) ServeHTTP ¶
func (o *CreateMfaRecoveryCodes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateMfaRecoveryCodesHandler ¶
type CreateMfaRecoveryCodesHandler interface {
Handle(CreateMfaRecoveryCodesParams, interface{}) middleware.Responder
}
CreateMfaRecoveryCodesHandler interface for that can handle valid create mfa recovery codes params
type CreateMfaRecoveryCodesHandlerFunc ¶
type CreateMfaRecoveryCodesHandlerFunc func(CreateMfaRecoveryCodesParams, interface{}) middleware.Responder
CreateMfaRecoveryCodesHandlerFunc turns a function with the right signature into a create mfa recovery codes handler
func (CreateMfaRecoveryCodesHandlerFunc) Handle ¶
func (fn CreateMfaRecoveryCodesHandlerFunc) Handle(params CreateMfaRecoveryCodesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateMfaRecoveryCodesNotFound ¶
type CreateMfaRecoveryCodesNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateMfaRecoveryCodesNotFound The requested resource does not exist
swagger:response createMfaRecoveryCodesNotFound
func NewCreateMfaRecoveryCodesNotFound ¶
func NewCreateMfaRecoveryCodesNotFound() *CreateMfaRecoveryCodesNotFound
NewCreateMfaRecoveryCodesNotFound creates CreateMfaRecoveryCodesNotFound with default headers values
func (*CreateMfaRecoveryCodesNotFound) SetPayload ¶
func (o *CreateMfaRecoveryCodesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create mfa recovery codes not found response
func (*CreateMfaRecoveryCodesNotFound) WithPayload ¶
func (o *CreateMfaRecoveryCodesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateMfaRecoveryCodesNotFound
WithPayload adds the payload to the create mfa recovery codes not found response
func (*CreateMfaRecoveryCodesNotFound) WriteResponse ¶
func (o *CreateMfaRecoveryCodesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMfaRecoveryCodesOK ¶
type CreateMfaRecoveryCodesOK struct { /* In: Body */ Payload *rest_model.DetailMfaRecoveryCodesEnvelope `json:"body,omitempty"` }
CreateMfaRecoveryCodesOK The recovery codes of an MFA enrollment
swagger:response createMfaRecoveryCodesOK
func NewCreateMfaRecoveryCodesOK ¶
func NewCreateMfaRecoveryCodesOK() *CreateMfaRecoveryCodesOK
NewCreateMfaRecoveryCodesOK creates CreateMfaRecoveryCodesOK with default headers values
func (*CreateMfaRecoveryCodesOK) SetPayload ¶
func (o *CreateMfaRecoveryCodesOK) SetPayload(payload *rest_model.DetailMfaRecoveryCodesEnvelope)
SetPayload sets the payload to the create mfa recovery codes o k response
func (*CreateMfaRecoveryCodesOK) WithPayload ¶
func (o *CreateMfaRecoveryCodesOK) WithPayload(payload *rest_model.DetailMfaRecoveryCodesEnvelope) *CreateMfaRecoveryCodesOK
WithPayload adds the payload to the create mfa recovery codes o k response
func (*CreateMfaRecoveryCodesOK) WriteResponse ¶
func (o *CreateMfaRecoveryCodesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMfaRecoveryCodesParams ¶
type CreateMfaRecoveryCodesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An MFA validation request Required: true In: body */ MfaValidation *rest_model.MfaCode }
CreateMfaRecoveryCodesParams contains all the bound params for the create mfa recovery codes operation typically these are obtained from a http.Request
swagger:parameters createMfaRecoveryCodes
func NewCreateMfaRecoveryCodesParams ¶
func NewCreateMfaRecoveryCodesParams() CreateMfaRecoveryCodesParams
NewCreateMfaRecoveryCodesParams creates a new CreateMfaRecoveryCodesParams object
There are no default values defined in the spec.
func (*CreateMfaRecoveryCodesParams) BindRequest ¶
func (o *CreateMfaRecoveryCodesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateMfaRecoveryCodesParams() beforehand.
type CreateMfaRecoveryCodesURL ¶
type CreateMfaRecoveryCodesURL struct {
// contains filtered or unexported fields
}
CreateMfaRecoveryCodesURL generates an URL for the create mfa recovery codes operation
func (*CreateMfaRecoveryCodesURL) Build ¶
func (o *CreateMfaRecoveryCodesURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateMfaRecoveryCodesURL) BuildFull ¶
func (o *CreateMfaRecoveryCodesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateMfaRecoveryCodesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateMfaRecoveryCodesURL) SetBasePath ¶
func (o *CreateMfaRecoveryCodesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateMfaRecoveryCodesURL) String ¶
func (o *CreateMfaRecoveryCodesURL) String() string
String returns the string representation of the path with query string
func (*CreateMfaRecoveryCodesURL) StringFull ¶
func (o *CreateMfaRecoveryCodesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateMfaRecoveryCodesURL) WithBasePath ¶
func (o *CreateMfaRecoveryCodesURL) WithBasePath(bp string) *CreateMfaRecoveryCodesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateMfaRecoveryCodesUnauthorized ¶
type CreateMfaRecoveryCodesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateMfaRecoveryCodesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createMfaRecoveryCodesUnauthorized
func NewCreateMfaRecoveryCodesUnauthorized ¶
func NewCreateMfaRecoveryCodesUnauthorized() *CreateMfaRecoveryCodesUnauthorized
NewCreateMfaRecoveryCodesUnauthorized creates CreateMfaRecoveryCodesUnauthorized with default headers values
func (*CreateMfaRecoveryCodesUnauthorized) SetPayload ¶
func (o *CreateMfaRecoveryCodesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create mfa recovery codes unauthorized response
func (*CreateMfaRecoveryCodesUnauthorized) WithPayload ¶
func (o *CreateMfaRecoveryCodesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateMfaRecoveryCodesUnauthorized
WithPayload adds the payload to the create mfa recovery codes unauthorized response
func (*CreateMfaRecoveryCodesUnauthorized) WriteResponse ¶
func (o *CreateMfaRecoveryCodesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMfa ¶
type DeleteMfa struct { Context *middleware.Context Handler DeleteMfaHandler }
DeleteMfa swagger:route DELETE /current-identity/mfa Current Identity MFA deleteMfa
Disable MFA 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 NewDeleteMfa ¶
func NewDeleteMfa(ctx *middleware.Context, handler DeleteMfaHandler) *DeleteMfa
NewDeleteMfa creates a new http.Handler for the delete mfa operation
type DeleteMfaHandler ¶
type DeleteMfaHandler interface {
Handle(DeleteMfaParams, interface{}) middleware.Responder
}
DeleteMfaHandler interface for that can handle valid delete mfa params
type DeleteMfaHandlerFunc ¶
type DeleteMfaHandlerFunc func(DeleteMfaParams, interface{}) middleware.Responder
DeleteMfaHandlerFunc turns a function with the right signature into a delete mfa handler
func (DeleteMfaHandlerFunc) Handle ¶
func (fn DeleteMfaHandlerFunc) Handle(params DeleteMfaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteMfaNotFound ¶
type DeleteMfaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteMfaNotFound The requested resource does not exist
swagger:response deleteMfaNotFound
func NewDeleteMfaNotFound ¶
func NewDeleteMfaNotFound() *DeleteMfaNotFound
NewDeleteMfaNotFound creates DeleteMfaNotFound with default headers values
func (*DeleteMfaNotFound) SetPayload ¶
func (o *DeleteMfaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete mfa not found response
func (*DeleteMfaNotFound) WithPayload ¶
func (o *DeleteMfaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteMfaNotFound
WithPayload adds the payload to the delete mfa not found response
func (*DeleteMfaNotFound) WriteResponse ¶
func (o *DeleteMfaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMfaOK ¶
type DeleteMfaOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteMfaOK Base empty response
swagger:response deleteMfaOK
func NewDeleteMfaOK ¶
func NewDeleteMfaOK() *DeleteMfaOK
NewDeleteMfaOK creates DeleteMfaOK with default headers values
func (*DeleteMfaOK) SetPayload ¶
func (o *DeleteMfaOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete mfa o k response
func (*DeleteMfaOK) WithPayload ¶
func (o *DeleteMfaOK) WithPayload(payload *rest_model.Empty) *DeleteMfaOK
WithPayload adds the payload to the delete mfa o k response
func (*DeleteMfaOK) WriteResponse ¶
func (o *DeleteMfaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMfaParams ¶
type DeleteMfaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ MfaValidationCode *string /*An MFA validation request In: body */ MfaValidation *rest_model.MfaCode }
DeleteMfaParams contains all the bound params for the delete mfa operation typically these are obtained from a http.Request
swagger:parameters deleteMfa
func NewDeleteMfaParams ¶
func NewDeleteMfaParams() DeleteMfaParams
NewDeleteMfaParams creates a new DeleteMfaParams object
There are no default values defined in the spec.
func (*DeleteMfaParams) BindRequest ¶
func (o *DeleteMfaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteMfaParams() beforehand.
type DeleteMfaURL ¶
type DeleteMfaURL struct {
// contains filtered or unexported fields
}
DeleteMfaURL generates an URL for the delete mfa operation
func (*DeleteMfaURL) Build ¶
func (o *DeleteMfaURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteMfaURL) BuildFull ¶
func (o *DeleteMfaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteMfaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteMfaURL) SetBasePath ¶
func (o *DeleteMfaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteMfaURL) String ¶
func (o *DeleteMfaURL) String() string
String returns the string representation of the path with query string
func (*DeleteMfaURL) StringFull ¶
func (o *DeleteMfaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteMfaURL) WithBasePath ¶
func (o *DeleteMfaURL) WithBasePath(bp string) *DeleteMfaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteMfaUnauthorized ¶
type DeleteMfaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteMfaUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteMfaUnauthorized
func NewDeleteMfaUnauthorized ¶
func NewDeleteMfaUnauthorized() *DeleteMfaUnauthorized
NewDeleteMfaUnauthorized creates DeleteMfaUnauthorized with default headers values
func (*DeleteMfaUnauthorized) SetPayload ¶
func (o *DeleteMfaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete mfa unauthorized response
func (*DeleteMfaUnauthorized) WithPayload ¶
func (o *DeleteMfaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteMfaUnauthorized
WithPayload adds the payload to the delete mfa unauthorized response
func (*DeleteMfaUnauthorized) WriteResponse ¶
func (o *DeleteMfaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfa ¶
type DetailMfa struct { Context *middleware.Context Handler DetailMfaHandler }
DetailMfa swagger:route GET /current-identity/mfa Current Identity MFA detailMfa
Returns the current status of MFA 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 NewDetailMfa ¶
func NewDetailMfa(ctx *middleware.Context, handler DetailMfaHandler) *DetailMfa
NewDetailMfa creates a new http.Handler for the detail mfa operation
type DetailMfaHandler ¶
type DetailMfaHandler interface {
Handle(DetailMfaParams, interface{}) middleware.Responder
}
DetailMfaHandler interface for that can handle valid detail mfa params
type DetailMfaHandlerFunc ¶
type DetailMfaHandlerFunc func(DetailMfaParams, interface{}) middleware.Responder
DetailMfaHandlerFunc turns a function with the right signature into a detail mfa handler
func (DetailMfaHandlerFunc) Handle ¶
func (fn DetailMfaHandlerFunc) Handle(params DetailMfaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailMfaNotFound ¶
type DetailMfaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailMfaNotFound The requested resource does not exist
swagger:response detailMfaNotFound
func NewDetailMfaNotFound ¶
func NewDetailMfaNotFound() *DetailMfaNotFound
NewDetailMfaNotFound creates DetailMfaNotFound with default headers values
func (*DetailMfaNotFound) SetPayload ¶
func (o *DetailMfaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail mfa not found response
func (*DetailMfaNotFound) WithPayload ¶
func (o *DetailMfaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailMfaNotFound
WithPayload adds the payload to the detail mfa not found response
func (*DetailMfaNotFound) WriteResponse ¶
func (o *DetailMfaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaOK ¶
type DetailMfaOK struct { /* In: Body */ Payload *rest_model.DetailMfaEnvelope `json:"body,omitempty"` }
DetailMfaOK The details of an MFA enrollment
swagger:response detailMfaOK
func NewDetailMfaOK ¶
func NewDetailMfaOK() *DetailMfaOK
NewDetailMfaOK creates DetailMfaOK with default headers values
func (*DetailMfaOK) SetPayload ¶
func (o *DetailMfaOK) SetPayload(payload *rest_model.DetailMfaEnvelope)
SetPayload sets the payload to the detail mfa o k response
func (*DetailMfaOK) WithPayload ¶
func (o *DetailMfaOK) WithPayload(payload *rest_model.DetailMfaEnvelope) *DetailMfaOK
WithPayload adds the payload to the detail mfa o k response
func (*DetailMfaOK) WriteResponse ¶
func (o *DetailMfaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaParams ¶
DetailMfaParams contains all the bound params for the detail mfa operation typically these are obtained from a http.Request
swagger:parameters detailMfa
func NewDetailMfaParams ¶
func NewDetailMfaParams() DetailMfaParams
NewDetailMfaParams creates a new DetailMfaParams object
There are no default values defined in the spec.
func (*DetailMfaParams) BindRequest ¶
func (o *DetailMfaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailMfaParams() beforehand.
type DetailMfaQrCode ¶
type DetailMfaQrCode struct { Context *middleware.Context Handler DetailMfaQrCodeHandler }
DetailMfaQrCode swagger:route GET /current-identity/mfa/qr-code Current Identity MFA detailMfaQrCode
Show a QR code for unverified MFA enrollments ¶
Shows an QR code image for unverified MFA enrollments. 404s if the MFA enrollment has been completed or not started.
func NewDetailMfaQrCode ¶
func NewDetailMfaQrCode(ctx *middleware.Context, handler DetailMfaQrCodeHandler) *DetailMfaQrCode
NewDetailMfaQrCode creates a new http.Handler for the detail mfa qr code operation
func (*DetailMfaQrCode) ServeHTTP ¶
func (o *DetailMfaQrCode) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailMfaQrCodeHandler ¶
type DetailMfaQrCodeHandler interface {
Handle(DetailMfaQrCodeParams, interface{}) middleware.Responder
}
DetailMfaQrCodeHandler interface for that can handle valid detail mfa qr code params
type DetailMfaQrCodeHandlerFunc ¶
type DetailMfaQrCodeHandlerFunc func(DetailMfaQrCodeParams, interface{}) middleware.Responder
DetailMfaQrCodeHandlerFunc turns a function with the right signature into a detail mfa qr code handler
func (DetailMfaQrCodeHandlerFunc) Handle ¶
func (fn DetailMfaQrCodeHandlerFunc) Handle(params DetailMfaQrCodeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailMfaQrCodeNotFound ¶
type DetailMfaQrCodeNotFound struct { }
DetailMfaQrCodeNotFound No MFA enrollment or MFA enrollment is completed
swagger:response detailMfaQrCodeNotFound
func NewDetailMfaQrCodeNotFound ¶
func NewDetailMfaQrCodeNotFound() *DetailMfaQrCodeNotFound
NewDetailMfaQrCodeNotFound creates DetailMfaQrCodeNotFound with default headers values
func (*DetailMfaQrCodeNotFound) WriteResponse ¶
func (o *DetailMfaQrCodeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaQrCodeOK ¶
type DetailMfaQrCodeOK struct { }
DetailMfaQrCodeOK OK
swagger:response detailMfaQrCodeOK
func NewDetailMfaQrCodeOK ¶
func NewDetailMfaQrCodeOK() *DetailMfaQrCodeOK
NewDetailMfaQrCodeOK creates DetailMfaQrCodeOK with default headers values
func (*DetailMfaQrCodeOK) WriteResponse ¶
func (o *DetailMfaQrCodeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaQrCodeParams ¶
DetailMfaQrCodeParams contains all the bound params for the detail mfa qr code operation typically these are obtained from a http.Request
swagger:parameters detailMfaQrCode
func NewDetailMfaQrCodeParams ¶
func NewDetailMfaQrCodeParams() DetailMfaQrCodeParams
NewDetailMfaQrCodeParams creates a new DetailMfaQrCodeParams object
There are no default values defined in the spec.
func (*DetailMfaQrCodeParams) BindRequest ¶
func (o *DetailMfaQrCodeParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailMfaQrCodeParams() beforehand.
type DetailMfaQrCodeURL ¶
type DetailMfaQrCodeURL struct {
// contains filtered or unexported fields
}
DetailMfaQrCodeURL generates an URL for the detail mfa qr code operation
func (*DetailMfaQrCodeURL) Build ¶
func (o *DetailMfaQrCodeURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailMfaQrCodeURL) BuildFull ¶
func (o *DetailMfaQrCodeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailMfaQrCodeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailMfaQrCodeURL) SetBasePath ¶
func (o *DetailMfaQrCodeURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailMfaQrCodeURL) String ¶
func (o *DetailMfaQrCodeURL) String() string
String returns the string representation of the path with query string
func (*DetailMfaQrCodeURL) StringFull ¶
func (o *DetailMfaQrCodeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailMfaQrCodeURL) WithBasePath ¶
func (o *DetailMfaQrCodeURL) WithBasePath(bp string) *DetailMfaQrCodeURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailMfaRecoveryCodes ¶
type DetailMfaRecoveryCodes struct { Context *middleware.Context Handler DetailMfaRecoveryCodesHandler }
DetailMfaRecoveryCodes swagger:route GET /current-identity/mfa/recovery-codes Current Identity MFA detailMfaRecoveryCodes
For a completed MFA 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 NewDetailMfaRecoveryCodes ¶
func NewDetailMfaRecoveryCodes(ctx *middleware.Context, handler DetailMfaRecoveryCodesHandler) *DetailMfaRecoveryCodes
NewDetailMfaRecoveryCodes creates a new http.Handler for the detail mfa recovery codes operation
func (*DetailMfaRecoveryCodes) ServeHTTP ¶
func (o *DetailMfaRecoveryCodes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailMfaRecoveryCodesHandler ¶
type DetailMfaRecoveryCodesHandler interface {
Handle(DetailMfaRecoveryCodesParams, interface{}) middleware.Responder
}
DetailMfaRecoveryCodesHandler interface for that can handle valid detail mfa recovery codes params
type DetailMfaRecoveryCodesHandlerFunc ¶
type DetailMfaRecoveryCodesHandlerFunc func(DetailMfaRecoveryCodesParams, interface{}) middleware.Responder
DetailMfaRecoveryCodesHandlerFunc turns a function with the right signature into a detail mfa recovery codes handler
func (DetailMfaRecoveryCodesHandlerFunc) Handle ¶
func (fn DetailMfaRecoveryCodesHandlerFunc) Handle(params DetailMfaRecoveryCodesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailMfaRecoveryCodesNotFound ¶
type DetailMfaRecoveryCodesNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailMfaRecoveryCodesNotFound The requested resource does not exist
swagger:response detailMfaRecoveryCodesNotFound
func NewDetailMfaRecoveryCodesNotFound ¶
func NewDetailMfaRecoveryCodesNotFound() *DetailMfaRecoveryCodesNotFound
NewDetailMfaRecoveryCodesNotFound creates DetailMfaRecoveryCodesNotFound with default headers values
func (*DetailMfaRecoveryCodesNotFound) SetPayload ¶
func (o *DetailMfaRecoveryCodesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail mfa recovery codes not found response
func (*DetailMfaRecoveryCodesNotFound) WithPayload ¶
func (o *DetailMfaRecoveryCodesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailMfaRecoveryCodesNotFound
WithPayload adds the payload to the detail mfa recovery codes not found response
func (*DetailMfaRecoveryCodesNotFound) WriteResponse ¶
func (o *DetailMfaRecoveryCodesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaRecoveryCodesOK ¶
type DetailMfaRecoveryCodesOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DetailMfaRecoveryCodesOK Base empty response
swagger:response detailMfaRecoveryCodesOK
func NewDetailMfaRecoveryCodesOK ¶
func NewDetailMfaRecoveryCodesOK() *DetailMfaRecoveryCodesOK
NewDetailMfaRecoveryCodesOK creates DetailMfaRecoveryCodesOK with default headers values
func (*DetailMfaRecoveryCodesOK) SetPayload ¶
func (o *DetailMfaRecoveryCodesOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the detail mfa recovery codes o k response
func (*DetailMfaRecoveryCodesOK) WithPayload ¶
func (o *DetailMfaRecoveryCodesOK) WithPayload(payload *rest_model.Empty) *DetailMfaRecoveryCodesOK
WithPayload adds the payload to the detail mfa recovery codes o k response
func (*DetailMfaRecoveryCodesOK) WriteResponse ¶
func (o *DetailMfaRecoveryCodesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaRecoveryCodesParams ¶
type DetailMfaRecoveryCodesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ MfaValidationCode *string /*An MFA validation request In: body */ MfaValidation *rest_model.MfaCode }
DetailMfaRecoveryCodesParams contains all the bound params for the detail mfa recovery codes operation typically these are obtained from a http.Request
swagger:parameters detailMfaRecoveryCodes
func NewDetailMfaRecoveryCodesParams ¶
func NewDetailMfaRecoveryCodesParams() DetailMfaRecoveryCodesParams
NewDetailMfaRecoveryCodesParams creates a new DetailMfaRecoveryCodesParams object
There are no default values defined in the spec.
func (*DetailMfaRecoveryCodesParams) BindRequest ¶
func (o *DetailMfaRecoveryCodesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailMfaRecoveryCodesParams() beforehand.
type DetailMfaRecoveryCodesURL ¶
type DetailMfaRecoveryCodesURL struct {
// contains filtered or unexported fields
}
DetailMfaRecoveryCodesURL generates an URL for the detail mfa recovery codes operation
func (*DetailMfaRecoveryCodesURL) Build ¶
func (o *DetailMfaRecoveryCodesURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailMfaRecoveryCodesURL) BuildFull ¶
func (o *DetailMfaRecoveryCodesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailMfaRecoveryCodesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailMfaRecoveryCodesURL) SetBasePath ¶
func (o *DetailMfaRecoveryCodesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailMfaRecoveryCodesURL) String ¶
func (o *DetailMfaRecoveryCodesURL) String() string
String returns the string representation of the path with query string
func (*DetailMfaRecoveryCodesURL) StringFull ¶
func (o *DetailMfaRecoveryCodesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailMfaRecoveryCodesURL) WithBasePath ¶
func (o *DetailMfaRecoveryCodesURL) WithBasePath(bp string) *DetailMfaRecoveryCodesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailMfaRecoveryCodesUnauthorized ¶
type DetailMfaRecoveryCodesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailMfaRecoveryCodesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailMfaRecoveryCodesUnauthorized
func NewDetailMfaRecoveryCodesUnauthorized ¶
func NewDetailMfaRecoveryCodesUnauthorized() *DetailMfaRecoveryCodesUnauthorized
NewDetailMfaRecoveryCodesUnauthorized creates DetailMfaRecoveryCodesUnauthorized with default headers values
func (*DetailMfaRecoveryCodesUnauthorized) SetPayload ¶
func (o *DetailMfaRecoveryCodesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail mfa recovery codes unauthorized response
func (*DetailMfaRecoveryCodesUnauthorized) WithPayload ¶
func (o *DetailMfaRecoveryCodesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailMfaRecoveryCodesUnauthorized
WithPayload adds the payload to the detail mfa recovery codes unauthorized response
func (*DetailMfaRecoveryCodesUnauthorized) WriteResponse ¶
func (o *DetailMfaRecoveryCodesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailMfaURL ¶
type DetailMfaURL struct {
// contains filtered or unexported fields
}
DetailMfaURL generates an URL for the detail mfa operation
func (*DetailMfaURL) Build ¶
func (o *DetailMfaURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailMfaURL) BuildFull ¶
func (o *DetailMfaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailMfaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailMfaURL) SetBasePath ¶
func (o *DetailMfaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailMfaURL) String ¶
func (o *DetailMfaURL) String() string
String returns the string representation of the path with query string
func (*DetailMfaURL) StringFull ¶
func (o *DetailMfaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailMfaURL) WithBasePath ¶
func (o *DetailMfaURL) WithBasePath(bp string) *DetailMfaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailMfaUnauthorized ¶
type DetailMfaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailMfaUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailMfaUnauthorized
func NewDetailMfaUnauthorized ¶
func NewDetailMfaUnauthorized() *DetailMfaUnauthorized
NewDetailMfaUnauthorized creates DetailMfaUnauthorized with default headers values
func (*DetailMfaUnauthorized) SetPayload ¶
func (o *DetailMfaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail mfa unauthorized response
func (*DetailMfaUnauthorized) WithPayload ¶
func (o *DetailMfaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailMfaUnauthorized
WithPayload adds the payload to the detail mfa unauthorized response
func (*DetailMfaUnauthorized) WriteResponse ¶
func (o *DetailMfaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnrollMfa ¶
type EnrollMfa struct { Context *middleware.Context Handler EnrollMfaHandler }
EnrollMfa swagger:route POST /current-identity/mfa Current Identity MFA enrollMfa
Initiate MFA 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 NewEnrollMfa ¶
func NewEnrollMfa(ctx *middleware.Context, handler EnrollMfaHandler) *EnrollMfa
NewEnrollMfa creates a new http.Handler for the enroll mfa operation
type EnrollMfaConflict ¶
type EnrollMfaConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
EnrollMfaConflict The identity is already enrolled in MFA
swagger:response enrollMfaConflict
func NewEnrollMfaConflict ¶
func NewEnrollMfaConflict() *EnrollMfaConflict
NewEnrollMfaConflict creates EnrollMfaConflict with default headers values
func (*EnrollMfaConflict) SetPayload ¶
func (o *EnrollMfaConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the enroll mfa conflict response
func (*EnrollMfaConflict) WithPayload ¶
func (o *EnrollMfaConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollMfaConflict
WithPayload adds the payload to the enroll mfa conflict response
func (*EnrollMfaConflict) WriteResponse ¶
func (o *EnrollMfaConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnrollMfaCreated ¶
type EnrollMfaCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
EnrollMfaCreated The create request was successful and the resource has been added at the following location
swagger:response enrollMfaCreated
func NewEnrollMfaCreated ¶
func NewEnrollMfaCreated() *EnrollMfaCreated
NewEnrollMfaCreated creates EnrollMfaCreated with default headers values
func (*EnrollMfaCreated) SetPayload ¶
func (o *EnrollMfaCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the enroll mfa created response
func (*EnrollMfaCreated) WithPayload ¶
func (o *EnrollMfaCreated) WithPayload(payload *rest_model.CreateEnvelope) *EnrollMfaCreated
WithPayload adds the payload to the enroll mfa created response
func (*EnrollMfaCreated) WriteResponse ¶
func (o *EnrollMfaCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnrollMfaHandler ¶
type EnrollMfaHandler interface {
Handle(EnrollMfaParams, interface{}) middleware.Responder
}
EnrollMfaHandler interface for that can handle valid enroll mfa params
type EnrollMfaHandlerFunc ¶
type EnrollMfaHandlerFunc func(EnrollMfaParams, interface{}) middleware.Responder
EnrollMfaHandlerFunc turns a function with the right signature into a enroll mfa handler
func (EnrollMfaHandlerFunc) Handle ¶
func (fn EnrollMfaHandlerFunc) Handle(params EnrollMfaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type EnrollMfaParams ¶
EnrollMfaParams contains all the bound params for the enroll mfa operation typically these are obtained from a http.Request
swagger:parameters enrollMfa
func NewEnrollMfaParams ¶
func NewEnrollMfaParams() EnrollMfaParams
NewEnrollMfaParams creates a new EnrollMfaParams object
There are no default values defined in the spec.
func (*EnrollMfaParams) BindRequest ¶
func (o *EnrollMfaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewEnrollMfaParams() beforehand.
type EnrollMfaURL ¶
type EnrollMfaURL struct {
// contains filtered or unexported fields
}
EnrollMfaURL generates an URL for the enroll mfa operation
func (*EnrollMfaURL) Build ¶
func (o *EnrollMfaURL) Build() (*url.URL, error)
Build a url path and query string
func (*EnrollMfaURL) BuildFull ¶
func (o *EnrollMfaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*EnrollMfaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*EnrollMfaURL) SetBasePath ¶
func (o *EnrollMfaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*EnrollMfaURL) String ¶
func (o *EnrollMfaURL) String() string
String returns the string representation of the path with query string
func (*EnrollMfaURL) StringFull ¶
func (o *EnrollMfaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*EnrollMfaURL) WithBasePath ¶
func (o *EnrollMfaURL) WithBasePath(bp string) *EnrollMfaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type EnrollMfaUnauthorized ¶
type EnrollMfaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
EnrollMfaUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response enrollMfaUnauthorized
func NewEnrollMfaUnauthorized ¶
func NewEnrollMfaUnauthorized() *EnrollMfaUnauthorized
NewEnrollMfaUnauthorized creates EnrollMfaUnauthorized with default headers values
func (*EnrollMfaUnauthorized) SetPayload ¶
func (o *EnrollMfaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the enroll mfa unauthorized response
func (*EnrollMfaUnauthorized) WithPayload ¶
func (o *EnrollMfaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollMfaUnauthorized
WithPayload adds the payload to the enroll mfa unauthorized response
func (*EnrollMfaUnauthorized) WriteResponse ¶
func (o *EnrollMfaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCurrentIdentity ¶
type GetCurrentIdentity struct { Context *middleware.Context Handler GetCurrentIdentityHandler }
GetCurrentIdentity swagger:route GET /current-identity Current Identity getCurrentIdentity
Return the current identity ¶
Returns the identity associated with the API sessions used to issue the current request
func NewGetCurrentIdentity ¶
func NewGetCurrentIdentity(ctx *middleware.Context, handler GetCurrentIdentityHandler) *GetCurrentIdentity
NewGetCurrentIdentity creates a new http.Handler for the get current identity operation
func (*GetCurrentIdentity) ServeHTTP ¶
func (o *GetCurrentIdentity) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCurrentIdentityEdgeRouters ¶
type GetCurrentIdentityEdgeRouters struct { Context *middleware.Context Handler GetCurrentIdentityEdgeRoutersHandler }
GetCurrentIdentityEdgeRouters swagger:route GET /current-identity/edge-routers Current Identity Edge Router getCurrentIdentityEdgeRouters
Return 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 NewGetCurrentIdentityEdgeRouters ¶
func NewGetCurrentIdentityEdgeRouters(ctx *middleware.Context, handler GetCurrentIdentityEdgeRoutersHandler) *GetCurrentIdentityEdgeRouters
NewGetCurrentIdentityEdgeRouters creates a new http.Handler for the get current identity edge routers operation
func (*GetCurrentIdentityEdgeRouters) ServeHTTP ¶
func (o *GetCurrentIdentityEdgeRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCurrentIdentityEdgeRoutersHandler ¶
type GetCurrentIdentityEdgeRoutersHandler interface {
Handle(GetCurrentIdentityEdgeRoutersParams, interface{}) middleware.Responder
}
GetCurrentIdentityEdgeRoutersHandler interface for that can handle valid get current identity edge routers params
type GetCurrentIdentityEdgeRoutersHandlerFunc ¶
type GetCurrentIdentityEdgeRoutersHandlerFunc func(GetCurrentIdentityEdgeRoutersParams, interface{}) middleware.Responder
GetCurrentIdentityEdgeRoutersHandlerFunc turns a function with the right signature into a get current identity edge routers handler
func (GetCurrentIdentityEdgeRoutersHandlerFunc) Handle ¶
func (fn GetCurrentIdentityEdgeRoutersHandlerFunc) Handle(params GetCurrentIdentityEdgeRoutersParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetCurrentIdentityEdgeRoutersOK ¶
type GetCurrentIdentityEdgeRoutersOK struct { /* In: Body */ Payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope `json:"body,omitempty"` }
GetCurrentIdentityEdgeRoutersOK A list of edge routers
swagger:response getCurrentIdentityEdgeRoutersOK
func NewGetCurrentIdentityEdgeRoutersOK ¶
func NewGetCurrentIdentityEdgeRoutersOK() *GetCurrentIdentityEdgeRoutersOK
NewGetCurrentIdentityEdgeRoutersOK creates GetCurrentIdentityEdgeRoutersOK with default headers values
func (*GetCurrentIdentityEdgeRoutersOK) SetPayload ¶
func (o *GetCurrentIdentityEdgeRoutersOK) SetPayload(payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope)
SetPayload sets the payload to the get current identity edge routers o k response
func (*GetCurrentIdentityEdgeRoutersOK) WithPayload ¶
func (o *GetCurrentIdentityEdgeRoutersOK) WithPayload(payload *rest_model.ListCurrentIdentityEdgeRoutersEnvelope) *GetCurrentIdentityEdgeRoutersOK
WithPayload adds the payload to the get current identity edge routers o k response
func (*GetCurrentIdentityEdgeRoutersOK) WriteResponse ¶
func (o *GetCurrentIdentityEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCurrentIdentityEdgeRoutersParams ¶
type GetCurrentIdentityEdgeRoutersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetCurrentIdentityEdgeRoutersParams contains all the bound params for the get current identity edge routers operation typically these are obtained from a http.Request
swagger:parameters getCurrentIdentityEdgeRouters
func NewGetCurrentIdentityEdgeRoutersParams ¶
func NewGetCurrentIdentityEdgeRoutersParams() GetCurrentIdentityEdgeRoutersParams
NewGetCurrentIdentityEdgeRoutersParams creates a new GetCurrentIdentityEdgeRoutersParams object
There are no default values defined in the spec.
func (*GetCurrentIdentityEdgeRoutersParams) BindRequest ¶
func (o *GetCurrentIdentityEdgeRoutersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetCurrentIdentityEdgeRoutersParams() beforehand.
type GetCurrentIdentityEdgeRoutersURL ¶
type GetCurrentIdentityEdgeRoutersURL struct {
// contains filtered or unexported fields
}
GetCurrentIdentityEdgeRoutersURL generates an URL for the get current identity edge routers operation
func (*GetCurrentIdentityEdgeRoutersURL) Build ¶
func (o *GetCurrentIdentityEdgeRoutersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCurrentIdentityEdgeRoutersURL) BuildFull ¶
func (o *GetCurrentIdentityEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCurrentIdentityEdgeRoutersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCurrentIdentityEdgeRoutersURL) SetBasePath ¶
func (o *GetCurrentIdentityEdgeRoutersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetCurrentIdentityEdgeRoutersURL) String ¶
func (o *GetCurrentIdentityEdgeRoutersURL) String() string
String returns the string representation of the path with query string
func (*GetCurrentIdentityEdgeRoutersURL) StringFull ¶
func (o *GetCurrentIdentityEdgeRoutersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCurrentIdentityEdgeRoutersURL) WithBasePath ¶
func (o *GetCurrentIdentityEdgeRoutersURL) WithBasePath(bp string) *GetCurrentIdentityEdgeRoutersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetCurrentIdentityEdgeRoutersUnauthorized ¶
type GetCurrentIdentityEdgeRoutersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
GetCurrentIdentityEdgeRoutersUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response getCurrentIdentityEdgeRoutersUnauthorized
func NewGetCurrentIdentityEdgeRoutersUnauthorized ¶
func NewGetCurrentIdentityEdgeRoutersUnauthorized() *GetCurrentIdentityEdgeRoutersUnauthorized
NewGetCurrentIdentityEdgeRoutersUnauthorized creates GetCurrentIdentityEdgeRoutersUnauthorized with default headers values
func (*GetCurrentIdentityEdgeRoutersUnauthorized) SetPayload ¶
func (o *GetCurrentIdentityEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the get current identity edge routers unauthorized response
func (*GetCurrentIdentityEdgeRoutersUnauthorized) WithPayload ¶
func (o *GetCurrentIdentityEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentIdentityEdgeRoutersUnauthorized
WithPayload adds the payload to the get current identity edge routers unauthorized response
func (*GetCurrentIdentityEdgeRoutersUnauthorized) WriteResponse ¶
func (o *GetCurrentIdentityEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCurrentIdentityHandler ¶
type GetCurrentIdentityHandler interface {
Handle(GetCurrentIdentityParams, interface{}) middleware.Responder
}
GetCurrentIdentityHandler interface for that can handle valid get current identity params
type GetCurrentIdentityHandlerFunc ¶
type GetCurrentIdentityHandlerFunc func(GetCurrentIdentityParams, interface{}) middleware.Responder
GetCurrentIdentityHandlerFunc turns a function with the right signature into a get current identity handler
func (GetCurrentIdentityHandlerFunc) Handle ¶
func (fn GetCurrentIdentityHandlerFunc) Handle(params GetCurrentIdentityParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetCurrentIdentityOK ¶
type GetCurrentIdentityOK struct { /* In: Body */ Payload *rest_model.CurrentIdentityDetailEnvelope `json:"body,omitempty"` }
GetCurrentIdentityOK The identity associated with the API Session used to issue the request
swagger:response getCurrentIdentityOK
func NewGetCurrentIdentityOK ¶
func NewGetCurrentIdentityOK() *GetCurrentIdentityOK
NewGetCurrentIdentityOK creates GetCurrentIdentityOK with default headers values
func (*GetCurrentIdentityOK) SetPayload ¶
func (o *GetCurrentIdentityOK) SetPayload(payload *rest_model.CurrentIdentityDetailEnvelope)
SetPayload sets the payload to the get current identity o k response
func (*GetCurrentIdentityOK) WithPayload ¶
func (o *GetCurrentIdentityOK) WithPayload(payload *rest_model.CurrentIdentityDetailEnvelope) *GetCurrentIdentityOK
WithPayload adds the payload to the get current identity o k response
func (*GetCurrentIdentityOK) WriteResponse ¶
func (o *GetCurrentIdentityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCurrentIdentityParams ¶
type GetCurrentIdentityParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetCurrentIdentityParams contains all the bound params for the get current identity operation typically these are obtained from a http.Request
swagger:parameters getCurrentIdentity
func NewGetCurrentIdentityParams ¶
func NewGetCurrentIdentityParams() GetCurrentIdentityParams
NewGetCurrentIdentityParams creates a new GetCurrentIdentityParams object
There are no default values defined in the spec.
func (*GetCurrentIdentityParams) BindRequest ¶
func (o *GetCurrentIdentityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetCurrentIdentityParams() beforehand.
type GetCurrentIdentityURL ¶
type GetCurrentIdentityURL struct {
// contains filtered or unexported fields
}
GetCurrentIdentityURL generates an URL for the get current identity operation
func (*GetCurrentIdentityURL) Build ¶
func (o *GetCurrentIdentityURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCurrentIdentityURL) BuildFull ¶
func (o *GetCurrentIdentityURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCurrentIdentityURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCurrentIdentityURL) SetBasePath ¶
func (o *GetCurrentIdentityURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetCurrentIdentityURL) String ¶
func (o *GetCurrentIdentityURL) String() string
String returns the string representation of the path with query string
func (*GetCurrentIdentityURL) StringFull ¶
func (o *GetCurrentIdentityURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCurrentIdentityURL) WithBasePath ¶
func (o *GetCurrentIdentityURL) WithBasePath(bp string) *GetCurrentIdentityURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetCurrentIdentityUnauthorized ¶
type GetCurrentIdentityUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
GetCurrentIdentityUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response getCurrentIdentityUnauthorized
func NewGetCurrentIdentityUnauthorized ¶
func NewGetCurrentIdentityUnauthorized() *GetCurrentIdentityUnauthorized
NewGetCurrentIdentityUnauthorized creates GetCurrentIdentityUnauthorized with default headers values
func (*GetCurrentIdentityUnauthorized) SetPayload ¶
func (o *GetCurrentIdentityUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the get current identity unauthorized response
func (*GetCurrentIdentityUnauthorized) WithPayload ¶
func (o *GetCurrentIdentityUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentIdentityUnauthorized
WithPayload adds the payload to the get current identity unauthorized response
func (*GetCurrentIdentityUnauthorized) WriteResponse ¶
func (o *GetCurrentIdentityUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyMfa ¶
type VerifyMfa struct { Context *middleware.Context Handler VerifyMfaHandler }
VerifyMfa swagger:route POST /current-identity/mfa/verify Current Identity MFA verifyMfa
Complete MFA 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`.
func NewVerifyMfa ¶
func NewVerifyMfa(ctx *middleware.Context, handler VerifyMfaHandler) *VerifyMfa
NewVerifyMfa creates a new http.Handler for the verify mfa operation
type VerifyMfaHandler ¶
type VerifyMfaHandler interface {
Handle(VerifyMfaParams, interface{}) middleware.Responder
}
VerifyMfaHandler interface for that can handle valid verify mfa params
type VerifyMfaHandlerFunc ¶
type VerifyMfaHandlerFunc func(VerifyMfaParams, interface{}) middleware.Responder
VerifyMfaHandlerFunc turns a function with the right signature into a verify mfa handler
func (VerifyMfaHandlerFunc) Handle ¶
func (fn VerifyMfaHandlerFunc) Handle(params VerifyMfaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type VerifyMfaNotFound ¶
type VerifyMfaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
VerifyMfaNotFound The requested resource does not exist
swagger:response verifyMfaNotFound
func NewVerifyMfaNotFound ¶
func NewVerifyMfaNotFound() *VerifyMfaNotFound
NewVerifyMfaNotFound creates VerifyMfaNotFound with default headers values
func (*VerifyMfaNotFound) SetPayload ¶
func (o *VerifyMfaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the verify mfa not found response
func (*VerifyMfaNotFound) WithPayload ¶
func (o *VerifyMfaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyMfaNotFound
WithPayload adds the payload to the verify mfa not found response
func (*VerifyMfaNotFound) WriteResponse ¶
func (o *VerifyMfaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyMfaOK ¶
type VerifyMfaOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
VerifyMfaOK Base empty response
swagger:response verifyMfaOK
func NewVerifyMfaOK ¶
func NewVerifyMfaOK() *VerifyMfaOK
NewVerifyMfaOK creates VerifyMfaOK with default headers values
func (*VerifyMfaOK) SetPayload ¶
func (o *VerifyMfaOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the verify mfa o k response
func (*VerifyMfaOK) WithPayload ¶
func (o *VerifyMfaOK) WithPayload(payload *rest_model.Empty) *VerifyMfaOK
WithPayload adds the payload to the verify mfa o k response
func (*VerifyMfaOK) WriteResponse ¶
func (o *VerifyMfaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyMfaParams ¶
type VerifyMfaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An MFA validation request Required: true In: body */ MfaValidation *rest_model.MfaCode }
VerifyMfaParams contains all the bound params for the verify mfa operation typically these are obtained from a http.Request
swagger:parameters verifyMfa
func NewVerifyMfaParams ¶
func NewVerifyMfaParams() VerifyMfaParams
NewVerifyMfaParams creates a new VerifyMfaParams object
There are no default values defined in the spec.
func (*VerifyMfaParams) BindRequest ¶
func (o *VerifyMfaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewVerifyMfaParams() beforehand.
type VerifyMfaURL ¶
type VerifyMfaURL struct {
// contains filtered or unexported fields
}
VerifyMfaURL generates an URL for the verify mfa operation
func (*VerifyMfaURL) Build ¶
func (o *VerifyMfaURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyMfaURL) BuildFull ¶
func (o *VerifyMfaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyMfaURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyMfaURL) SetBasePath ¶
func (o *VerifyMfaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*VerifyMfaURL) String ¶
func (o *VerifyMfaURL) String() string
String returns the string representation of the path with query string
func (*VerifyMfaURL) StringFull ¶
func (o *VerifyMfaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyMfaURL) WithBasePath ¶
func (o *VerifyMfaURL) WithBasePath(bp string) *VerifyMfaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type VerifyMfaUnauthorized ¶
type VerifyMfaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
VerifyMfaUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response verifyMfaUnauthorized
func NewVerifyMfaUnauthorized ¶
func NewVerifyMfaUnauthorized() *VerifyMfaUnauthorized
NewVerifyMfaUnauthorized creates VerifyMfaUnauthorized with default headers values
func (*VerifyMfaUnauthorized) SetPayload ¶
func (o *VerifyMfaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the verify mfa unauthorized response
func (*VerifyMfaUnauthorized) WithPayload ¶
func (o *VerifyMfaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyMfaUnauthorized
WithPayload adds the payload to the verify mfa unauthorized response
func (*VerifyMfaUnauthorized) WriteResponse ¶
func (o *VerifyMfaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_mfa_recovery_codes.go
- create_mfa_recovery_codes_parameters.go
- create_mfa_recovery_codes_responses.go
- create_mfa_recovery_codes_urlbuilder.go
- delete_mfa.go
- delete_mfa_parameters.go
- delete_mfa_responses.go
- delete_mfa_urlbuilder.go
- detail_mfa.go
- detail_mfa_parameters.go
- detail_mfa_qr_code.go
- detail_mfa_qr_code_parameters.go
- detail_mfa_qr_code_responses.go
- detail_mfa_qr_code_urlbuilder.go
- detail_mfa_recovery_codes.go
- detail_mfa_recovery_codes_parameters.go
- detail_mfa_recovery_codes_responses.go
- detail_mfa_recovery_codes_urlbuilder.go
- detail_mfa_responses.go
- detail_mfa_urlbuilder.go
- enroll_mfa.go
- enroll_mfa_parameters.go
- enroll_mfa_responses.go
- enroll_mfa_urlbuilder.go
- get_current_identity.go
- get_current_identity_edge_routers.go
- get_current_identity_edge_routers_parameters.go
- get_current_identity_edge_routers_responses.go
- get_current_identity_edge_routers_urlbuilder.go
- get_current_identity_parameters.go
- get_current_identity_responses.go
- get_current_identity_urlbuilder.go
- verify_mfa.go
- verify_mfa_parameters.go
- verify_mfa_responses.go
- verify_mfa_urlbuilder.go