Documentation ¶
Index ¶
- Constants
- type DeleteCurrentAPISession
- type DeleteCurrentAPISessionHandler
- type DeleteCurrentAPISessionHandlerFunc
- type DeleteCurrentAPISessionOK
- type DeleteCurrentAPISessionParams
- type DeleteCurrentAPISessionURL
- func (o *DeleteCurrentAPISessionURL) Build() (*url.URL, error)
- func (o *DeleteCurrentAPISessionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteCurrentAPISessionURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteCurrentAPISessionURL) SetBasePath(bp string)
- func (o *DeleteCurrentAPISessionURL) String() string
- func (o *DeleteCurrentAPISessionURL) StringFull(scheme, host string) string
- func (o *DeleteCurrentAPISessionURL) WithBasePath(bp string) *DeleteCurrentAPISessionURL
- type DeleteCurrentAPISessionUnauthorized
- func (o *DeleteCurrentAPISessionUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteCurrentAPISessionUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCurrentAPISessionUnauthorized
- func (o *DeleteCurrentAPISessionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailCurrentIdentityAuthenticator
- type DetailCurrentIdentityAuthenticatorHandler
- type DetailCurrentIdentityAuthenticatorHandlerFunc
- type DetailCurrentIdentityAuthenticatorNotFound
- func (o *DetailCurrentIdentityAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailCurrentIdentityAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCurrentIdentityAuthenticatorNotFound
- func (o *DetailCurrentIdentityAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailCurrentIdentityAuthenticatorOK
- func (o *DetailCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.DetailAuthenticatorEnvelope)
- func (o *DetailCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.DetailAuthenticatorEnvelope) *DetailCurrentIdentityAuthenticatorOK
- func (o *DetailCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailCurrentIdentityAuthenticatorParams
- type DetailCurrentIdentityAuthenticatorURL
- func (o *DetailCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
- func (o *DetailCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailCurrentIdentityAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailCurrentIdentityAuthenticatorURL) SetBasePath(bp string)
- func (o *DetailCurrentIdentityAuthenticatorURL) String() string
- func (o *DetailCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
- func (o *DetailCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *DetailCurrentIdentityAuthenticatorURL
- type DetailCurrentIdentityAuthenticatorUnauthorized
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCurrentIdentityAuthenticatorUnauthorized
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendCurrentIdentityAuthenticator
- type ExtendCurrentIdentityAuthenticatorHandler
- type ExtendCurrentIdentityAuthenticatorHandlerFunc
- type ExtendCurrentIdentityAuthenticatorOK
- func (o *ExtendCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.IdentityExtendEnrollmentEnvelope)
- func (o *ExtendCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.IdentityExtendEnrollmentEnvelope) *ExtendCurrentIdentityAuthenticatorOK
- func (o *ExtendCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendCurrentIdentityAuthenticatorParams
- type ExtendCurrentIdentityAuthenticatorURL
- func (o *ExtendCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
- func (o *ExtendCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExtendCurrentIdentityAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *ExtendCurrentIdentityAuthenticatorURL) SetBasePath(bp string)
- func (o *ExtendCurrentIdentityAuthenticatorURL) String() string
- func (o *ExtendCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
- func (o *ExtendCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *ExtendCurrentIdentityAuthenticatorURL
- type ExtendCurrentIdentityAuthenticatorUnauthorized
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendCurrentIdentityAuthenticatorUnauthorized
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendVerifyCurrentIdentityAuthenticator
- type ExtendVerifyCurrentIdentityAuthenticatorHandler
- type ExtendVerifyCurrentIdentityAuthenticatorHandlerFunc
- type ExtendVerifyCurrentIdentityAuthenticatorOK
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.Empty)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.Empty) *ExtendVerifyCurrentIdentityAuthenticatorOK
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendVerifyCurrentIdentityAuthenticatorParams
- type ExtendVerifyCurrentIdentityAuthenticatorURL
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) SetBasePath(bp string)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) String() string
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
- func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *ExtendVerifyCurrentIdentityAuthenticatorURL
- type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCurrentAPISession
- type GetCurrentAPISessionHandler
- type GetCurrentAPISessionHandlerFunc
- type GetCurrentAPISessionOK
- func (o *GetCurrentAPISessionOK) SetPayload(payload *rest_model.CurrentAPISessionDetailEnvelope)
- func (o *GetCurrentAPISessionOK) WithPayload(payload *rest_model.CurrentAPISessionDetailEnvelope) *GetCurrentAPISessionOK
- func (o *GetCurrentAPISessionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCurrentAPISessionParams
- type GetCurrentAPISessionURL
- func (o *GetCurrentAPISessionURL) Build() (*url.URL, error)
- func (o *GetCurrentAPISessionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCurrentAPISessionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCurrentAPISessionURL) SetBasePath(bp string)
- func (o *GetCurrentAPISessionURL) String() string
- func (o *GetCurrentAPISessionURL) StringFull(scheme, host string) string
- func (o *GetCurrentAPISessionURL) WithBasePath(bp string) *GetCurrentAPISessionURL
- type GetCurrentAPISessionUnauthorized
- func (o *GetCurrentAPISessionUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *GetCurrentAPISessionUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentAPISessionUnauthorized
- func (o *GetCurrentAPISessionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListCurrentIdentityAuthenticators
- type ListCurrentIdentityAuthenticatorsBadRequest
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCurrentIdentityAuthenticatorsBadRequest
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListCurrentIdentityAuthenticatorsHandler
- type ListCurrentIdentityAuthenticatorsHandlerFunc
- type ListCurrentIdentityAuthenticatorsOK
- func (o *ListCurrentIdentityAuthenticatorsOK) SetPayload(payload *rest_model.ListAuthenticatorsEnvelope)
- func (o *ListCurrentIdentityAuthenticatorsOK) WithPayload(payload *rest_model.ListAuthenticatorsEnvelope) *ListCurrentIdentityAuthenticatorsOK
- func (o *ListCurrentIdentityAuthenticatorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListCurrentIdentityAuthenticatorsParams
- type ListCurrentIdentityAuthenticatorsURL
- func (o *ListCurrentIdentityAuthenticatorsURL) Build() (*url.URL, error)
- func (o *ListCurrentIdentityAuthenticatorsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListCurrentIdentityAuthenticatorsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListCurrentIdentityAuthenticatorsURL) SetBasePath(bp string)
- func (o *ListCurrentIdentityAuthenticatorsURL) String() string
- func (o *ListCurrentIdentityAuthenticatorsURL) StringFull(scheme, host string) string
- func (o *ListCurrentIdentityAuthenticatorsURL) WithBasePath(bp string) *ListCurrentIdentityAuthenticatorsURL
- type ListCurrentIdentityAuthenticatorsUnauthorized
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCurrentIdentityAuthenticatorsUnauthorized
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchCurrentIdentityAuthenticator
- type PatchCurrentIdentityAuthenticatorBadRequest
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCurrentIdentityAuthenticatorBadRequest
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchCurrentIdentityAuthenticatorHandler
- type PatchCurrentIdentityAuthenticatorHandlerFunc
- type PatchCurrentIdentityAuthenticatorNotFound
- func (o *PatchCurrentIdentityAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchCurrentIdentityAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCurrentIdentityAuthenticatorNotFound
- func (o *PatchCurrentIdentityAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchCurrentIdentityAuthenticatorOK
- func (o *PatchCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.Empty)
- func (o *PatchCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.Empty) *PatchCurrentIdentityAuthenticatorOK
- func (o *PatchCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchCurrentIdentityAuthenticatorParams
- type PatchCurrentIdentityAuthenticatorURL
- func (o *PatchCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
- func (o *PatchCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchCurrentIdentityAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchCurrentIdentityAuthenticatorURL) SetBasePath(bp string)
- func (o *PatchCurrentIdentityAuthenticatorURL) String() string
- func (o *PatchCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
- func (o *PatchCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *PatchCurrentIdentityAuthenticatorURL
- type PatchCurrentIdentityAuthenticatorUnauthorized
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCurrentIdentityAuthenticatorUnauthorized
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateCurrentIdentityAuthenticator
- type UpdateCurrentIdentityAuthenticatorBadRequest
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCurrentIdentityAuthenticatorBadRequest
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateCurrentIdentityAuthenticatorHandler
- type UpdateCurrentIdentityAuthenticatorHandlerFunc
- type UpdateCurrentIdentityAuthenticatorNotFound
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCurrentIdentityAuthenticatorNotFound
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateCurrentIdentityAuthenticatorOK
- func (o *UpdateCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.Empty)
- func (o *UpdateCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.Empty) *UpdateCurrentIdentityAuthenticatorOK
- func (o *UpdateCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateCurrentIdentityAuthenticatorParams
- type UpdateCurrentIdentityAuthenticatorURL
- func (o *UpdateCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
- func (o *UpdateCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateCurrentIdentityAuthenticatorURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateCurrentIdentityAuthenticatorURL) SetBasePath(bp string)
- func (o *UpdateCurrentIdentityAuthenticatorURL) String() string
- func (o *UpdateCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
- func (o *UpdateCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *UpdateCurrentIdentityAuthenticatorURL
- type UpdateCurrentIdentityAuthenticatorUnauthorized
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCurrentIdentityAuthenticatorUnauthorized
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const DeleteCurrentAPISessionOKCode int = 200
DeleteCurrentAPISessionOKCode is the HTTP code returned for type DeleteCurrentAPISessionOK
DeleteCurrentAPISessionUnauthorizedCode is the HTTP code returned for type DeleteCurrentAPISessionUnauthorized
const DetailCurrentIdentityAuthenticatorNotFoundCode int = 404
DetailCurrentIdentityAuthenticatorNotFoundCode is the HTTP code returned for type DetailCurrentIdentityAuthenticatorNotFound
const DetailCurrentIdentityAuthenticatorOKCode int = 200
DetailCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type DetailCurrentIdentityAuthenticatorOK
DetailCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type DetailCurrentIdentityAuthenticatorUnauthorized
const ExtendCurrentIdentityAuthenticatorOKCode int = 200
ExtendCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type ExtendCurrentIdentityAuthenticatorOK
ExtendCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type ExtendCurrentIdentityAuthenticatorUnauthorized
const ExtendVerifyCurrentIdentityAuthenticatorOKCode int = 200
ExtendVerifyCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type ExtendVerifyCurrentIdentityAuthenticatorOK
ExtendVerifyCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
const GetCurrentAPISessionOKCode int = 200
GetCurrentAPISessionOKCode is the HTTP code returned for type GetCurrentAPISessionOK
GetCurrentAPISessionUnauthorizedCode is the HTTP code returned for type GetCurrentAPISessionUnauthorized
const ListCurrentIdentityAuthenticatorsBadRequestCode int = 400
ListCurrentIdentityAuthenticatorsBadRequestCode is the HTTP code returned for type ListCurrentIdentityAuthenticatorsBadRequest
const ListCurrentIdentityAuthenticatorsOKCode int = 200
ListCurrentIdentityAuthenticatorsOKCode is the HTTP code returned for type ListCurrentIdentityAuthenticatorsOK
ListCurrentIdentityAuthenticatorsUnauthorizedCode is the HTTP code returned for type ListCurrentIdentityAuthenticatorsUnauthorized
const PatchCurrentIdentityAuthenticatorBadRequestCode int = 400
PatchCurrentIdentityAuthenticatorBadRequestCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorBadRequest
const PatchCurrentIdentityAuthenticatorNotFoundCode int = 404
PatchCurrentIdentityAuthenticatorNotFoundCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorNotFound
const PatchCurrentIdentityAuthenticatorOKCode int = 200
PatchCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorOK
PatchCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorUnauthorized
const UpdateCurrentIdentityAuthenticatorBadRequestCode int = 400
UpdateCurrentIdentityAuthenticatorBadRequestCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorBadRequest
const UpdateCurrentIdentityAuthenticatorNotFoundCode int = 404
UpdateCurrentIdentityAuthenticatorNotFoundCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorNotFound
const UpdateCurrentIdentityAuthenticatorOKCode int = 200
UpdateCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorOK
UpdateCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteCurrentAPISession ¶
type DeleteCurrentAPISession struct { Context *middleware.Context Handler DeleteCurrentAPISessionHandler }
DeleteCurrentAPISession swagger:route DELETE /current-api-session Current API Session deleteCurrentApiSession
Logout ¶
Terminates the current API session
func NewDeleteCurrentAPISession ¶
func NewDeleteCurrentAPISession(ctx *middleware.Context, handler DeleteCurrentAPISessionHandler) *DeleteCurrentAPISession
NewDeleteCurrentAPISession creates a new http.Handler for the delete current API session operation
func (*DeleteCurrentAPISession) ServeHTTP ¶
func (o *DeleteCurrentAPISession) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteCurrentAPISessionHandler ¶
type DeleteCurrentAPISessionHandler interface {
Handle(DeleteCurrentAPISessionParams, interface{}) middleware.Responder
}
DeleteCurrentAPISessionHandler interface for that can handle valid delete current API session params
type DeleteCurrentAPISessionHandlerFunc ¶
type DeleteCurrentAPISessionHandlerFunc func(DeleteCurrentAPISessionParams, interface{}) middleware.Responder
DeleteCurrentAPISessionHandlerFunc turns a function with the right signature into a delete current API session handler
func (DeleteCurrentAPISessionHandlerFunc) Handle ¶
func (fn DeleteCurrentAPISessionHandlerFunc) Handle(params DeleteCurrentAPISessionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteCurrentAPISessionOK ¶
type DeleteCurrentAPISessionOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteCurrentAPISessionOK Base empty response
swagger:response deleteCurrentApiSessionOK
func NewDeleteCurrentAPISessionOK ¶
func NewDeleteCurrentAPISessionOK() *DeleteCurrentAPISessionOK
NewDeleteCurrentAPISessionOK creates DeleteCurrentAPISessionOK with default headers values
func (*DeleteCurrentAPISessionOK) SetPayload ¶
func (o *DeleteCurrentAPISessionOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete current Api session o k response
func (*DeleteCurrentAPISessionOK) WithPayload ¶
func (o *DeleteCurrentAPISessionOK) WithPayload(payload *rest_model.Empty) *DeleteCurrentAPISessionOK
WithPayload adds the payload to the delete current Api session o k response
func (*DeleteCurrentAPISessionOK) WriteResponse ¶
func (o *DeleteCurrentAPISessionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCurrentAPISessionParams ¶
type DeleteCurrentAPISessionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
DeleteCurrentAPISessionParams contains all the bound params for the delete current API session operation typically these are obtained from a http.Request
swagger:parameters DeleteCurrentAPISession
func NewDeleteCurrentAPISessionParams ¶
func NewDeleteCurrentAPISessionParams() DeleteCurrentAPISessionParams
NewDeleteCurrentAPISessionParams creates a new DeleteCurrentAPISessionParams object
There are no default values defined in the spec.
func (*DeleteCurrentAPISessionParams) BindRequest ¶
func (o *DeleteCurrentAPISessionParams) 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 NewDeleteCurrentAPISessionParams() beforehand.
type DeleteCurrentAPISessionURL ¶
type DeleteCurrentAPISessionURL struct {
// contains filtered or unexported fields
}
DeleteCurrentAPISessionURL generates an URL for the delete current API session operation
func (*DeleteCurrentAPISessionURL) Build ¶
func (o *DeleteCurrentAPISessionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteCurrentAPISessionURL) BuildFull ¶
func (o *DeleteCurrentAPISessionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteCurrentAPISessionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteCurrentAPISessionURL) SetBasePath ¶
func (o *DeleteCurrentAPISessionURL) 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 (*DeleteCurrentAPISessionURL) String ¶
func (o *DeleteCurrentAPISessionURL) String() string
String returns the string representation of the path with query string
func (*DeleteCurrentAPISessionURL) StringFull ¶
func (o *DeleteCurrentAPISessionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteCurrentAPISessionURL) WithBasePath ¶
func (o *DeleteCurrentAPISessionURL) WithBasePath(bp string) *DeleteCurrentAPISessionURL
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 DeleteCurrentAPISessionUnauthorized ¶
type DeleteCurrentAPISessionUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteCurrentAPISessionUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteCurrentApiSessionUnauthorized
func NewDeleteCurrentAPISessionUnauthorized ¶
func NewDeleteCurrentAPISessionUnauthorized() *DeleteCurrentAPISessionUnauthorized
NewDeleteCurrentAPISessionUnauthorized creates DeleteCurrentAPISessionUnauthorized with default headers values
func (*DeleteCurrentAPISessionUnauthorized) SetPayload ¶
func (o *DeleteCurrentAPISessionUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete current Api session unauthorized response
func (*DeleteCurrentAPISessionUnauthorized) WithPayload ¶
func (o *DeleteCurrentAPISessionUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCurrentAPISessionUnauthorized
WithPayload adds the payload to the delete current Api session unauthorized response
func (*DeleteCurrentAPISessionUnauthorized) WriteResponse ¶
func (o *DeleteCurrentAPISessionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCurrentIdentityAuthenticator ¶
type DetailCurrentIdentityAuthenticator struct { Context *middleware.Context Handler DetailCurrentIdentityAuthenticatorHandler }
DetailCurrentIdentityAuthenticator swagger:route GET /current-identity/authenticators/{id} Current API Session detailCurrentIdentityAuthenticator
Retrieve an authenticator for the current identity ¶
Retrieves a single authenticator by id. Will only show authenticators assigned to the API session's identity.
func NewDetailCurrentIdentityAuthenticator ¶
func NewDetailCurrentIdentityAuthenticator(ctx *middleware.Context, handler DetailCurrentIdentityAuthenticatorHandler) *DetailCurrentIdentityAuthenticator
NewDetailCurrentIdentityAuthenticator creates a new http.Handler for the detail current identity authenticator operation
func (*DetailCurrentIdentityAuthenticator) ServeHTTP ¶
func (o *DetailCurrentIdentityAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailCurrentIdentityAuthenticatorHandler ¶
type DetailCurrentIdentityAuthenticatorHandler interface {
Handle(DetailCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
}
DetailCurrentIdentityAuthenticatorHandler interface for that can handle valid detail current identity authenticator params
type DetailCurrentIdentityAuthenticatorHandlerFunc ¶
type DetailCurrentIdentityAuthenticatorHandlerFunc func(DetailCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
DetailCurrentIdentityAuthenticatorHandlerFunc turns a function with the right signature into a detail current identity authenticator handler
func (DetailCurrentIdentityAuthenticatorHandlerFunc) Handle ¶
func (fn DetailCurrentIdentityAuthenticatorHandlerFunc) Handle(params DetailCurrentIdentityAuthenticatorParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailCurrentIdentityAuthenticatorNotFound ¶
type DetailCurrentIdentityAuthenticatorNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailCurrentIdentityAuthenticatorNotFound The requested resource does not exist
swagger:response detailCurrentIdentityAuthenticatorNotFound
func NewDetailCurrentIdentityAuthenticatorNotFound ¶
func NewDetailCurrentIdentityAuthenticatorNotFound() *DetailCurrentIdentityAuthenticatorNotFound
NewDetailCurrentIdentityAuthenticatorNotFound creates DetailCurrentIdentityAuthenticatorNotFound with default headers values
func (*DetailCurrentIdentityAuthenticatorNotFound) SetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail current identity authenticator not found response
func (*DetailCurrentIdentityAuthenticatorNotFound) WithPayload ¶
func (o *DetailCurrentIdentityAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCurrentIdentityAuthenticatorNotFound
WithPayload adds the payload to the detail current identity authenticator not found response
func (*DetailCurrentIdentityAuthenticatorNotFound) WriteResponse ¶
func (o *DetailCurrentIdentityAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCurrentIdentityAuthenticatorOK ¶
type DetailCurrentIdentityAuthenticatorOK struct { /* In: Body */ Payload *rest_model.DetailAuthenticatorEnvelope `json:"body,omitempty"` }
DetailCurrentIdentityAuthenticatorOK A singular authenticator resource
swagger:response detailCurrentIdentityAuthenticatorOK
func NewDetailCurrentIdentityAuthenticatorOK ¶
func NewDetailCurrentIdentityAuthenticatorOK() *DetailCurrentIdentityAuthenticatorOK
NewDetailCurrentIdentityAuthenticatorOK creates DetailCurrentIdentityAuthenticatorOK with default headers values
func (*DetailCurrentIdentityAuthenticatorOK) SetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.DetailAuthenticatorEnvelope)
SetPayload sets the payload to the detail current identity authenticator o k response
func (*DetailCurrentIdentityAuthenticatorOK) WithPayload ¶
func (o *DetailCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.DetailAuthenticatorEnvelope) *DetailCurrentIdentityAuthenticatorOK
WithPayload adds the payload to the detail current identity authenticator o k response
func (*DetailCurrentIdentityAuthenticatorOK) WriteResponse ¶
func (o *DetailCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCurrentIdentityAuthenticatorParams ¶
type DetailCurrentIdentityAuthenticatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailCurrentIdentityAuthenticatorParams contains all the bound params for the detail current identity authenticator operation typically these are obtained from a http.Request
swagger:parameters detailCurrentIdentityAuthenticator
func NewDetailCurrentIdentityAuthenticatorParams ¶
func NewDetailCurrentIdentityAuthenticatorParams() DetailCurrentIdentityAuthenticatorParams
NewDetailCurrentIdentityAuthenticatorParams creates a new DetailCurrentIdentityAuthenticatorParams object
There are no default values defined in the spec.
func (*DetailCurrentIdentityAuthenticatorParams) BindRequest ¶
func (o *DetailCurrentIdentityAuthenticatorParams) 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 NewDetailCurrentIdentityAuthenticatorParams() beforehand.
type DetailCurrentIdentityAuthenticatorURL ¶
type DetailCurrentIdentityAuthenticatorURL struct { ID string // contains filtered or unexported fields }
DetailCurrentIdentityAuthenticatorURL generates an URL for the detail current identity authenticator operation
func (*DetailCurrentIdentityAuthenticatorURL) Build ¶
func (o *DetailCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailCurrentIdentityAuthenticatorURL) BuildFull ¶
func (o *DetailCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailCurrentIdentityAuthenticatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailCurrentIdentityAuthenticatorURL) SetBasePath ¶
func (o *DetailCurrentIdentityAuthenticatorURL) 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 (*DetailCurrentIdentityAuthenticatorURL) String ¶
func (o *DetailCurrentIdentityAuthenticatorURL) String() string
String returns the string representation of the path with query string
func (*DetailCurrentIdentityAuthenticatorURL) StringFull ¶
func (o *DetailCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailCurrentIdentityAuthenticatorURL) WithBasePath ¶
func (o *DetailCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *DetailCurrentIdentityAuthenticatorURL
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 DetailCurrentIdentityAuthenticatorUnauthorized ¶
type DetailCurrentIdentityAuthenticatorUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailCurrentIdentityAuthenticatorUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailCurrentIdentityAuthenticatorUnauthorized
func NewDetailCurrentIdentityAuthenticatorUnauthorized ¶
func NewDetailCurrentIdentityAuthenticatorUnauthorized() *DetailCurrentIdentityAuthenticatorUnauthorized
NewDetailCurrentIdentityAuthenticatorUnauthorized creates DetailCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*DetailCurrentIdentityAuthenticatorUnauthorized) SetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail current identity authenticator unauthorized response
func (*DetailCurrentIdentityAuthenticatorUnauthorized) WithPayload ¶
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCurrentIdentityAuthenticatorUnauthorized
WithPayload adds the payload to the detail current identity authenticator unauthorized response
func (*DetailCurrentIdentityAuthenticatorUnauthorized) WriteResponse ¶
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExtendCurrentIdentityAuthenticator ¶
type ExtendCurrentIdentityAuthenticator struct { Context *middleware.Context Handler ExtendCurrentIdentityAuthenticatorHandler }
ExtendCurrentIdentityAuthenticator swagger:route POST /current-identity/authenticators/{id}/extend Current API Session Enroll Extend Enrollment extendCurrentIdentityAuthenticator
Allows the current identity to recieve a new certificate associated with a certificate based authenticator ¶
This endpoint only functions for certificates issued by the controller. 3rd party certificates are not handled. Allows an identity to extend its certificate's expiration date by using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation. The response from this endpoint is a new client certificate which the client must be verified via the /authenticators/{id}/extend-verify endpoint. After verification is completion any new connections must be made with new certificate. Prior to verification the old client certificate remains active.
func NewExtendCurrentIdentityAuthenticator ¶
func NewExtendCurrentIdentityAuthenticator(ctx *middleware.Context, handler ExtendCurrentIdentityAuthenticatorHandler) *ExtendCurrentIdentityAuthenticator
NewExtendCurrentIdentityAuthenticator creates a new http.Handler for the extend current identity authenticator operation
func (*ExtendCurrentIdentityAuthenticator) ServeHTTP ¶
func (o *ExtendCurrentIdentityAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExtendCurrentIdentityAuthenticatorHandler ¶
type ExtendCurrentIdentityAuthenticatorHandler interface {
Handle(ExtendCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
}
ExtendCurrentIdentityAuthenticatorHandler interface for that can handle valid extend current identity authenticator params
type ExtendCurrentIdentityAuthenticatorHandlerFunc ¶
type ExtendCurrentIdentityAuthenticatorHandlerFunc func(ExtendCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
ExtendCurrentIdentityAuthenticatorHandlerFunc turns a function with the right signature into a extend current identity authenticator handler
func (ExtendCurrentIdentityAuthenticatorHandlerFunc) Handle ¶
func (fn ExtendCurrentIdentityAuthenticatorHandlerFunc) Handle(params ExtendCurrentIdentityAuthenticatorParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExtendCurrentIdentityAuthenticatorOK ¶
type ExtendCurrentIdentityAuthenticatorOK struct { /* In: Body */ Payload *rest_model.IdentityExtendEnrollmentEnvelope `json:"body,omitempty"` }
ExtendCurrentIdentityAuthenticatorOK A response containg the identity's new certificate
swagger:response extendCurrentIdentityAuthenticatorOK
func NewExtendCurrentIdentityAuthenticatorOK ¶
func NewExtendCurrentIdentityAuthenticatorOK() *ExtendCurrentIdentityAuthenticatorOK
NewExtendCurrentIdentityAuthenticatorOK creates ExtendCurrentIdentityAuthenticatorOK with default headers values
func (*ExtendCurrentIdentityAuthenticatorOK) SetPayload ¶
func (o *ExtendCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.IdentityExtendEnrollmentEnvelope)
SetPayload sets the payload to the extend current identity authenticator o k response
func (*ExtendCurrentIdentityAuthenticatorOK) WithPayload ¶
func (o *ExtendCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.IdentityExtendEnrollmentEnvelope) *ExtendCurrentIdentityAuthenticatorOK
WithPayload adds the payload to the extend current identity authenticator o k response
func (*ExtendCurrentIdentityAuthenticatorOK) WriteResponse ¶
func (o *ExtendCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExtendCurrentIdentityAuthenticatorParams ¶
type ExtendCurrentIdentityAuthenticatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Extend *rest_model.IdentityExtendEnrollmentRequest /*The id of the requested resource Required: true In: path */ ID string }
ExtendCurrentIdentityAuthenticatorParams contains all the bound params for the extend current identity authenticator operation typically these are obtained from a http.Request
swagger:parameters extendCurrentIdentityAuthenticator
func NewExtendCurrentIdentityAuthenticatorParams ¶
func NewExtendCurrentIdentityAuthenticatorParams() ExtendCurrentIdentityAuthenticatorParams
NewExtendCurrentIdentityAuthenticatorParams creates a new ExtendCurrentIdentityAuthenticatorParams object
There are no default values defined in the spec.
func (*ExtendCurrentIdentityAuthenticatorParams) BindRequest ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) 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 NewExtendCurrentIdentityAuthenticatorParams() beforehand.
type ExtendCurrentIdentityAuthenticatorURL ¶
type ExtendCurrentIdentityAuthenticatorURL struct { ID string // contains filtered or unexported fields }
ExtendCurrentIdentityAuthenticatorURL generates an URL for the extend current identity authenticator operation
func (*ExtendCurrentIdentityAuthenticatorURL) Build ¶
func (o *ExtendCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExtendCurrentIdentityAuthenticatorURL) BuildFull ¶
func (o *ExtendCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExtendCurrentIdentityAuthenticatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExtendCurrentIdentityAuthenticatorURL) SetBasePath ¶
func (o *ExtendCurrentIdentityAuthenticatorURL) 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 (*ExtendCurrentIdentityAuthenticatorURL) String ¶
func (o *ExtendCurrentIdentityAuthenticatorURL) String() string
String returns the string representation of the path with query string
func (*ExtendCurrentIdentityAuthenticatorURL) StringFull ¶
func (o *ExtendCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExtendCurrentIdentityAuthenticatorURL) WithBasePath ¶
func (o *ExtendCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *ExtendCurrentIdentityAuthenticatorURL
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 ExtendCurrentIdentityAuthenticatorUnauthorized ¶
type ExtendCurrentIdentityAuthenticatorUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ExtendCurrentIdentityAuthenticatorUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response extendCurrentIdentityAuthenticatorUnauthorized
func NewExtendCurrentIdentityAuthenticatorUnauthorized ¶
func NewExtendCurrentIdentityAuthenticatorUnauthorized() *ExtendCurrentIdentityAuthenticatorUnauthorized
NewExtendCurrentIdentityAuthenticatorUnauthorized creates ExtendCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) SetPayload ¶
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the extend current identity authenticator unauthorized response
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) WithPayload ¶
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendCurrentIdentityAuthenticatorUnauthorized
WithPayload adds the payload to the extend current identity authenticator unauthorized response
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) WriteResponse ¶
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExtendVerifyCurrentIdentityAuthenticator ¶
type ExtendVerifyCurrentIdentityAuthenticator struct { Context *middleware.Context Handler ExtendVerifyCurrentIdentityAuthenticatorHandler }
ExtendVerifyCurrentIdentityAuthenticator swagger:route POST /current-identity/authenticators/{id}/extend-verify Current API Session Enroll Extend Enrollment extendVerifyCurrentIdentityAuthenticator
Allows the current identity to validate reciept of a new client certificate ¶
After submitting a CSR for a new client certificate the resulting public certificate must be re-submitted to this endpoint to verify receipt. After receipt, the new client certificate must be used for new authentication requests.
func NewExtendVerifyCurrentIdentityAuthenticator ¶
func NewExtendVerifyCurrentIdentityAuthenticator(ctx *middleware.Context, handler ExtendVerifyCurrentIdentityAuthenticatorHandler) *ExtendVerifyCurrentIdentityAuthenticator
NewExtendVerifyCurrentIdentityAuthenticator creates a new http.Handler for the extend verify current identity authenticator operation
func (*ExtendVerifyCurrentIdentityAuthenticator) ServeHTTP ¶
func (o *ExtendVerifyCurrentIdentityAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExtendVerifyCurrentIdentityAuthenticatorHandler ¶
type ExtendVerifyCurrentIdentityAuthenticatorHandler interface {
Handle(ExtendVerifyCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
}
ExtendVerifyCurrentIdentityAuthenticatorHandler interface for that can handle valid extend verify current identity authenticator params
type ExtendVerifyCurrentIdentityAuthenticatorHandlerFunc ¶
type ExtendVerifyCurrentIdentityAuthenticatorHandlerFunc func(ExtendVerifyCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
ExtendVerifyCurrentIdentityAuthenticatorHandlerFunc turns a function with the right signature into a extend verify current identity authenticator handler
func (ExtendVerifyCurrentIdentityAuthenticatorHandlerFunc) Handle ¶
func (fn ExtendVerifyCurrentIdentityAuthenticatorHandlerFunc) Handle(params ExtendVerifyCurrentIdentityAuthenticatorParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExtendVerifyCurrentIdentityAuthenticatorOK ¶
type ExtendVerifyCurrentIdentityAuthenticatorOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
ExtendVerifyCurrentIdentityAuthenticatorOK Base empty response
swagger:response extendVerifyCurrentIdentityAuthenticatorOK
func NewExtendVerifyCurrentIdentityAuthenticatorOK ¶
func NewExtendVerifyCurrentIdentityAuthenticatorOK() *ExtendVerifyCurrentIdentityAuthenticatorOK
NewExtendVerifyCurrentIdentityAuthenticatorOK creates ExtendVerifyCurrentIdentityAuthenticatorOK with default headers values
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) SetPayload ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the extend verify current identity authenticator o k response
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) WithPayload ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.Empty) *ExtendVerifyCurrentIdentityAuthenticatorOK
WithPayload adds the payload to the extend verify current identity authenticator o k response
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) WriteResponse ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExtendVerifyCurrentIdentityAuthenticatorParams ¶
type ExtendVerifyCurrentIdentityAuthenticatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Extend *rest_model.IdentityExtendValidateEnrollmentRequest /*The id of the requested resource Required: true In: path */ ID string }
ExtendVerifyCurrentIdentityAuthenticatorParams contains all the bound params for the extend verify current identity authenticator operation typically these are obtained from a http.Request
swagger:parameters extendVerifyCurrentIdentityAuthenticator
func NewExtendVerifyCurrentIdentityAuthenticatorParams ¶
func NewExtendVerifyCurrentIdentityAuthenticatorParams() ExtendVerifyCurrentIdentityAuthenticatorParams
NewExtendVerifyCurrentIdentityAuthenticatorParams creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object
There are no default values defined in the spec.
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) BindRequest ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) 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 NewExtendVerifyCurrentIdentityAuthenticatorParams() beforehand.
type ExtendVerifyCurrentIdentityAuthenticatorURL ¶
type ExtendVerifyCurrentIdentityAuthenticatorURL struct { ID string // contains filtered or unexported fields }
ExtendVerifyCurrentIdentityAuthenticatorURL generates an URL for the extend verify current identity authenticator operation
func (*ExtendVerifyCurrentIdentityAuthenticatorURL) Build ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExtendVerifyCurrentIdentityAuthenticatorURL) BuildFull ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExtendVerifyCurrentIdentityAuthenticatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExtendVerifyCurrentIdentityAuthenticatorURL) SetBasePath ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) 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 (*ExtendVerifyCurrentIdentityAuthenticatorURL) String ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) String() string
String returns the string representation of the path with query string
func (*ExtendVerifyCurrentIdentityAuthenticatorURL) StringFull ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExtendVerifyCurrentIdentityAuthenticatorURL) WithBasePath ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *ExtendVerifyCurrentIdentityAuthenticatorURL
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 ExtendVerifyCurrentIdentityAuthenticatorUnauthorized ¶
type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ExtendVerifyCurrentIdentityAuthenticatorUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response extendVerifyCurrentIdentityAuthenticatorUnauthorized
func NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized ¶
func NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized() *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized creates ExtendVerifyCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) SetPayload ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the extend verify current identity authenticator unauthorized response
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) WithPayload ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
WithPayload adds the payload to the extend verify current identity authenticator unauthorized response
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) WriteResponse ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCurrentAPISession ¶
type GetCurrentAPISession struct { Context *middleware.Context Handler GetCurrentAPISessionHandler }
GetCurrentAPISession swagger:route GET /current-api-session Current API Session getCurrentApiSession
Return the current API session ¶
Retrieves the API session that was used to issue the current request
func NewGetCurrentAPISession ¶
func NewGetCurrentAPISession(ctx *middleware.Context, handler GetCurrentAPISessionHandler) *GetCurrentAPISession
NewGetCurrentAPISession creates a new http.Handler for the get current API session operation
func (*GetCurrentAPISession) ServeHTTP ¶
func (o *GetCurrentAPISession) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCurrentAPISessionHandler ¶
type GetCurrentAPISessionHandler interface {
Handle(GetCurrentAPISessionParams, interface{}) middleware.Responder
}
GetCurrentAPISessionHandler interface for that can handle valid get current API session params
type GetCurrentAPISessionHandlerFunc ¶
type GetCurrentAPISessionHandlerFunc func(GetCurrentAPISessionParams, interface{}) middleware.Responder
GetCurrentAPISessionHandlerFunc turns a function with the right signature into a get current API session handler
func (GetCurrentAPISessionHandlerFunc) Handle ¶
func (fn GetCurrentAPISessionHandlerFunc) Handle(params GetCurrentAPISessionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetCurrentAPISessionOK ¶
type GetCurrentAPISessionOK struct { /* In: Body */ Payload *rest_model.CurrentAPISessionDetailEnvelope `json:"body,omitempty"` }
GetCurrentAPISessionOK The API session associated with the session used to issue the request
swagger:response getCurrentApiSessionOK
func NewGetCurrentAPISessionOK ¶
func NewGetCurrentAPISessionOK() *GetCurrentAPISessionOK
NewGetCurrentAPISessionOK creates GetCurrentAPISessionOK with default headers values
func (*GetCurrentAPISessionOK) SetPayload ¶
func (o *GetCurrentAPISessionOK) SetPayload(payload *rest_model.CurrentAPISessionDetailEnvelope)
SetPayload sets the payload to the get current Api session o k response
func (*GetCurrentAPISessionOK) WithPayload ¶
func (o *GetCurrentAPISessionOK) WithPayload(payload *rest_model.CurrentAPISessionDetailEnvelope) *GetCurrentAPISessionOK
WithPayload adds the payload to the get current Api session o k response
func (*GetCurrentAPISessionOK) WriteResponse ¶
func (o *GetCurrentAPISessionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCurrentAPISessionParams ¶
type GetCurrentAPISessionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetCurrentAPISessionParams contains all the bound params for the get current API session operation typically these are obtained from a http.Request
swagger:parameters getCurrentAPISession
func NewGetCurrentAPISessionParams ¶
func NewGetCurrentAPISessionParams() GetCurrentAPISessionParams
NewGetCurrentAPISessionParams creates a new GetCurrentAPISessionParams object
There are no default values defined in the spec.
func (*GetCurrentAPISessionParams) BindRequest ¶
func (o *GetCurrentAPISessionParams) 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 NewGetCurrentAPISessionParams() beforehand.
type GetCurrentAPISessionURL ¶
type GetCurrentAPISessionURL struct {
// contains filtered or unexported fields
}
GetCurrentAPISessionURL generates an URL for the get current API session operation
func (*GetCurrentAPISessionURL) Build ¶
func (o *GetCurrentAPISessionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCurrentAPISessionURL) BuildFull ¶
func (o *GetCurrentAPISessionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCurrentAPISessionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCurrentAPISessionURL) SetBasePath ¶
func (o *GetCurrentAPISessionURL) 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 (*GetCurrentAPISessionURL) String ¶
func (o *GetCurrentAPISessionURL) String() string
String returns the string representation of the path with query string
func (*GetCurrentAPISessionURL) StringFull ¶
func (o *GetCurrentAPISessionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCurrentAPISessionURL) WithBasePath ¶
func (o *GetCurrentAPISessionURL) WithBasePath(bp string) *GetCurrentAPISessionURL
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 GetCurrentAPISessionUnauthorized ¶
type GetCurrentAPISessionUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
GetCurrentAPISessionUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response getCurrentApiSessionUnauthorized
func NewGetCurrentAPISessionUnauthorized ¶
func NewGetCurrentAPISessionUnauthorized() *GetCurrentAPISessionUnauthorized
NewGetCurrentAPISessionUnauthorized creates GetCurrentAPISessionUnauthorized with default headers values
func (*GetCurrentAPISessionUnauthorized) SetPayload ¶
func (o *GetCurrentAPISessionUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the get current Api session unauthorized response
func (*GetCurrentAPISessionUnauthorized) WithPayload ¶
func (o *GetCurrentAPISessionUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentAPISessionUnauthorized
WithPayload adds the payload to the get current Api session unauthorized response
func (*GetCurrentAPISessionUnauthorized) WriteResponse ¶
func (o *GetCurrentAPISessionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCurrentIdentityAuthenticators ¶
type ListCurrentIdentityAuthenticators struct { Context *middleware.Context Handler ListCurrentIdentityAuthenticatorsHandler }
ListCurrentIdentityAuthenticators swagger:route GET /current-identity/authenticators Current API Session listCurrentIdentityAuthenticators
List authenticators for the current identity ¶
Retrieves a list of authenticators assigned to the current API session's identity; supports filtering, sorting, and pagination.
func NewListCurrentIdentityAuthenticators ¶
func NewListCurrentIdentityAuthenticators(ctx *middleware.Context, handler ListCurrentIdentityAuthenticatorsHandler) *ListCurrentIdentityAuthenticators
NewListCurrentIdentityAuthenticators creates a new http.Handler for the list current identity authenticators operation
func (*ListCurrentIdentityAuthenticators) ServeHTTP ¶
func (o *ListCurrentIdentityAuthenticators) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListCurrentIdentityAuthenticatorsBadRequest ¶
type ListCurrentIdentityAuthenticatorsBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListCurrentIdentityAuthenticatorsBadRequest 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 listCurrentIdentityAuthenticatorsBadRequest
func NewListCurrentIdentityAuthenticatorsBadRequest ¶
func NewListCurrentIdentityAuthenticatorsBadRequest() *ListCurrentIdentityAuthenticatorsBadRequest
NewListCurrentIdentityAuthenticatorsBadRequest creates ListCurrentIdentityAuthenticatorsBadRequest with default headers values
func (*ListCurrentIdentityAuthenticatorsBadRequest) SetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list current identity authenticators bad request response
func (*ListCurrentIdentityAuthenticatorsBadRequest) WithPayload ¶
func (o *ListCurrentIdentityAuthenticatorsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCurrentIdentityAuthenticatorsBadRequest
WithPayload adds the payload to the list current identity authenticators bad request response
func (*ListCurrentIdentityAuthenticatorsBadRequest) WriteResponse ¶
func (o *ListCurrentIdentityAuthenticatorsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCurrentIdentityAuthenticatorsHandler ¶
type ListCurrentIdentityAuthenticatorsHandler interface {
Handle(ListCurrentIdentityAuthenticatorsParams, interface{}) middleware.Responder
}
ListCurrentIdentityAuthenticatorsHandler interface for that can handle valid list current identity authenticators params
type ListCurrentIdentityAuthenticatorsHandlerFunc ¶
type ListCurrentIdentityAuthenticatorsHandlerFunc func(ListCurrentIdentityAuthenticatorsParams, interface{}) middleware.Responder
ListCurrentIdentityAuthenticatorsHandlerFunc turns a function with the right signature into a list current identity authenticators handler
func (ListCurrentIdentityAuthenticatorsHandlerFunc) Handle ¶
func (fn ListCurrentIdentityAuthenticatorsHandlerFunc) Handle(params ListCurrentIdentityAuthenticatorsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListCurrentIdentityAuthenticatorsOK ¶
type ListCurrentIdentityAuthenticatorsOK struct { /* In: Body */ Payload *rest_model.ListAuthenticatorsEnvelope `json:"body,omitempty"` }
ListCurrentIdentityAuthenticatorsOK A list of authenticators
swagger:response listCurrentIdentityAuthenticatorsOK
func NewListCurrentIdentityAuthenticatorsOK ¶
func NewListCurrentIdentityAuthenticatorsOK() *ListCurrentIdentityAuthenticatorsOK
NewListCurrentIdentityAuthenticatorsOK creates ListCurrentIdentityAuthenticatorsOK with default headers values
func (*ListCurrentIdentityAuthenticatorsOK) SetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsOK) SetPayload(payload *rest_model.ListAuthenticatorsEnvelope)
SetPayload sets the payload to the list current identity authenticators o k response
func (*ListCurrentIdentityAuthenticatorsOK) WithPayload ¶
func (o *ListCurrentIdentityAuthenticatorsOK) WithPayload(payload *rest_model.ListAuthenticatorsEnvelope) *ListCurrentIdentityAuthenticatorsOK
WithPayload adds the payload to the list current identity authenticators o k response
func (*ListCurrentIdentityAuthenticatorsOK) WriteResponse ¶
func (o *ListCurrentIdentityAuthenticatorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCurrentIdentityAuthenticatorsParams ¶
type ListCurrentIdentityAuthenticatorsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListCurrentIdentityAuthenticatorsParams contains all the bound params for the list current identity authenticators operation typically these are obtained from a http.Request
swagger:parameters listCurrentIdentityAuthenticators
func NewListCurrentIdentityAuthenticatorsParams ¶
func NewListCurrentIdentityAuthenticatorsParams() ListCurrentIdentityAuthenticatorsParams
NewListCurrentIdentityAuthenticatorsParams creates a new ListCurrentIdentityAuthenticatorsParams object
There are no default values defined in the spec.
func (*ListCurrentIdentityAuthenticatorsParams) BindRequest ¶
func (o *ListCurrentIdentityAuthenticatorsParams) 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 NewListCurrentIdentityAuthenticatorsParams() beforehand.
type ListCurrentIdentityAuthenticatorsURL ¶
type ListCurrentIdentityAuthenticatorsURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListCurrentIdentityAuthenticatorsURL generates an URL for the list current identity authenticators operation
func (*ListCurrentIdentityAuthenticatorsURL) Build ¶
func (o *ListCurrentIdentityAuthenticatorsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListCurrentIdentityAuthenticatorsURL) BuildFull ¶
func (o *ListCurrentIdentityAuthenticatorsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListCurrentIdentityAuthenticatorsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListCurrentIdentityAuthenticatorsURL) SetBasePath ¶
func (o *ListCurrentIdentityAuthenticatorsURL) 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 (*ListCurrentIdentityAuthenticatorsURL) String ¶
func (o *ListCurrentIdentityAuthenticatorsURL) String() string
String returns the string representation of the path with query string
func (*ListCurrentIdentityAuthenticatorsURL) StringFull ¶
func (o *ListCurrentIdentityAuthenticatorsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListCurrentIdentityAuthenticatorsURL) WithBasePath ¶
func (o *ListCurrentIdentityAuthenticatorsURL) WithBasePath(bp string) *ListCurrentIdentityAuthenticatorsURL
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 ListCurrentIdentityAuthenticatorsUnauthorized ¶
type ListCurrentIdentityAuthenticatorsUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListCurrentIdentityAuthenticatorsUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listCurrentIdentityAuthenticatorsUnauthorized
func NewListCurrentIdentityAuthenticatorsUnauthorized ¶
func NewListCurrentIdentityAuthenticatorsUnauthorized() *ListCurrentIdentityAuthenticatorsUnauthorized
NewListCurrentIdentityAuthenticatorsUnauthorized creates ListCurrentIdentityAuthenticatorsUnauthorized with default headers values
func (*ListCurrentIdentityAuthenticatorsUnauthorized) SetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list current identity authenticators unauthorized response
func (*ListCurrentIdentityAuthenticatorsUnauthorized) WithPayload ¶
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCurrentIdentityAuthenticatorsUnauthorized
WithPayload adds the payload to the list current identity authenticators unauthorized response
func (*ListCurrentIdentityAuthenticatorsUnauthorized) WriteResponse ¶
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCurrentIdentityAuthenticator ¶
type PatchCurrentIdentityAuthenticator struct { Context *middleware.Context Handler PatchCurrentIdentityAuthenticatorHandler }
PatchCurrentIdentityAuthenticator swagger:route PATCH /current-identity/authenticators/{id} Current API Session patchCurrentIdentityAuthenticator
Update the supplied fields on an authenticator of this identity ¶
Update the supplied fields on an authenticator by id. Will only update authenticators assigned to the API session's identity.
func NewPatchCurrentIdentityAuthenticator ¶
func NewPatchCurrentIdentityAuthenticator(ctx *middleware.Context, handler PatchCurrentIdentityAuthenticatorHandler) *PatchCurrentIdentityAuthenticator
NewPatchCurrentIdentityAuthenticator creates a new http.Handler for the patch current identity authenticator operation
func (*PatchCurrentIdentityAuthenticator) ServeHTTP ¶
func (o *PatchCurrentIdentityAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchCurrentIdentityAuthenticatorBadRequest ¶
type PatchCurrentIdentityAuthenticatorBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchCurrentIdentityAuthenticatorBadRequest 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 patchCurrentIdentityAuthenticatorBadRequest
func NewPatchCurrentIdentityAuthenticatorBadRequest ¶
func NewPatchCurrentIdentityAuthenticatorBadRequest() *PatchCurrentIdentityAuthenticatorBadRequest
NewPatchCurrentIdentityAuthenticatorBadRequest creates PatchCurrentIdentityAuthenticatorBadRequest with default headers values
func (*PatchCurrentIdentityAuthenticatorBadRequest) SetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch current identity authenticator bad request response
func (*PatchCurrentIdentityAuthenticatorBadRequest) WithPayload ¶
func (o *PatchCurrentIdentityAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCurrentIdentityAuthenticatorBadRequest
WithPayload adds the payload to the patch current identity authenticator bad request response
func (*PatchCurrentIdentityAuthenticatorBadRequest) WriteResponse ¶
func (o *PatchCurrentIdentityAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCurrentIdentityAuthenticatorHandler ¶
type PatchCurrentIdentityAuthenticatorHandler interface {
Handle(PatchCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
}
PatchCurrentIdentityAuthenticatorHandler interface for that can handle valid patch current identity authenticator params
type PatchCurrentIdentityAuthenticatorHandlerFunc ¶
type PatchCurrentIdentityAuthenticatorHandlerFunc func(PatchCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
PatchCurrentIdentityAuthenticatorHandlerFunc turns a function with the right signature into a patch current identity authenticator handler
func (PatchCurrentIdentityAuthenticatorHandlerFunc) Handle ¶
func (fn PatchCurrentIdentityAuthenticatorHandlerFunc) Handle(params PatchCurrentIdentityAuthenticatorParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchCurrentIdentityAuthenticatorNotFound ¶
type PatchCurrentIdentityAuthenticatorNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchCurrentIdentityAuthenticatorNotFound The requested resource does not exist
swagger:response patchCurrentIdentityAuthenticatorNotFound
func NewPatchCurrentIdentityAuthenticatorNotFound ¶
func NewPatchCurrentIdentityAuthenticatorNotFound() *PatchCurrentIdentityAuthenticatorNotFound
NewPatchCurrentIdentityAuthenticatorNotFound creates PatchCurrentIdentityAuthenticatorNotFound with default headers values
func (*PatchCurrentIdentityAuthenticatorNotFound) SetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch current identity authenticator not found response
func (*PatchCurrentIdentityAuthenticatorNotFound) WithPayload ¶
func (o *PatchCurrentIdentityAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCurrentIdentityAuthenticatorNotFound
WithPayload adds the payload to the patch current identity authenticator not found response
func (*PatchCurrentIdentityAuthenticatorNotFound) WriteResponse ¶
func (o *PatchCurrentIdentityAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCurrentIdentityAuthenticatorOK ¶
type PatchCurrentIdentityAuthenticatorOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchCurrentIdentityAuthenticatorOK The patch request was successful and the resource has been altered
swagger:response patchCurrentIdentityAuthenticatorOK
func NewPatchCurrentIdentityAuthenticatorOK ¶
func NewPatchCurrentIdentityAuthenticatorOK() *PatchCurrentIdentityAuthenticatorOK
NewPatchCurrentIdentityAuthenticatorOK creates PatchCurrentIdentityAuthenticatorOK with default headers values
func (*PatchCurrentIdentityAuthenticatorOK) SetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch current identity authenticator o k response
func (*PatchCurrentIdentityAuthenticatorOK) WithPayload ¶
func (o *PatchCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.Empty) *PatchCurrentIdentityAuthenticatorOK
WithPayload adds the payload to the patch current identity authenticator o k response
func (*PatchCurrentIdentityAuthenticatorOK) WriteResponse ¶
func (o *PatchCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCurrentIdentityAuthenticatorParams ¶
type PatchCurrentIdentityAuthenticatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An authenticator patch object Required: true In: body */ Authenticator *rest_model.AuthenticatorPatchWithCurrent /*The id of the requested resource Required: true In: path */ ID string }
PatchCurrentIdentityAuthenticatorParams contains all the bound params for the patch current identity authenticator operation typically these are obtained from a http.Request
swagger:parameters patchCurrentIdentityAuthenticator
func NewPatchCurrentIdentityAuthenticatorParams ¶
func NewPatchCurrentIdentityAuthenticatorParams() PatchCurrentIdentityAuthenticatorParams
NewPatchCurrentIdentityAuthenticatorParams creates a new PatchCurrentIdentityAuthenticatorParams object
There are no default values defined in the spec.
func (*PatchCurrentIdentityAuthenticatorParams) BindRequest ¶
func (o *PatchCurrentIdentityAuthenticatorParams) 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 NewPatchCurrentIdentityAuthenticatorParams() beforehand.
type PatchCurrentIdentityAuthenticatorURL ¶
type PatchCurrentIdentityAuthenticatorURL struct { ID string // contains filtered or unexported fields }
PatchCurrentIdentityAuthenticatorURL generates an URL for the patch current identity authenticator operation
func (*PatchCurrentIdentityAuthenticatorURL) Build ¶
func (o *PatchCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchCurrentIdentityAuthenticatorURL) BuildFull ¶
func (o *PatchCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchCurrentIdentityAuthenticatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchCurrentIdentityAuthenticatorURL) SetBasePath ¶
func (o *PatchCurrentIdentityAuthenticatorURL) 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 (*PatchCurrentIdentityAuthenticatorURL) String ¶
func (o *PatchCurrentIdentityAuthenticatorURL) String() string
String returns the string representation of the path with query string
func (*PatchCurrentIdentityAuthenticatorURL) StringFull ¶
func (o *PatchCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchCurrentIdentityAuthenticatorURL) WithBasePath ¶
func (o *PatchCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *PatchCurrentIdentityAuthenticatorURL
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 PatchCurrentIdentityAuthenticatorUnauthorized ¶
type PatchCurrentIdentityAuthenticatorUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchCurrentIdentityAuthenticatorUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchCurrentIdentityAuthenticatorUnauthorized
func NewPatchCurrentIdentityAuthenticatorUnauthorized ¶
func NewPatchCurrentIdentityAuthenticatorUnauthorized() *PatchCurrentIdentityAuthenticatorUnauthorized
NewPatchCurrentIdentityAuthenticatorUnauthorized creates PatchCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*PatchCurrentIdentityAuthenticatorUnauthorized) SetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch current identity authenticator unauthorized response
func (*PatchCurrentIdentityAuthenticatorUnauthorized) WithPayload ¶
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCurrentIdentityAuthenticatorUnauthorized
WithPayload adds the payload to the patch current identity authenticator unauthorized response
func (*PatchCurrentIdentityAuthenticatorUnauthorized) WriteResponse ¶
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCurrentIdentityAuthenticator ¶
type UpdateCurrentIdentityAuthenticator struct { Context *middleware.Context Handler UpdateCurrentIdentityAuthenticatorHandler }
UpdateCurrentIdentityAuthenticator swagger:route PUT /current-identity/authenticators/{id} Current API Session updateCurrentIdentityAuthenticator
Update all fields on an authenticator of this identity ¶
Update all fields on an authenticator by id. Will only update authenticators assigned to the API session's identity.
func NewUpdateCurrentIdentityAuthenticator ¶
func NewUpdateCurrentIdentityAuthenticator(ctx *middleware.Context, handler UpdateCurrentIdentityAuthenticatorHandler) *UpdateCurrentIdentityAuthenticator
NewUpdateCurrentIdentityAuthenticator creates a new http.Handler for the update current identity authenticator operation
func (*UpdateCurrentIdentityAuthenticator) ServeHTTP ¶
func (o *UpdateCurrentIdentityAuthenticator) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateCurrentIdentityAuthenticatorBadRequest ¶
type UpdateCurrentIdentityAuthenticatorBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateCurrentIdentityAuthenticatorBadRequest 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 updateCurrentIdentityAuthenticatorBadRequest
func NewUpdateCurrentIdentityAuthenticatorBadRequest ¶
func NewUpdateCurrentIdentityAuthenticatorBadRequest() *UpdateCurrentIdentityAuthenticatorBadRequest
NewUpdateCurrentIdentityAuthenticatorBadRequest creates UpdateCurrentIdentityAuthenticatorBadRequest with default headers values
func (*UpdateCurrentIdentityAuthenticatorBadRequest) SetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update current identity authenticator bad request response
func (*UpdateCurrentIdentityAuthenticatorBadRequest) WithPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCurrentIdentityAuthenticatorBadRequest
WithPayload adds the payload to the update current identity authenticator bad request response
func (*UpdateCurrentIdentityAuthenticatorBadRequest) WriteResponse ¶
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCurrentIdentityAuthenticatorHandler ¶
type UpdateCurrentIdentityAuthenticatorHandler interface {
Handle(UpdateCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
}
UpdateCurrentIdentityAuthenticatorHandler interface for that can handle valid update current identity authenticator params
type UpdateCurrentIdentityAuthenticatorHandlerFunc ¶
type UpdateCurrentIdentityAuthenticatorHandlerFunc func(UpdateCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
UpdateCurrentIdentityAuthenticatorHandlerFunc turns a function with the right signature into a update current identity authenticator handler
func (UpdateCurrentIdentityAuthenticatorHandlerFunc) Handle ¶
func (fn UpdateCurrentIdentityAuthenticatorHandlerFunc) Handle(params UpdateCurrentIdentityAuthenticatorParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateCurrentIdentityAuthenticatorNotFound ¶
type UpdateCurrentIdentityAuthenticatorNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateCurrentIdentityAuthenticatorNotFound The requested resource does not exist
swagger:response updateCurrentIdentityAuthenticatorNotFound
func NewUpdateCurrentIdentityAuthenticatorNotFound ¶
func NewUpdateCurrentIdentityAuthenticatorNotFound() *UpdateCurrentIdentityAuthenticatorNotFound
NewUpdateCurrentIdentityAuthenticatorNotFound creates UpdateCurrentIdentityAuthenticatorNotFound with default headers values
func (*UpdateCurrentIdentityAuthenticatorNotFound) SetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update current identity authenticator not found response
func (*UpdateCurrentIdentityAuthenticatorNotFound) WithPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCurrentIdentityAuthenticatorNotFound
WithPayload adds the payload to the update current identity authenticator not found response
func (*UpdateCurrentIdentityAuthenticatorNotFound) WriteResponse ¶
func (o *UpdateCurrentIdentityAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCurrentIdentityAuthenticatorOK ¶
type UpdateCurrentIdentityAuthenticatorOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateCurrentIdentityAuthenticatorOK The update request was successful and the resource has been altered
swagger:response updateCurrentIdentityAuthenticatorOK
func NewUpdateCurrentIdentityAuthenticatorOK ¶
func NewUpdateCurrentIdentityAuthenticatorOK() *UpdateCurrentIdentityAuthenticatorOK
NewUpdateCurrentIdentityAuthenticatorOK creates UpdateCurrentIdentityAuthenticatorOK with default headers values
func (*UpdateCurrentIdentityAuthenticatorOK) SetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update current identity authenticator o k response
func (*UpdateCurrentIdentityAuthenticatorOK) WithPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorOK) WithPayload(payload *rest_model.Empty) *UpdateCurrentIdentityAuthenticatorOK
WithPayload adds the payload to the update current identity authenticator o k response
func (*UpdateCurrentIdentityAuthenticatorOK) WriteResponse ¶
func (o *UpdateCurrentIdentityAuthenticatorOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCurrentIdentityAuthenticatorParams ¶
type UpdateCurrentIdentityAuthenticatorParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An authenticator put object Required: true In: body */ Authenticator *rest_model.AuthenticatorUpdateWithCurrent /*The id of the requested resource Required: true In: path */ ID string }
UpdateCurrentIdentityAuthenticatorParams contains all the bound params for the update current identity authenticator operation typically these are obtained from a http.Request
swagger:parameters updateCurrentIdentityAuthenticator
func NewUpdateCurrentIdentityAuthenticatorParams ¶
func NewUpdateCurrentIdentityAuthenticatorParams() UpdateCurrentIdentityAuthenticatorParams
NewUpdateCurrentIdentityAuthenticatorParams creates a new UpdateCurrentIdentityAuthenticatorParams object
There are no default values defined in the spec.
func (*UpdateCurrentIdentityAuthenticatorParams) BindRequest ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) 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 NewUpdateCurrentIdentityAuthenticatorParams() beforehand.
type UpdateCurrentIdentityAuthenticatorURL ¶
type UpdateCurrentIdentityAuthenticatorURL struct { ID string // contains filtered or unexported fields }
UpdateCurrentIdentityAuthenticatorURL generates an URL for the update current identity authenticator operation
func (*UpdateCurrentIdentityAuthenticatorURL) Build ¶
func (o *UpdateCurrentIdentityAuthenticatorURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateCurrentIdentityAuthenticatorURL) BuildFull ¶
func (o *UpdateCurrentIdentityAuthenticatorURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateCurrentIdentityAuthenticatorURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateCurrentIdentityAuthenticatorURL) SetBasePath ¶
func (o *UpdateCurrentIdentityAuthenticatorURL) 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 (*UpdateCurrentIdentityAuthenticatorURL) String ¶
func (o *UpdateCurrentIdentityAuthenticatorURL) String() string
String returns the string representation of the path with query string
func (*UpdateCurrentIdentityAuthenticatorURL) StringFull ¶
func (o *UpdateCurrentIdentityAuthenticatorURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateCurrentIdentityAuthenticatorURL) WithBasePath ¶
func (o *UpdateCurrentIdentityAuthenticatorURL) WithBasePath(bp string) *UpdateCurrentIdentityAuthenticatorURL
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 UpdateCurrentIdentityAuthenticatorUnauthorized ¶
type UpdateCurrentIdentityAuthenticatorUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateCurrentIdentityAuthenticatorUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateCurrentIdentityAuthenticatorUnauthorized
func NewUpdateCurrentIdentityAuthenticatorUnauthorized ¶
func NewUpdateCurrentIdentityAuthenticatorUnauthorized() *UpdateCurrentIdentityAuthenticatorUnauthorized
NewUpdateCurrentIdentityAuthenticatorUnauthorized creates UpdateCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) SetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update current identity authenticator unauthorized response
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) WithPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCurrentIdentityAuthenticatorUnauthorized
WithPayload adds the payload to the update current identity authenticator unauthorized response
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) WriteResponse ¶
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- delete_current_api_session.go
- delete_current_api_session_parameters.go
- delete_current_api_session_responses.go
- delete_current_api_session_urlbuilder.go
- detail_current_identity_authenticator.go
- detail_current_identity_authenticator_parameters.go
- detail_current_identity_authenticator_responses.go
- detail_current_identity_authenticator_urlbuilder.go
- extend_current_identity_authenticator.go
- extend_current_identity_authenticator_parameters.go
- extend_current_identity_authenticator_responses.go
- extend_current_identity_authenticator_urlbuilder.go
- extend_verify_current_identity_authenticator.go
- extend_verify_current_identity_authenticator_parameters.go
- extend_verify_current_identity_authenticator_responses.go
- extend_verify_current_identity_authenticator_urlbuilder.go
- get_current_api_session.go
- get_current_api_session_parameters.go
- get_current_api_session_responses.go
- get_current_api_session_urlbuilder.go
- list_current_identity_authenticators.go
- list_current_identity_authenticators_parameters.go
- list_current_identity_authenticators_responses.go
- list_current_identity_authenticators_urlbuilder.go
- patch_current_identity_authenticator.go
- patch_current_identity_authenticator_parameters.go
- patch_current_identity_authenticator_responses.go
- patch_current_identity_authenticator_urlbuilder.go
- update_current_identity_authenticator.go
- update_current_identity_authenticator_parameters.go
- update_current_identity_authenticator_responses.go
- update_current_identity_authenticator_urlbuilder.go