authenticator

package
v0.25.27 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreateAuthenticatorBadRequestCode int = 400

CreateAuthenticatorBadRequestCode is the HTTP code returned for type CreateAuthenticatorBadRequest

View Source
const CreateAuthenticatorCreatedCode int = 201

CreateAuthenticatorCreatedCode is the HTTP code returned for type CreateAuthenticatorCreated

View Source
const CreateAuthenticatorUnauthorizedCode int = 401

CreateAuthenticatorUnauthorizedCode is the HTTP code returned for type CreateAuthenticatorUnauthorized

View Source
const DeleteAuthenticatorBadRequestCode int = 400

DeleteAuthenticatorBadRequestCode is the HTTP code returned for type DeleteAuthenticatorBadRequest

View Source
const DeleteAuthenticatorOKCode int = 200

DeleteAuthenticatorOKCode is the HTTP code returned for type DeleteAuthenticatorOK

View Source
const DeleteAuthenticatorUnauthorizedCode int = 401

DeleteAuthenticatorUnauthorizedCode is the HTTP code returned for type DeleteAuthenticatorUnauthorized

View Source
const DetailAuthenticatorNotFoundCode int = 404

DetailAuthenticatorNotFoundCode is the HTTP code returned for type DetailAuthenticatorNotFound

View Source
const DetailAuthenticatorOKCode int = 200

DetailAuthenticatorOKCode is the HTTP code returned for type DetailAuthenticatorOK

View Source
const DetailAuthenticatorUnauthorizedCode int = 401

DetailAuthenticatorUnauthorizedCode is the HTTP code returned for type DetailAuthenticatorUnauthorized

View Source
const ListAuthenticatorsBadRequestCode int = 400

ListAuthenticatorsBadRequestCode is the HTTP code returned for type ListAuthenticatorsBadRequest

View Source
const ListAuthenticatorsOKCode int = 200

ListAuthenticatorsOKCode is the HTTP code returned for type ListAuthenticatorsOK

View Source
const ListAuthenticatorsUnauthorizedCode int = 401

ListAuthenticatorsUnauthorizedCode is the HTTP code returned for type ListAuthenticatorsUnauthorized

View Source
const PatchAuthenticatorBadRequestCode int = 400

PatchAuthenticatorBadRequestCode is the HTTP code returned for type PatchAuthenticatorBadRequest

View Source
const PatchAuthenticatorNotFoundCode int = 404

PatchAuthenticatorNotFoundCode is the HTTP code returned for type PatchAuthenticatorNotFound

View Source
const PatchAuthenticatorOKCode int = 200

PatchAuthenticatorOKCode is the HTTP code returned for type PatchAuthenticatorOK

View Source
const PatchAuthenticatorUnauthorizedCode int = 401

PatchAuthenticatorUnauthorizedCode is the HTTP code returned for type PatchAuthenticatorUnauthorized

View Source
const ReEnrollAuthenticatorCreatedCode int = 201

ReEnrollAuthenticatorCreatedCode is the HTTP code returned for type ReEnrollAuthenticatorCreated

View Source
const ReEnrollAuthenticatorNotFoundCode int = 404

ReEnrollAuthenticatorNotFoundCode is the HTTP code returned for type ReEnrollAuthenticatorNotFound

View Source
const ReEnrollAuthenticatorUnauthorizedCode int = 401

ReEnrollAuthenticatorUnauthorizedCode is the HTTP code returned for type ReEnrollAuthenticatorUnauthorized

View Source
const UpdateAuthenticatorBadRequestCode int = 400

UpdateAuthenticatorBadRequestCode is the HTTP code returned for type UpdateAuthenticatorBadRequest

View Source
const UpdateAuthenticatorNotFoundCode int = 404

UpdateAuthenticatorNotFoundCode is the HTTP code returned for type UpdateAuthenticatorNotFound

View Source
const UpdateAuthenticatorOKCode int = 200

UpdateAuthenticatorOKCode is the HTTP code returned for type UpdateAuthenticatorOK

View Source
const UpdateAuthenticatorUnauthorizedCode int = 401

UpdateAuthenticatorUnauthorizedCode is the HTTP code returned for type UpdateAuthenticatorUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAuthenticator

type CreateAuthenticator struct {
	Context *middleware.Context
	Handler CreateAuthenticatorHandler
}
CreateAuthenticator swagger:route POST /authenticators Authenticator createAuthenticator

Creates an authenticator

Creates an authenticator for a specific identity. Requires admin access.

func NewCreateAuthenticator

func NewCreateAuthenticator(ctx *middleware.Context, handler CreateAuthenticatorHandler) *CreateAuthenticator

NewCreateAuthenticator creates a new http.Handler for the create authenticator operation

func (*CreateAuthenticator) ServeHTTP

func (o *CreateAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateAuthenticatorBadRequest

type CreateAuthenticatorBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateAuthenticatorBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response createAuthenticatorBadRequest

func NewCreateAuthenticatorBadRequest

func NewCreateAuthenticatorBadRequest() *CreateAuthenticatorBadRequest

NewCreateAuthenticatorBadRequest creates CreateAuthenticatorBadRequest with default headers values

func (*CreateAuthenticatorBadRequest) SetPayload

SetPayload sets the payload to the create authenticator bad request response

func (*CreateAuthenticatorBadRequest) WithPayload

WithPayload adds the payload to the create authenticator bad request response

func (*CreateAuthenticatorBadRequest) WriteResponse

func (o *CreateAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAuthenticatorCreated

type CreateAuthenticatorCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model.AuthenticatorCreate `json:"body,omitempty"`
}

CreateAuthenticatorCreated The create was successful

swagger:response createAuthenticatorCreated

func NewCreateAuthenticatorCreated

func NewCreateAuthenticatorCreated() *CreateAuthenticatorCreated

NewCreateAuthenticatorCreated creates CreateAuthenticatorCreated with default headers values

func (*CreateAuthenticatorCreated) SetPayload

SetPayload sets the payload to the create authenticator created response

func (*CreateAuthenticatorCreated) WithPayload

WithPayload adds the payload to the create authenticator created response

func (*CreateAuthenticatorCreated) WriteResponse

func (o *CreateAuthenticatorCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAuthenticatorHandler

type CreateAuthenticatorHandler interface {
	Handle(CreateAuthenticatorParams, interface{}) middleware.Responder
}

CreateAuthenticatorHandler interface for that can handle valid create authenticator params

type CreateAuthenticatorHandlerFunc

type CreateAuthenticatorHandlerFunc func(CreateAuthenticatorParams, interface{}) middleware.Responder

CreateAuthenticatorHandlerFunc turns a function with the right signature into a create authenticator handler

func (CreateAuthenticatorHandlerFunc) Handle

func (fn CreateAuthenticatorHandlerFunc) Handle(params CreateAuthenticatorParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreateAuthenticatorParams

type CreateAuthenticatorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A Authenticator create object
	  Required: true
	  In: body
	*/
	Authenticator *rest_model.AuthenticatorCreate
}

CreateAuthenticatorParams contains all the bound params for the create authenticator operation typically these are obtained from a http.Request

swagger:parameters createAuthenticator

func NewCreateAuthenticatorParams

func NewCreateAuthenticatorParams() CreateAuthenticatorParams

NewCreateAuthenticatorParams creates a new CreateAuthenticatorParams object

There are no default values defined in the spec.

func (*CreateAuthenticatorParams) BindRequest

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 NewCreateAuthenticatorParams() beforehand.

type CreateAuthenticatorURL

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

CreateAuthenticatorURL generates an URL for the create authenticator operation

func (*CreateAuthenticatorURL) Build

func (o *CreateAuthenticatorURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateAuthenticatorURL) BuildFull

func (o *CreateAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateAuthenticatorURL) Must

func (o *CreateAuthenticatorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateAuthenticatorURL) SetBasePath

func (o *CreateAuthenticatorURL) 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 (*CreateAuthenticatorURL) String

func (o *CreateAuthenticatorURL) String() string

String returns the string representation of the path with query string

func (*CreateAuthenticatorURL) StringFull

func (o *CreateAuthenticatorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateAuthenticatorURL) WithBasePath

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 CreateAuthenticatorUnauthorized

type CreateAuthenticatorUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response createAuthenticatorUnauthorized

func NewCreateAuthenticatorUnauthorized

func NewCreateAuthenticatorUnauthorized() *CreateAuthenticatorUnauthorized

NewCreateAuthenticatorUnauthorized creates CreateAuthenticatorUnauthorized with default headers values

func (*CreateAuthenticatorUnauthorized) SetPayload

SetPayload sets the payload to the create authenticator unauthorized response

func (*CreateAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the create authenticator unauthorized response

func (*CreateAuthenticatorUnauthorized) WriteResponse

func (o *CreateAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAuthenticator

type DeleteAuthenticator struct {
	Context *middleware.Context
	Handler DeleteAuthenticatorHandler
}
DeleteAuthenticator swagger:route DELETE /authenticators/{id} Authenticator deleteAuthenticator

Delete an Authenticator

Delete an authenticator by id. Deleting all authenticators for an identity will make it impossible to log in. Requires admin access.

func NewDeleteAuthenticator

func NewDeleteAuthenticator(ctx *middleware.Context, handler DeleteAuthenticatorHandler) *DeleteAuthenticator

NewDeleteAuthenticator creates a new http.Handler for the delete authenticator operation

func (*DeleteAuthenticator) ServeHTTP

func (o *DeleteAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteAuthenticatorBadRequest

type DeleteAuthenticatorBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteAuthenticatorBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response deleteAuthenticatorBadRequest

func NewDeleteAuthenticatorBadRequest

func NewDeleteAuthenticatorBadRequest() *DeleteAuthenticatorBadRequest

NewDeleteAuthenticatorBadRequest creates DeleteAuthenticatorBadRequest with default headers values

func (*DeleteAuthenticatorBadRequest) SetPayload

SetPayload sets the payload to the delete authenticator bad request response

func (*DeleteAuthenticatorBadRequest) WithPayload

WithPayload adds the payload to the delete authenticator bad request response

func (*DeleteAuthenticatorBadRequest) WriteResponse

func (o *DeleteAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAuthenticatorHandler

type DeleteAuthenticatorHandler interface {
	Handle(DeleteAuthenticatorParams, interface{}) middleware.Responder
}

DeleteAuthenticatorHandler interface for that can handle valid delete authenticator params

type DeleteAuthenticatorHandlerFunc

type DeleteAuthenticatorHandlerFunc func(DeleteAuthenticatorParams, interface{}) middleware.Responder

DeleteAuthenticatorHandlerFunc turns a function with the right signature into a delete authenticator handler

func (DeleteAuthenticatorHandlerFunc) Handle

func (fn DeleteAuthenticatorHandlerFunc) Handle(params DeleteAuthenticatorParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteAuthenticatorOK

type DeleteAuthenticatorOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteAuthenticatorOK The delete request was successful and the resource has been removed

swagger:response deleteAuthenticatorOK

func NewDeleteAuthenticatorOK

func NewDeleteAuthenticatorOK() *DeleteAuthenticatorOK

NewDeleteAuthenticatorOK creates DeleteAuthenticatorOK with default headers values

func (*DeleteAuthenticatorOK) SetPayload

func (o *DeleteAuthenticatorOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete authenticator o k response

func (*DeleteAuthenticatorOK) WithPayload

func (o *DeleteAuthenticatorOK) WithPayload(payload *rest_model.Empty) *DeleteAuthenticatorOK

WithPayload adds the payload to the delete authenticator o k response

func (*DeleteAuthenticatorOK) WriteResponse

func (o *DeleteAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAuthenticatorParams

type DeleteAuthenticatorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeleteAuthenticatorParams contains all the bound params for the delete authenticator operation typically these are obtained from a http.Request

swagger:parameters deleteAuthenticator

func NewDeleteAuthenticatorParams

func NewDeleteAuthenticatorParams() DeleteAuthenticatorParams

NewDeleteAuthenticatorParams creates a new DeleteAuthenticatorParams object

There are no default values defined in the spec.

func (*DeleteAuthenticatorParams) BindRequest

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 NewDeleteAuthenticatorParams() beforehand.

type DeleteAuthenticatorURL

type DeleteAuthenticatorURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteAuthenticatorURL generates an URL for the delete authenticator operation

func (*DeleteAuthenticatorURL) Build

func (o *DeleteAuthenticatorURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteAuthenticatorURL) BuildFull

func (o *DeleteAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteAuthenticatorURL) Must

func (o *DeleteAuthenticatorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteAuthenticatorURL) SetBasePath

func (o *DeleteAuthenticatorURL) 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 (*DeleteAuthenticatorURL) String

func (o *DeleteAuthenticatorURL) String() string

String returns the string representation of the path with query string

func (*DeleteAuthenticatorURL) StringFull

func (o *DeleteAuthenticatorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteAuthenticatorURL) WithBasePath

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 DeleteAuthenticatorUnauthorized

type DeleteAuthenticatorUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response deleteAuthenticatorUnauthorized

func NewDeleteAuthenticatorUnauthorized

func NewDeleteAuthenticatorUnauthorized() *DeleteAuthenticatorUnauthorized

NewDeleteAuthenticatorUnauthorized creates DeleteAuthenticatorUnauthorized with default headers values

func (*DeleteAuthenticatorUnauthorized) SetPayload

SetPayload sets the payload to the delete authenticator unauthorized response

func (*DeleteAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the delete authenticator unauthorized response

func (*DeleteAuthenticatorUnauthorized) WriteResponse

func (o *DeleteAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailAuthenticator

type DetailAuthenticator struct {
	Context *middleware.Context
	Handler DetailAuthenticatorHandler
}
DetailAuthenticator swagger:route GET /authenticators/{id} Authenticator detailAuthenticator

Retrieves a single authenticator

Retrieves a single authenticator by id. Requires admin access.

func NewDetailAuthenticator

func NewDetailAuthenticator(ctx *middleware.Context, handler DetailAuthenticatorHandler) *DetailAuthenticator

NewDetailAuthenticator creates a new http.Handler for the detail authenticator operation

func (*DetailAuthenticator) ServeHTTP

func (o *DetailAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailAuthenticatorHandler

type DetailAuthenticatorHandler interface {
	Handle(DetailAuthenticatorParams, interface{}) middleware.Responder
}

DetailAuthenticatorHandler interface for that can handle valid detail authenticator params

type DetailAuthenticatorHandlerFunc

type DetailAuthenticatorHandlerFunc func(DetailAuthenticatorParams, interface{}) middleware.Responder

DetailAuthenticatorHandlerFunc turns a function with the right signature into a detail authenticator handler

func (DetailAuthenticatorHandlerFunc) Handle

func (fn DetailAuthenticatorHandlerFunc) Handle(params DetailAuthenticatorParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DetailAuthenticatorNotFound

type DetailAuthenticatorNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailAuthenticatorNotFound The requested resource does not exist

swagger:response detailAuthenticatorNotFound

func NewDetailAuthenticatorNotFound

func NewDetailAuthenticatorNotFound() *DetailAuthenticatorNotFound

NewDetailAuthenticatorNotFound creates DetailAuthenticatorNotFound with default headers values

func (*DetailAuthenticatorNotFound) SetPayload

SetPayload sets the payload to the detail authenticator not found response

func (*DetailAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the detail authenticator not found response

func (*DetailAuthenticatorNotFound) WriteResponse

func (o *DetailAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailAuthenticatorOK

type DetailAuthenticatorOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailAuthenticatorEnvelope `json:"body,omitempty"`
}

DetailAuthenticatorOK A singular authenticator resource

swagger:response detailAuthenticatorOK

func NewDetailAuthenticatorOK

func NewDetailAuthenticatorOK() *DetailAuthenticatorOK

NewDetailAuthenticatorOK creates DetailAuthenticatorOK with default headers values

func (*DetailAuthenticatorOK) SetPayload

SetPayload sets the payload to the detail authenticator o k response

func (*DetailAuthenticatorOK) WithPayload

WithPayload adds the payload to the detail authenticator o k response

func (*DetailAuthenticatorOK) WriteResponse

func (o *DetailAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailAuthenticatorParams

type DetailAuthenticatorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailAuthenticatorParams contains all the bound params for the detail authenticator operation typically these are obtained from a http.Request

swagger:parameters detailAuthenticator

func NewDetailAuthenticatorParams

func NewDetailAuthenticatorParams() DetailAuthenticatorParams

NewDetailAuthenticatorParams creates a new DetailAuthenticatorParams object

There are no default values defined in the spec.

func (*DetailAuthenticatorParams) BindRequest

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 NewDetailAuthenticatorParams() beforehand.

type DetailAuthenticatorURL

type DetailAuthenticatorURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailAuthenticatorURL generates an URL for the detail authenticator operation

func (*DetailAuthenticatorURL) Build

func (o *DetailAuthenticatorURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailAuthenticatorURL) BuildFull

func (o *DetailAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailAuthenticatorURL) Must

func (o *DetailAuthenticatorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DetailAuthenticatorURL) SetBasePath

func (o *DetailAuthenticatorURL) 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 (*DetailAuthenticatorURL) String

func (o *DetailAuthenticatorURL) String() string

String returns the string representation of the path with query string

func (*DetailAuthenticatorURL) StringFull

func (o *DetailAuthenticatorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailAuthenticatorURL) WithBasePath

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 DetailAuthenticatorUnauthorized

type DetailAuthenticatorUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response detailAuthenticatorUnauthorized

func NewDetailAuthenticatorUnauthorized

func NewDetailAuthenticatorUnauthorized() *DetailAuthenticatorUnauthorized

NewDetailAuthenticatorUnauthorized creates DetailAuthenticatorUnauthorized with default headers values

func (*DetailAuthenticatorUnauthorized) SetPayload

SetPayload sets the payload to the detail authenticator unauthorized response

func (*DetailAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the detail authenticator unauthorized response

func (*DetailAuthenticatorUnauthorized) WriteResponse

func (o *DetailAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAuthenticators

type ListAuthenticators struct {
	Context *middleware.Context
	Handler ListAuthenticatorsHandler
}
ListAuthenticators swagger:route GET /authenticators Authenticator listAuthenticators

List authenticators

Returns a list of authenticators associated to identities. The resources can be sorted, filtered, and paginated. This endpoint requires admin access.

func NewListAuthenticators

func NewListAuthenticators(ctx *middleware.Context, handler ListAuthenticatorsHandler) *ListAuthenticators

NewListAuthenticators creates a new http.Handler for the list authenticators operation

func (*ListAuthenticators) ServeHTTP

func (o *ListAuthenticators) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListAuthenticatorsBadRequest

type ListAuthenticatorsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListAuthenticatorsBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listAuthenticatorsBadRequest

func NewListAuthenticatorsBadRequest

func NewListAuthenticatorsBadRequest() *ListAuthenticatorsBadRequest

NewListAuthenticatorsBadRequest creates ListAuthenticatorsBadRequest with default headers values

func (*ListAuthenticatorsBadRequest) SetPayload

SetPayload sets the payload to the list authenticators bad request response

func (*ListAuthenticatorsBadRequest) WithPayload

WithPayload adds the payload to the list authenticators bad request response

func (*ListAuthenticatorsBadRequest) WriteResponse

func (o *ListAuthenticatorsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAuthenticatorsHandler

type ListAuthenticatorsHandler interface {
	Handle(ListAuthenticatorsParams, interface{}) middleware.Responder
}

ListAuthenticatorsHandler interface for that can handle valid list authenticators params

type ListAuthenticatorsHandlerFunc

type ListAuthenticatorsHandlerFunc func(ListAuthenticatorsParams, interface{}) middleware.Responder

ListAuthenticatorsHandlerFunc turns a function with the right signature into a list authenticators handler

func (ListAuthenticatorsHandlerFunc) Handle

func (fn ListAuthenticatorsHandlerFunc) Handle(params ListAuthenticatorsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListAuthenticatorsOK

type ListAuthenticatorsOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListAuthenticatorsEnvelope `json:"body,omitempty"`
}

ListAuthenticatorsOK A list of authenticators

swagger:response listAuthenticatorsOK

func NewListAuthenticatorsOK

func NewListAuthenticatorsOK() *ListAuthenticatorsOK

NewListAuthenticatorsOK creates ListAuthenticatorsOK with default headers values

func (*ListAuthenticatorsOK) SetPayload

SetPayload sets the payload to the list authenticators o k response

func (*ListAuthenticatorsOK) WithPayload

WithPayload adds the payload to the list authenticators o k response

func (*ListAuthenticatorsOK) WriteResponse

func (o *ListAuthenticatorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAuthenticatorsParams

type ListAuthenticatorsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
}

ListAuthenticatorsParams contains all the bound params for the list authenticators operation typically these are obtained from a http.Request

swagger:parameters listAuthenticators

func NewListAuthenticatorsParams

func NewListAuthenticatorsParams() ListAuthenticatorsParams

NewListAuthenticatorsParams creates a new ListAuthenticatorsParams object

There are no default values defined in the spec.

func (*ListAuthenticatorsParams) BindRequest

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 NewListAuthenticatorsParams() beforehand.

type ListAuthenticatorsURL

type ListAuthenticatorsURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListAuthenticatorsURL generates an URL for the list authenticators operation

func (*ListAuthenticatorsURL) Build

func (o *ListAuthenticatorsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAuthenticatorsURL) BuildFull

func (o *ListAuthenticatorsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAuthenticatorsURL) Must

func (o *ListAuthenticatorsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListAuthenticatorsURL) SetBasePath

func (o *ListAuthenticatorsURL) 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 (*ListAuthenticatorsURL) String

func (o *ListAuthenticatorsURL) String() string

String returns the string representation of the path with query string

func (*ListAuthenticatorsURL) StringFull

func (o *ListAuthenticatorsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAuthenticatorsURL) WithBasePath

func (o *ListAuthenticatorsURL) WithBasePath(bp string) *ListAuthenticatorsURL

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 ListAuthenticatorsUnauthorized

type ListAuthenticatorsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response listAuthenticatorsUnauthorized

func NewListAuthenticatorsUnauthorized

func NewListAuthenticatorsUnauthorized() *ListAuthenticatorsUnauthorized

NewListAuthenticatorsUnauthorized creates ListAuthenticatorsUnauthorized with default headers values

func (*ListAuthenticatorsUnauthorized) SetPayload

SetPayload sets the payload to the list authenticators unauthorized response

func (*ListAuthenticatorsUnauthorized) WithPayload

WithPayload adds the payload to the list authenticators unauthorized response

func (*ListAuthenticatorsUnauthorized) WriteResponse

func (o *ListAuthenticatorsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchAuthenticator

type PatchAuthenticator struct {
	Context *middleware.Context
	Handler PatchAuthenticatorHandler
}
PatchAuthenticator swagger:route PATCH /authenticators/{id} Authenticator patchAuthenticator

Update the supplied fields on an authenticator

Update the supplied fields on an authenticator by id. Requires admin access.

func NewPatchAuthenticator

func NewPatchAuthenticator(ctx *middleware.Context, handler PatchAuthenticatorHandler) *PatchAuthenticator

NewPatchAuthenticator creates a new http.Handler for the patch authenticator operation

func (*PatchAuthenticator) ServeHTTP

func (o *PatchAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchAuthenticatorBadRequest

type PatchAuthenticatorBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchAuthenticatorBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response patchAuthenticatorBadRequest

func NewPatchAuthenticatorBadRequest

func NewPatchAuthenticatorBadRequest() *PatchAuthenticatorBadRequest

NewPatchAuthenticatorBadRequest creates PatchAuthenticatorBadRequest with default headers values

func (*PatchAuthenticatorBadRequest) SetPayload

SetPayload sets the payload to the patch authenticator bad request response

func (*PatchAuthenticatorBadRequest) WithPayload

WithPayload adds the payload to the patch authenticator bad request response

func (*PatchAuthenticatorBadRequest) WriteResponse

func (o *PatchAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchAuthenticatorHandler

type PatchAuthenticatorHandler interface {
	Handle(PatchAuthenticatorParams, interface{}) middleware.Responder
}

PatchAuthenticatorHandler interface for that can handle valid patch authenticator params

type PatchAuthenticatorHandlerFunc

type PatchAuthenticatorHandlerFunc func(PatchAuthenticatorParams, interface{}) middleware.Responder

PatchAuthenticatorHandlerFunc turns a function with the right signature into a patch authenticator handler

func (PatchAuthenticatorHandlerFunc) Handle

func (fn PatchAuthenticatorHandlerFunc) Handle(params PatchAuthenticatorParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchAuthenticatorNotFound

type PatchAuthenticatorNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchAuthenticatorNotFound The requested resource does not exist

swagger:response patchAuthenticatorNotFound

func NewPatchAuthenticatorNotFound

func NewPatchAuthenticatorNotFound() *PatchAuthenticatorNotFound

NewPatchAuthenticatorNotFound creates PatchAuthenticatorNotFound with default headers values

func (*PatchAuthenticatorNotFound) SetPayload

func (o *PatchAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch authenticator not found response

func (*PatchAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the patch authenticator not found response

func (*PatchAuthenticatorNotFound) WriteResponse

func (o *PatchAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchAuthenticatorOK

type PatchAuthenticatorOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchAuthenticatorOK The patch request was successful and the resource has been altered

swagger:response patchAuthenticatorOK

func NewPatchAuthenticatorOK

func NewPatchAuthenticatorOK() *PatchAuthenticatorOK

NewPatchAuthenticatorOK creates PatchAuthenticatorOK with default headers values

func (*PatchAuthenticatorOK) SetPayload

func (o *PatchAuthenticatorOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch authenticator o k response

func (*PatchAuthenticatorOK) WithPayload

func (o *PatchAuthenticatorOK) WithPayload(payload *rest_model.Empty) *PatchAuthenticatorOK

WithPayload adds the payload to the patch authenticator o k response

func (*PatchAuthenticatorOK) WriteResponse

func (o *PatchAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchAuthenticatorParams

type PatchAuthenticatorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*An authenticator patch object
	  Required: true
	  In: body
	*/
	Authenticator *rest_model.AuthenticatorPatch
	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

PatchAuthenticatorParams contains all the bound params for the patch authenticator operation typically these are obtained from a http.Request

swagger:parameters patchAuthenticator

func NewPatchAuthenticatorParams

func NewPatchAuthenticatorParams() PatchAuthenticatorParams

NewPatchAuthenticatorParams creates a new PatchAuthenticatorParams object

There are no default values defined in the spec.

func (*PatchAuthenticatorParams) BindRequest

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 NewPatchAuthenticatorParams() beforehand.

type PatchAuthenticatorURL

type PatchAuthenticatorURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchAuthenticatorURL generates an URL for the patch authenticator operation

func (*PatchAuthenticatorURL) Build

func (o *PatchAuthenticatorURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchAuthenticatorURL) BuildFull

func (o *PatchAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchAuthenticatorURL) Must

func (o *PatchAuthenticatorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchAuthenticatorURL) SetBasePath

func (o *PatchAuthenticatorURL) 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 (*PatchAuthenticatorURL) String

func (o *PatchAuthenticatorURL) String() string

String returns the string representation of the path with query string

func (*PatchAuthenticatorURL) StringFull

func (o *PatchAuthenticatorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchAuthenticatorURL) WithBasePath

func (o *PatchAuthenticatorURL) WithBasePath(bp string) *PatchAuthenticatorURL

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 PatchAuthenticatorUnauthorized

type PatchAuthenticatorUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response patchAuthenticatorUnauthorized

func NewPatchAuthenticatorUnauthorized

func NewPatchAuthenticatorUnauthorized() *PatchAuthenticatorUnauthorized

NewPatchAuthenticatorUnauthorized creates PatchAuthenticatorUnauthorized with default headers values

func (*PatchAuthenticatorUnauthorized) SetPayload

SetPayload sets the payload to the patch authenticator unauthorized response

func (*PatchAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the patch authenticator unauthorized response

func (*PatchAuthenticatorUnauthorized) WriteResponse

func (o *PatchAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReEnrollAuthenticator

type ReEnrollAuthenticator struct {
	Context *middleware.Context
	Handler ReEnrollAuthenticatorHandler
}
ReEnrollAuthenticator swagger:route POST /authenticators/{id}/re-enroll Authenticator reEnrollAuthenticator

Reverts an authenticator to an enrollment

Allows an authenticator to be reverted to an enrollment and allows re-enrollment to occur. On success the created enrollment record response is provided and the source authenticator record will be deleted. The enrollment created depends on the authenticator. UPDB authenticators result in UPDB enrollments, CERT authenticators result in OTT enrollments, CERT + CA authenticators result in OTTCA enrollments.

func NewReEnrollAuthenticator

func NewReEnrollAuthenticator(ctx *middleware.Context, handler ReEnrollAuthenticatorHandler) *ReEnrollAuthenticator

NewReEnrollAuthenticator creates a new http.Handler for the re enroll authenticator operation

func (*ReEnrollAuthenticator) ServeHTTP

func (o *ReEnrollAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ReEnrollAuthenticatorCreated

type ReEnrollAuthenticatorCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

ReEnrollAuthenticatorCreated The create request was successful and the resource has been added at the following location

swagger:response reEnrollAuthenticatorCreated

func NewReEnrollAuthenticatorCreated

func NewReEnrollAuthenticatorCreated() *ReEnrollAuthenticatorCreated

NewReEnrollAuthenticatorCreated creates ReEnrollAuthenticatorCreated with default headers values

func (*ReEnrollAuthenticatorCreated) SetPayload

func (o *ReEnrollAuthenticatorCreated) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the re enroll authenticator created response

func (*ReEnrollAuthenticatorCreated) WithPayload

WithPayload adds the payload to the re enroll authenticator created response

func (*ReEnrollAuthenticatorCreated) WriteResponse

func (o *ReEnrollAuthenticatorCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReEnrollAuthenticatorHandler

type ReEnrollAuthenticatorHandler interface {
	Handle(ReEnrollAuthenticatorParams, interface{}) middleware.Responder
}

ReEnrollAuthenticatorHandler interface for that can handle valid re enroll authenticator params

type ReEnrollAuthenticatorHandlerFunc

type ReEnrollAuthenticatorHandlerFunc func(ReEnrollAuthenticatorParams, interface{}) middleware.Responder

ReEnrollAuthenticatorHandlerFunc turns a function with the right signature into a re enroll authenticator handler

func (ReEnrollAuthenticatorHandlerFunc) Handle

func (fn ReEnrollAuthenticatorHandlerFunc) Handle(params ReEnrollAuthenticatorParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ReEnrollAuthenticatorNotFound

type ReEnrollAuthenticatorNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ReEnrollAuthenticatorNotFound The requested resource does not exist

swagger:response reEnrollAuthenticatorNotFound

func NewReEnrollAuthenticatorNotFound

func NewReEnrollAuthenticatorNotFound() *ReEnrollAuthenticatorNotFound

NewReEnrollAuthenticatorNotFound creates ReEnrollAuthenticatorNotFound with default headers values

func (*ReEnrollAuthenticatorNotFound) SetPayload

SetPayload sets the payload to the re enroll authenticator not found response

func (*ReEnrollAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the re enroll authenticator not found response

func (*ReEnrollAuthenticatorNotFound) WriteResponse

func (o *ReEnrollAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReEnrollAuthenticatorParams

type ReEnrollAuthenticatorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*A reEnrollment request
	  Required: true
	  In: body
	*/
	ReEnroll *rest_model.ReEnroll
}

ReEnrollAuthenticatorParams contains all the bound params for the re enroll authenticator operation typically these are obtained from a http.Request

swagger:parameters reEnrollAuthenticator

func NewReEnrollAuthenticatorParams

func NewReEnrollAuthenticatorParams() ReEnrollAuthenticatorParams

NewReEnrollAuthenticatorParams creates a new ReEnrollAuthenticatorParams object

There are no default values defined in the spec.

func (*ReEnrollAuthenticatorParams) BindRequest

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 NewReEnrollAuthenticatorParams() beforehand.

type ReEnrollAuthenticatorURL

type ReEnrollAuthenticatorURL struct {
	ID string
	// contains filtered or unexported fields
}

ReEnrollAuthenticatorURL generates an URL for the re enroll authenticator operation

func (*ReEnrollAuthenticatorURL) Build

func (o *ReEnrollAuthenticatorURL) Build() (*url.URL, error)

Build a url path and query string

func (*ReEnrollAuthenticatorURL) BuildFull

func (o *ReEnrollAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ReEnrollAuthenticatorURL) Must

func (o *ReEnrollAuthenticatorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ReEnrollAuthenticatorURL) SetBasePath

func (o *ReEnrollAuthenticatorURL) 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 (*ReEnrollAuthenticatorURL) String

func (o *ReEnrollAuthenticatorURL) String() string

String returns the string representation of the path with query string

func (*ReEnrollAuthenticatorURL) StringFull

func (o *ReEnrollAuthenticatorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ReEnrollAuthenticatorURL) WithBasePath

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 ReEnrollAuthenticatorUnauthorized

type ReEnrollAuthenticatorUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response reEnrollAuthenticatorUnauthorized

func NewReEnrollAuthenticatorUnauthorized

func NewReEnrollAuthenticatorUnauthorized() *ReEnrollAuthenticatorUnauthorized

NewReEnrollAuthenticatorUnauthorized creates ReEnrollAuthenticatorUnauthorized with default headers values

func (*ReEnrollAuthenticatorUnauthorized) SetPayload

SetPayload sets the payload to the re enroll authenticator unauthorized response

func (*ReEnrollAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the re enroll authenticator unauthorized response

func (*ReEnrollAuthenticatorUnauthorized) WriteResponse

func (o *ReEnrollAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateAuthenticator

type UpdateAuthenticator struct {
	Context *middleware.Context
	Handler UpdateAuthenticatorHandler
}
UpdateAuthenticator swagger:route PUT /authenticators/{id} Authenticator updateAuthenticator

Update all fields on an authenticator

Update all fields on an authenticator by id. Requires admin access.

func NewUpdateAuthenticator

func NewUpdateAuthenticator(ctx *middleware.Context, handler UpdateAuthenticatorHandler) *UpdateAuthenticator

NewUpdateAuthenticator creates a new http.Handler for the update authenticator operation

func (*UpdateAuthenticator) ServeHTTP

func (o *UpdateAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateAuthenticatorBadRequest

type UpdateAuthenticatorBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateAuthenticatorBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response updateAuthenticatorBadRequest

func NewUpdateAuthenticatorBadRequest

func NewUpdateAuthenticatorBadRequest() *UpdateAuthenticatorBadRequest

NewUpdateAuthenticatorBadRequest creates UpdateAuthenticatorBadRequest with default headers values

func (*UpdateAuthenticatorBadRequest) SetPayload

SetPayload sets the payload to the update authenticator bad request response

func (*UpdateAuthenticatorBadRequest) WithPayload

WithPayload adds the payload to the update authenticator bad request response

func (*UpdateAuthenticatorBadRequest) WriteResponse

func (o *UpdateAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateAuthenticatorHandler

type UpdateAuthenticatorHandler interface {
	Handle(UpdateAuthenticatorParams, interface{}) middleware.Responder
}

UpdateAuthenticatorHandler interface for that can handle valid update authenticator params

type UpdateAuthenticatorHandlerFunc

type UpdateAuthenticatorHandlerFunc func(UpdateAuthenticatorParams, interface{}) middleware.Responder

UpdateAuthenticatorHandlerFunc turns a function with the right signature into a update authenticator handler

func (UpdateAuthenticatorHandlerFunc) Handle

func (fn UpdateAuthenticatorHandlerFunc) Handle(params UpdateAuthenticatorParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateAuthenticatorNotFound

type UpdateAuthenticatorNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateAuthenticatorNotFound The requested resource does not exist

swagger:response updateAuthenticatorNotFound

func NewUpdateAuthenticatorNotFound

func NewUpdateAuthenticatorNotFound() *UpdateAuthenticatorNotFound

NewUpdateAuthenticatorNotFound creates UpdateAuthenticatorNotFound with default headers values

func (*UpdateAuthenticatorNotFound) SetPayload

SetPayload sets the payload to the update authenticator not found response

func (*UpdateAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the update authenticator not found response

func (*UpdateAuthenticatorNotFound) WriteResponse

func (o *UpdateAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateAuthenticatorOK

type UpdateAuthenticatorOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdateAuthenticatorOK The update request was successful and the resource has been altered

swagger:response updateAuthenticatorOK

func NewUpdateAuthenticatorOK

func NewUpdateAuthenticatorOK() *UpdateAuthenticatorOK

NewUpdateAuthenticatorOK creates UpdateAuthenticatorOK with default headers values

func (*UpdateAuthenticatorOK) SetPayload

func (o *UpdateAuthenticatorOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update authenticator o k response

func (*UpdateAuthenticatorOK) WithPayload

func (o *UpdateAuthenticatorOK) WithPayload(payload *rest_model.Empty) *UpdateAuthenticatorOK

WithPayload adds the payload to the update authenticator o k response

func (*UpdateAuthenticatorOK) WriteResponse

func (o *UpdateAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateAuthenticatorParams

type UpdateAuthenticatorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*An authenticator put object
	  Required: true
	  In: body
	*/
	Authenticator *rest_model.AuthenticatorUpdate
	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

UpdateAuthenticatorParams contains all the bound params for the update authenticator operation typically these are obtained from a http.Request

swagger:parameters updateAuthenticator

func NewUpdateAuthenticatorParams

func NewUpdateAuthenticatorParams() UpdateAuthenticatorParams

NewUpdateAuthenticatorParams creates a new UpdateAuthenticatorParams object

There are no default values defined in the spec.

func (*UpdateAuthenticatorParams) BindRequest

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 NewUpdateAuthenticatorParams() beforehand.

type UpdateAuthenticatorURL

type UpdateAuthenticatorURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdateAuthenticatorURL generates an URL for the update authenticator operation

func (*UpdateAuthenticatorURL) Build

func (o *UpdateAuthenticatorURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateAuthenticatorURL) BuildFull

func (o *UpdateAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateAuthenticatorURL) Must

func (o *UpdateAuthenticatorURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateAuthenticatorURL) SetBasePath

func (o *UpdateAuthenticatorURL) 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 (*UpdateAuthenticatorURL) String

func (o *UpdateAuthenticatorURL) String() string

String returns the string representation of the path with query string

func (*UpdateAuthenticatorURL) StringFull

func (o *UpdateAuthenticatorURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateAuthenticatorURL) WithBasePath

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 UpdateAuthenticatorUnauthorized

type UpdateAuthenticatorUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response updateAuthenticatorUnauthorized

func NewUpdateAuthenticatorUnauthorized

func NewUpdateAuthenticatorUnauthorized() *UpdateAuthenticatorUnauthorized

NewUpdateAuthenticatorUnauthorized creates UpdateAuthenticatorUnauthorized with default headers values

func (*UpdateAuthenticatorUnauthorized) SetPayload

SetPayload sets the payload to the update authenticator unauthorized response

func (*UpdateAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the update authenticator unauthorized response

func (*UpdateAuthenticatorUnauthorized) WriteResponse

func (o *UpdateAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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