Documentation ¶
Index ¶
- Constants
- type CreateAuthenticator
- type CreateAuthenticatorBadRequest
- func (o *CreateAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthenticatorBadRequest
- func (o *CreateAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticatorCreated
- func (o *CreateAuthenticatorCreated) SetPayload(payload *rest_model.AuthenticatorCreate)
- func (o *CreateAuthenticatorCreated) WithPayload(payload *rest_model.AuthenticatorCreate) *CreateAuthenticatorCreated
- func (o *CreateAuthenticatorCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthenticatorHandler
- type CreateAuthenticatorHandlerFunc
- type CreateAuthenticatorParams
- type CreateAuthenticatorURL
- func (o *CreateAuthenticatorURL) Build() (*url.URL, error)
- func (o *CreateAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAuthenticatorURL) SetBasePath(bp string)
- func (o *CreateAuthenticatorURL) String() string
- func (o *CreateAuthenticatorURL) StringFull(scheme, host string) string
- func (o *CreateAuthenticatorURL) WithBasePath(bp string) *CreateAuthenticatorURL
- type CreateAuthenticatorUnauthorized
- func (o *CreateAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthenticatorUnauthorized
- func (o *CreateAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAuthenticator
- type DeleteAuthenticatorBadRequest
- func (o *DeleteAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthenticatorBadRequest
- func (o *DeleteAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAuthenticatorHandler
- type DeleteAuthenticatorHandlerFunc
- type DeleteAuthenticatorOK
- type DeleteAuthenticatorParams
- type DeleteAuthenticatorURL
- func (o *DeleteAuthenticatorURL) Build() (*url.URL, error)
- func (o *DeleteAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteAuthenticatorURL) SetBasePath(bp string)
- func (o *DeleteAuthenticatorURL) String() string
- func (o *DeleteAuthenticatorURL) StringFull(scheme, host string) string
- func (o *DeleteAuthenticatorURL) WithBasePath(bp string) *DeleteAuthenticatorURL
- type DeleteAuthenticatorUnauthorized
- func (o *DeleteAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthenticatorUnauthorized
- func (o *DeleteAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailAuthenticator
- type DetailAuthenticatorHandler
- type DetailAuthenticatorHandlerFunc
- type DetailAuthenticatorNotFound
- func (o *DetailAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthenticatorNotFound
- func (o *DetailAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailAuthenticatorOK
- func (o *DetailAuthenticatorOK) SetPayload(payload *rest_model.DetailAuthenticatorEnvelope)
- func (o *DetailAuthenticatorOK) WithPayload(payload *rest_model.DetailAuthenticatorEnvelope) *DetailAuthenticatorOK
- func (o *DetailAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailAuthenticatorParams
- type DetailAuthenticatorURL
- func (o *DetailAuthenticatorURL) Build() (*url.URL, error)
- func (o *DetailAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailAuthenticatorURL) SetBasePath(bp string)
- func (o *DetailAuthenticatorURL) String() string
- func (o *DetailAuthenticatorURL) StringFull(scheme, host string) string
- func (o *DetailAuthenticatorURL) WithBasePath(bp string) *DetailAuthenticatorURL
- type DetailAuthenticatorUnauthorized
- func (o *DetailAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthenticatorUnauthorized
- func (o *DetailAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAuthenticators
- type ListAuthenticatorsHandler
- type ListAuthenticatorsHandlerFunc
- type ListAuthenticatorsOK
- type ListAuthenticatorsParams
- type ListAuthenticatorsURL
- func (o *ListAuthenticatorsURL) Build() (*url.URL, error)
- func (o *ListAuthenticatorsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAuthenticatorsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAuthenticatorsURL) SetBasePath(bp string)
- func (o *ListAuthenticatorsURL) String() string
- func (o *ListAuthenticatorsURL) StringFull(scheme, host string) string
- func (o *ListAuthenticatorsURL) WithBasePath(bp string) *ListAuthenticatorsURL
- type PatchAuthenticator
- type PatchAuthenticatorBadRequest
- func (o *PatchAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorBadRequest
- func (o *PatchAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchAuthenticatorHandler
- type PatchAuthenticatorHandlerFunc
- type PatchAuthenticatorNotFound
- func (o *PatchAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorNotFound
- func (o *PatchAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchAuthenticatorOK
- type PatchAuthenticatorParams
- type PatchAuthenticatorURL
- func (o *PatchAuthenticatorURL) Build() (*url.URL, error)
- func (o *PatchAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchAuthenticatorURL) SetBasePath(bp string)
- func (o *PatchAuthenticatorURL) String() string
- func (o *PatchAuthenticatorURL) StringFull(scheme, host string) string
- func (o *PatchAuthenticatorURL) WithBasePath(bp string) *PatchAuthenticatorURL
- type PatchAuthenticatorUnauthorized
- func (o *PatchAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorUnauthorized
- func (o *PatchAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAuthenticator
- type UpdateAuthenticatorBadRequest
- func (o *UpdateAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorBadRequest
- func (o *UpdateAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAuthenticatorHandler
- type UpdateAuthenticatorHandlerFunc
- type UpdateAuthenticatorNotFound
- func (o *UpdateAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorNotFound
- func (o *UpdateAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAuthenticatorOK
- type UpdateAuthenticatorParams
- type UpdateAuthenticatorURL
- func (o *UpdateAuthenticatorURL) Build() (*url.URL, error)
- func (o *UpdateAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateAuthenticatorURL) SetBasePath(bp string)
- func (o *UpdateAuthenticatorURL) String() string
- func (o *UpdateAuthenticatorURL) StringFull(scheme, host string) string
- func (o *UpdateAuthenticatorURL) WithBasePath(bp string) *UpdateAuthenticatorURL
- type UpdateAuthenticatorUnauthorized
- func (o *UpdateAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorUnauthorized
- func (o *UpdateAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateAuthenticatorBadRequestCode int = 400
CreateAuthenticatorBadRequestCode is the HTTP code returned for type CreateAuthenticatorBadRequest
const CreateAuthenticatorCreatedCode int = 201
CreateAuthenticatorCreatedCode is the HTTP code returned for type CreateAuthenticatorCreated
CreateAuthenticatorUnauthorizedCode is the HTTP code returned for type CreateAuthenticatorUnauthorized
const DeleteAuthenticatorBadRequestCode int = 400
DeleteAuthenticatorBadRequestCode is the HTTP code returned for type DeleteAuthenticatorBadRequest
const DeleteAuthenticatorOKCode int = 200
DeleteAuthenticatorOKCode is the HTTP code returned for type DeleteAuthenticatorOK
DeleteAuthenticatorUnauthorizedCode is the HTTP code returned for type DeleteAuthenticatorUnauthorized
const DetailAuthenticatorNotFoundCode int = 404
DetailAuthenticatorNotFoundCode is the HTTP code returned for type DetailAuthenticatorNotFound
const DetailAuthenticatorOKCode int = 200
DetailAuthenticatorOKCode is the HTTP code returned for type DetailAuthenticatorOK
DetailAuthenticatorUnauthorizedCode is the HTTP code returned for type DetailAuthenticatorUnauthorized
const ListAuthenticatorsOKCode int = 200
ListAuthenticatorsOKCode is the HTTP code returned for type ListAuthenticatorsOK
const PatchAuthenticatorBadRequestCode int = 400
PatchAuthenticatorBadRequestCode is the HTTP code returned for type PatchAuthenticatorBadRequest
const PatchAuthenticatorNotFoundCode int = 404
PatchAuthenticatorNotFoundCode is the HTTP code returned for type PatchAuthenticatorNotFound
const PatchAuthenticatorOKCode int = 200
PatchAuthenticatorOKCode is the HTTP code returned for type PatchAuthenticatorOK
PatchAuthenticatorUnauthorizedCode is the HTTP code returned for type PatchAuthenticatorUnauthorized
const UpdateAuthenticatorBadRequestCode int = 400
UpdateAuthenticatorBadRequestCode is the HTTP code returned for type UpdateAuthenticatorBadRequest
const UpdateAuthenticatorNotFoundCode int = 404
UpdateAuthenticatorNotFoundCode is the HTTP code returned for type UpdateAuthenticatorNotFound
const UpdateAuthenticatorOKCode int = 200
UpdateAuthenticatorOKCode is the HTTP code returned for type UpdateAuthenticatorOK
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 ¶
func (o *CreateAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create authenticator bad request response
func (*CreateAuthenticatorBadRequest) WithPayload ¶
func (o *CreateAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthenticatorBadRequest
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 ¶ added in v0.17.52
type CreateAuthenticatorCreated struct { /* In: Body */ Payload *rest_model.AuthenticatorCreate `json:"body,omitempty"` }
CreateAuthenticatorCreated The create was successful
swagger:response createAuthenticatorCreated
func NewCreateAuthenticatorCreated ¶ added in v0.17.52
func NewCreateAuthenticatorCreated() *CreateAuthenticatorCreated
NewCreateAuthenticatorCreated creates CreateAuthenticatorCreated with default headers values
func (*CreateAuthenticatorCreated) SetPayload ¶ added in v0.17.52
func (o *CreateAuthenticatorCreated) SetPayload(payload *rest_model.AuthenticatorCreate)
SetPayload sets the payload to the create authenticator created response
func (*CreateAuthenticatorCreated) WithPayload ¶ added in v0.17.52
func (o *CreateAuthenticatorCreated) WithPayload(payload *rest_model.AuthenticatorCreate) *CreateAuthenticatorCreated
WithPayload adds the payload to the create authenticator created response
func (*CreateAuthenticatorCreated) WriteResponse ¶ added in v0.17.52
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 no default values defined in spec.
func (*CreateAuthenticatorParams) BindRequest ¶
func (o *CreateAuthenticatorParams) 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 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 ¶
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 ¶
func (o *CreateAuthenticatorURL) WithBasePath(bp string) *CreateAuthenticatorURL
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *CreateAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create authenticator unauthorized response
func (*CreateAuthenticatorUnauthorized) WithPayload ¶
func (o *CreateAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthenticatorUnauthorized
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 ¶
func (o *DeleteAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete authenticator bad request response
func (*DeleteAuthenticatorBadRequest) WithPayload ¶
func (o *DeleteAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthenticatorBadRequest
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 no default values defined in spec.
func (*DeleteAuthenticatorParams) BindRequest ¶
func (o *DeleteAuthenticatorParams) 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 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 ¶
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 ¶
func (o *DeleteAuthenticatorURL) WithBasePath(bp string) *DeleteAuthenticatorURL
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *DeleteAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete authenticator unauthorized response
func (*DeleteAuthenticatorUnauthorized) WithPayload ¶
func (o *DeleteAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthenticatorUnauthorized
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 ¶
func (o *DetailAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail authenticator not found response
func (*DetailAuthenticatorNotFound) WithPayload ¶
func (o *DetailAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthenticatorNotFound
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 ¶
func (o *DetailAuthenticatorOK) SetPayload(payload *rest_model.DetailAuthenticatorEnvelope)
SetPayload sets the payload to the detail authenticator o k response
func (*DetailAuthenticatorOK) WithPayload ¶
func (o *DetailAuthenticatorOK) WithPayload(payload *rest_model.DetailAuthenticatorEnvelope) *DetailAuthenticatorOK
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 no default values defined in spec.
func (*DetailAuthenticatorParams) BindRequest ¶
func (o *DetailAuthenticatorParams) 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 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 ¶
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 ¶
func (o *DetailAuthenticatorURL) WithBasePath(bp string) *DetailAuthenticatorURL
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *DetailAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail authenticator unauthorized response
func (*DetailAuthenticatorUnauthorized) WithPayload ¶
func (o *DetailAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthenticatorUnauthorized
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 requries 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 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 ¶
func (o *ListAuthenticatorsOK) SetPayload(payload *rest_model.ListAuthenticatorsEnvelope)
SetPayload sets the payload to the list authenticators o k response
func (*ListAuthenticatorsOK) WithPayload ¶
func (o *ListAuthenticatorsOK) WithPayload(payload *rest_model.ListAuthenticatorsEnvelope) *ListAuthenticatorsOK
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:"-"` }
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 no default values defined in spec.
func (*ListAuthenticatorsParams) BindRequest ¶
func (o *ListAuthenticatorsParams) 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 NewListAuthenticatorsParams() beforehand.
type ListAuthenticatorsURL ¶
type ListAuthenticatorsURL struct {
// 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 ¶
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 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 ¶
func (o *PatchAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch authenticator bad request response
func (*PatchAuthenticatorBadRequest) WithPayload ¶
func (o *PatchAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorBadRequest
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 ¶
func (o *PatchAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorNotFound
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 no default values defined in spec.
func (*PatchAuthenticatorParams) BindRequest ¶
func (o *PatchAuthenticatorParams) 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 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 ¶
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *PatchAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch authenticator unauthorized response
func (*PatchAuthenticatorUnauthorized) WithPayload ¶
func (o *PatchAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorUnauthorized
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 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 ¶
func (o *UpdateAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update authenticator bad request response
func (*UpdateAuthenticatorBadRequest) WithPayload ¶
func (o *UpdateAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorBadRequest
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 ¶
func (o *UpdateAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update authenticator not found response
func (*UpdateAuthenticatorNotFound) WithPayload ¶
func (o *UpdateAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorNotFound
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 no default values defined in spec.
func (*UpdateAuthenticatorParams) BindRequest ¶
func (o *UpdateAuthenticatorParams) 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 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 ¶
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 ¶
func (o *UpdateAuthenticatorURL) WithBasePath(bp string) *UpdateAuthenticatorURL
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 { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
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 ¶
func (o *UpdateAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update authenticator unauthorized response
func (*UpdateAuthenticatorUnauthorized) WithPayload ¶
func (o *UpdateAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorUnauthorized
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
Source Files ¶
- create_authenticator.go
- create_authenticator_parameters.go
- create_authenticator_responses.go
- create_authenticator_urlbuilder.go
- delete_authenticator.go
- delete_authenticator_parameters.go
- delete_authenticator_responses.go
- delete_authenticator_urlbuilder.go
- detail_authenticator.go
- detail_authenticator_parameters.go
- detail_authenticator_responses.go
- detail_authenticator_urlbuilder.go
- list_authenticators.go
- list_authenticators_parameters.go
- list_authenticators_responses.go
- list_authenticators_urlbuilder.go
- patch_authenticator.go
- patch_authenticator_parameters.go
- patch_authenticator_responses.go
- patch_authenticator_urlbuilder.go
- update_authenticator.go
- update_authenticator_parameters.go
- update_authenticator_responses.go
- update_authenticator_urlbuilder.go