current_api_session

package
v0.20.136 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreateCurrentAPISessionCertificateBadRequestCode int = 400

CreateCurrentAPISessionCertificateBadRequestCode is the HTTP code returned for type CreateCurrentAPISessionCertificateBadRequest

View Source
const CreateCurrentAPISessionCertificateCreatedCode int = 201

CreateCurrentAPISessionCertificateCreatedCode is the HTTP code returned for type CreateCurrentAPISessionCertificateCreated

View Source
const CreateCurrentAPISessionCertificateUnauthorizedCode int = 401

CreateCurrentAPISessionCertificateUnauthorizedCode is the HTTP code returned for type CreateCurrentAPISessionCertificateUnauthorized

View Source
const DeleteCurrentAPISessionCertificateBadRequestCode int = 400

DeleteCurrentAPISessionCertificateBadRequestCode is the HTTP code returned for type DeleteCurrentAPISessionCertificateBadRequest

View Source
const DeleteCurrentAPISessionCertificateOKCode int = 200

DeleteCurrentAPISessionCertificateOKCode is the HTTP code returned for type DeleteCurrentAPISessionCertificateOK

View Source
const DeleteCurrentAPISessionCertificateUnauthorizedCode int = 401

DeleteCurrentAPISessionCertificateUnauthorizedCode is the HTTP code returned for type DeleteCurrentAPISessionCertificateUnauthorized

View Source
const DeleteCurrentAPISessionOKCode int = 200

DeleteCurrentAPISessionOKCode is the HTTP code returned for type DeleteCurrentAPISessionOK

View Source
const DeleteCurrentAPISessionUnauthorizedCode int = 401

DeleteCurrentAPISessionUnauthorizedCode is the HTTP code returned for type DeleteCurrentAPISessionUnauthorized

View Source
const DetailCurrentAPISessionCertificateNotFoundCode int = 404

DetailCurrentAPISessionCertificateNotFoundCode is the HTTP code returned for type DetailCurrentAPISessionCertificateNotFound

View Source
const DetailCurrentAPISessionCertificateOKCode int = 200

DetailCurrentAPISessionCertificateOKCode is the HTTP code returned for type DetailCurrentAPISessionCertificateOK

View Source
const DetailCurrentAPISessionCertificateUnauthorizedCode int = 401

DetailCurrentAPISessionCertificateUnauthorizedCode is the HTTP code returned for type DetailCurrentAPISessionCertificateUnauthorized

View Source
const DetailCurrentIdentityAuthenticatorNotFoundCode int = 404

DetailCurrentIdentityAuthenticatorNotFoundCode is the HTTP code returned for type DetailCurrentIdentityAuthenticatorNotFound

View Source
const DetailCurrentIdentityAuthenticatorOKCode int = 200

DetailCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type DetailCurrentIdentityAuthenticatorOK

View Source
const DetailCurrentIdentityAuthenticatorUnauthorizedCode int = 401

DetailCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type DetailCurrentIdentityAuthenticatorUnauthorized

View Source
const ExtendCurrentIdentityAuthenticatorOKCode int = 200

ExtendCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type ExtendCurrentIdentityAuthenticatorOK

View Source
const ExtendCurrentIdentityAuthenticatorUnauthorizedCode int = 401

ExtendCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type ExtendCurrentIdentityAuthenticatorUnauthorized

View Source
const GetCurrentAPISessionOKCode int = 200

GetCurrentAPISessionOKCode is the HTTP code returned for type GetCurrentAPISessionOK

View Source
const GetCurrentAPISessionUnauthorizedCode int = 401

GetCurrentAPISessionUnauthorizedCode is the HTTP code returned for type GetCurrentAPISessionUnauthorized

View Source
const ListCurrentAPISessionCertificatesBadRequestCode int = 400

ListCurrentAPISessionCertificatesBadRequestCode is the HTTP code returned for type ListCurrentAPISessionCertificatesBadRequest

View Source
const ListCurrentAPISessionCertificatesOKCode int = 200

ListCurrentAPISessionCertificatesOKCode is the HTTP code returned for type ListCurrentAPISessionCertificatesOK

View Source
const ListCurrentAPISessionCertificatesUnauthorizedCode int = 401

ListCurrentAPISessionCertificatesUnauthorizedCode is the HTTP code returned for type ListCurrentAPISessionCertificatesUnauthorized

View Source
const ListCurrentIdentityAuthenticatorsBadRequestCode int = 400

ListCurrentIdentityAuthenticatorsBadRequestCode is the HTTP code returned for type ListCurrentIdentityAuthenticatorsBadRequest

View Source
const ListCurrentIdentityAuthenticatorsOKCode int = 200

ListCurrentIdentityAuthenticatorsOKCode is the HTTP code returned for type ListCurrentIdentityAuthenticatorsOK

View Source
const ListCurrentIdentityAuthenticatorsUnauthorizedCode int = 401

ListCurrentIdentityAuthenticatorsUnauthorizedCode is the HTTP code returned for type ListCurrentIdentityAuthenticatorsUnauthorized

View Source
const ListServiceUpdatesOKCode int = 200

ListServiceUpdatesOKCode is the HTTP code returned for type ListServiceUpdatesOK

View Source
const ListServiceUpdatesUnauthorizedCode int = 401

ListServiceUpdatesUnauthorizedCode is the HTTP code returned for type ListServiceUpdatesUnauthorized

View Source
const PatchCurrentIdentityAuthenticatorBadRequestCode int = 400

PatchCurrentIdentityAuthenticatorBadRequestCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorBadRequest

View Source
const PatchCurrentIdentityAuthenticatorNotFoundCode int = 404

PatchCurrentIdentityAuthenticatorNotFoundCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorNotFound

View Source
const PatchCurrentIdentityAuthenticatorOKCode int = 200

PatchCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorOK

View Source
const PatchCurrentIdentityAuthenticatorUnauthorizedCode int = 401

PatchCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type PatchCurrentIdentityAuthenticatorUnauthorized

View Source
const UpdateCurrentIdentityAuthenticatorBadRequestCode int = 400

UpdateCurrentIdentityAuthenticatorBadRequestCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorBadRequest

View Source
const UpdateCurrentIdentityAuthenticatorNotFoundCode int = 404

UpdateCurrentIdentityAuthenticatorNotFoundCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorNotFound

View Source
const UpdateCurrentIdentityAuthenticatorOKCode int = 200

UpdateCurrentIdentityAuthenticatorOKCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorOK

View Source
const UpdateCurrentIdentityAuthenticatorUnauthorizedCode int = 401

UpdateCurrentIdentityAuthenticatorUnauthorizedCode is the HTTP code returned for type UpdateCurrentIdentityAuthenticatorUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCurrentAPISessionCertificate

type CreateCurrentAPISessionCertificate struct {
	Context *middleware.Context
	Handler CreateCurrentAPISessionCertificateHandler
}
CreateCurrentAPISessionCertificate swagger:route POST /current-api-session/certificates Current API Session createCurrentApiSessionCertificate

Creates an ephemeral certificate for the current API Session

Creates an ephemeral certificate for the current API Session. This endpoint expects a PEM encoded CSRs to be provided for fulfillment as a property of a JSON payload. It is up to the client to manage the private key backing the CSR request.

func NewCreateCurrentAPISessionCertificate

func NewCreateCurrentAPISessionCertificate(ctx *middleware.Context, handler CreateCurrentAPISessionCertificateHandler) *CreateCurrentAPISessionCertificate

NewCreateCurrentAPISessionCertificate creates a new http.Handler for the create current Api session certificate operation

func (*CreateCurrentAPISessionCertificate) ServeHTTP

type CreateCurrentAPISessionCertificateBadRequest

type CreateCurrentAPISessionCertificateBadRequest struct {

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

CreateCurrentAPISessionCertificateBadRequest 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 createCurrentApiSessionCertificateBadRequest

func NewCreateCurrentAPISessionCertificateBadRequest

func NewCreateCurrentAPISessionCertificateBadRequest() *CreateCurrentAPISessionCertificateBadRequest

NewCreateCurrentAPISessionCertificateBadRequest creates CreateCurrentAPISessionCertificateBadRequest with default headers values

func (*CreateCurrentAPISessionCertificateBadRequest) SetPayload

SetPayload sets the payload to the create current Api session certificate bad request response

func (*CreateCurrentAPISessionCertificateBadRequest) WithPayload

WithPayload adds the payload to the create current Api session certificate bad request response

func (*CreateCurrentAPISessionCertificateBadRequest) WriteResponse

WriteResponse to the client

type CreateCurrentAPISessionCertificateCreated

type CreateCurrentAPISessionCertificateCreated struct {

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

CreateCurrentAPISessionCertificateCreated A response of a create API Session certificate

swagger:response createCurrentApiSessionCertificateCreated

func NewCreateCurrentAPISessionCertificateCreated

func NewCreateCurrentAPISessionCertificateCreated() *CreateCurrentAPISessionCertificateCreated

NewCreateCurrentAPISessionCertificateCreated creates CreateCurrentAPISessionCertificateCreated with default headers values

func (*CreateCurrentAPISessionCertificateCreated) SetPayload

SetPayload sets the payload to the create current Api session certificate created response

func (*CreateCurrentAPISessionCertificateCreated) WithPayload

WithPayload adds the payload to the create current Api session certificate created response

func (*CreateCurrentAPISessionCertificateCreated) WriteResponse

WriteResponse to the client

type CreateCurrentAPISessionCertificateHandler

type CreateCurrentAPISessionCertificateHandler interface {
	Handle(CreateCurrentAPISessionCertificateParams, interface{}) middleware.Responder
}

CreateCurrentAPISessionCertificateHandler interface for that can handle valid create current Api session certificate params

type CreateCurrentAPISessionCertificateHandlerFunc

type CreateCurrentAPISessionCertificateHandlerFunc func(CreateCurrentAPISessionCertificateParams, interface{}) middleware.Responder

CreateCurrentAPISessionCertificateHandlerFunc turns a function with the right signature into a create current Api session certificate handler

func (CreateCurrentAPISessionCertificateHandlerFunc) Handle

Handle executing the request and returning a response

type CreateCurrentAPISessionCertificateParams

type CreateCurrentAPISessionCertificateParams struct {

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

	/*The payload describing the CSR used to create a session certificate
	  Required: true
	  In: body
	*/
	SessionCertificate *rest_model.CurrentAPISessionCertificateCreate
}

CreateCurrentAPISessionCertificateParams contains all the bound params for the create current Api session certificate operation typically these are obtained from a http.Request

swagger:parameters createCurrentApiSessionCertificate

func NewCreateCurrentAPISessionCertificateParams

func NewCreateCurrentAPISessionCertificateParams() CreateCurrentAPISessionCertificateParams

NewCreateCurrentAPISessionCertificateParams creates a new CreateCurrentAPISessionCertificateParams object

There are no default values defined in the spec.

func (*CreateCurrentAPISessionCertificateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateCurrentAPISessionCertificateParams() beforehand.

type CreateCurrentAPISessionCertificateURL

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

CreateCurrentAPISessionCertificateURL generates an URL for the create current Api session certificate operation

func (*CreateCurrentAPISessionCertificateURL) Build

Build a url path and query string

func (*CreateCurrentAPISessionCertificateURL) BuildFull

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

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

func (*CreateCurrentAPISessionCertificateURL) Must

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

func (*CreateCurrentAPISessionCertificateURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CreateCurrentAPISessionCertificateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateCurrentAPISessionCertificateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateCurrentAPISessionCertificateUnauthorized

type CreateCurrentAPISessionCertificateUnauthorized struct {

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

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

swagger:response createCurrentApiSessionCertificateUnauthorized

func NewCreateCurrentAPISessionCertificateUnauthorized

func NewCreateCurrentAPISessionCertificateUnauthorized() *CreateCurrentAPISessionCertificateUnauthorized

NewCreateCurrentAPISessionCertificateUnauthorized creates CreateCurrentAPISessionCertificateUnauthorized with default headers values

func (*CreateCurrentAPISessionCertificateUnauthorized) SetPayload

SetPayload sets the payload to the create current Api session certificate unauthorized response

func (*CreateCurrentAPISessionCertificateUnauthorized) WithPayload

WithPayload adds the payload to the create current Api session certificate unauthorized response

func (*CreateCurrentAPISessionCertificateUnauthorized) WriteResponse

WriteResponse to the client

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

type DeleteCurrentAPISessionCertificate

type DeleteCurrentAPISessionCertificate struct {
	Context *middleware.Context
	Handler DeleteCurrentAPISessionCertificateHandler
}
DeleteCurrentAPISessionCertificate swagger:route DELETE /current-api-session/certificates/{id} Current API Session deleteCurrentApiSessionCertificate

Delete an ephemeral certificate

Delete an ephemeral certificateby id

func NewDeleteCurrentAPISessionCertificate

func NewDeleteCurrentAPISessionCertificate(ctx *middleware.Context, handler DeleteCurrentAPISessionCertificateHandler) *DeleteCurrentAPISessionCertificate

NewDeleteCurrentAPISessionCertificate creates a new http.Handler for the delete current Api session certificate operation

func (*DeleteCurrentAPISessionCertificate) ServeHTTP

type DeleteCurrentAPISessionCertificateBadRequest

type DeleteCurrentAPISessionCertificateBadRequest struct {

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

DeleteCurrentAPISessionCertificateBadRequest 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 deleteCurrentApiSessionCertificateBadRequest

func NewDeleteCurrentAPISessionCertificateBadRequest

func NewDeleteCurrentAPISessionCertificateBadRequest() *DeleteCurrentAPISessionCertificateBadRequest

NewDeleteCurrentAPISessionCertificateBadRequest creates DeleteCurrentAPISessionCertificateBadRequest with default headers values

func (*DeleteCurrentAPISessionCertificateBadRequest) SetPayload

SetPayload sets the payload to the delete current Api session certificate bad request response

func (*DeleteCurrentAPISessionCertificateBadRequest) WithPayload

WithPayload adds the payload to the delete current Api session certificate bad request response

func (*DeleteCurrentAPISessionCertificateBadRequest) WriteResponse

WriteResponse to the client

type DeleteCurrentAPISessionCertificateHandler

type DeleteCurrentAPISessionCertificateHandler interface {
	Handle(DeleteCurrentAPISessionCertificateParams, interface{}) middleware.Responder
}

DeleteCurrentAPISessionCertificateHandler interface for that can handle valid delete current Api session certificate params

type DeleteCurrentAPISessionCertificateHandlerFunc

type DeleteCurrentAPISessionCertificateHandlerFunc func(DeleteCurrentAPISessionCertificateParams, interface{}) middleware.Responder

DeleteCurrentAPISessionCertificateHandlerFunc turns a function with the right signature into a delete current Api session certificate handler

func (DeleteCurrentAPISessionCertificateHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteCurrentAPISessionCertificateOK

type DeleteCurrentAPISessionCertificateOK struct {

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

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

swagger:response deleteCurrentApiSessionCertificateOK

func NewDeleteCurrentAPISessionCertificateOK

func NewDeleteCurrentAPISessionCertificateOK() *DeleteCurrentAPISessionCertificateOK

NewDeleteCurrentAPISessionCertificateOK creates DeleteCurrentAPISessionCertificateOK with default headers values

func (*DeleteCurrentAPISessionCertificateOK) SetPayload

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

SetPayload sets the payload to the delete current Api session certificate o k response

func (*DeleteCurrentAPISessionCertificateOK) WithPayload

WithPayload adds the payload to the delete current Api session certificate o k response

func (*DeleteCurrentAPISessionCertificateOK) WriteResponse

WriteResponse to the client

type DeleteCurrentAPISessionCertificateParams

type DeleteCurrentAPISessionCertificateParams struct {

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

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

DeleteCurrentAPISessionCertificateParams contains all the bound params for the delete current Api session certificate operation typically these are obtained from a http.Request

swagger:parameters deleteCurrentApiSessionCertificate

func NewDeleteCurrentAPISessionCertificateParams

func NewDeleteCurrentAPISessionCertificateParams() DeleteCurrentAPISessionCertificateParams

NewDeleteCurrentAPISessionCertificateParams creates a new DeleteCurrentAPISessionCertificateParams object

There are no default values defined in the spec.

func (*DeleteCurrentAPISessionCertificateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteCurrentAPISessionCertificateParams() beforehand.

type DeleteCurrentAPISessionCertificateURL

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

DeleteCurrentAPISessionCertificateURL generates an URL for the delete current Api session certificate operation

func (*DeleteCurrentAPISessionCertificateURL) Build

Build a url path and query string

func (*DeleteCurrentAPISessionCertificateURL) BuildFull

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

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

func (*DeleteCurrentAPISessionCertificateURL) Must

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

func (*DeleteCurrentAPISessionCertificateURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DeleteCurrentAPISessionCertificateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteCurrentAPISessionCertificateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteCurrentAPISessionCertificateUnauthorized

type DeleteCurrentAPISessionCertificateUnauthorized struct {

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

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

swagger:response deleteCurrentApiSessionCertificateUnauthorized

func NewDeleteCurrentAPISessionCertificateUnauthorized

func NewDeleteCurrentAPISessionCertificateUnauthorized() *DeleteCurrentAPISessionCertificateUnauthorized

NewDeleteCurrentAPISessionCertificateUnauthorized creates DeleteCurrentAPISessionCertificateUnauthorized with default headers values

func (*DeleteCurrentAPISessionCertificateUnauthorized) SetPayload

SetPayload sets the payload to the delete current Api session certificate unauthorized response

func (*DeleteCurrentAPISessionCertificateUnauthorized) WithPayload

WithPayload adds the payload to the delete current Api session certificate unauthorized response

func (*DeleteCurrentAPISessionCertificateUnauthorized) WriteResponse

WriteResponse to the client

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

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

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

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

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

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

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 {

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

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

SetPayload sets the payload to the delete current Api session unauthorized response

func (*DeleteCurrentAPISessionUnauthorized) WithPayload

WithPayload adds the payload to the delete current Api session unauthorized response

func (*DeleteCurrentAPISessionUnauthorized) WriteResponse

WriteResponse to the client

type DetailCurrentAPISessionCertificate

type DetailCurrentAPISessionCertificate struct {
	Context *middleware.Context
	Handler DetailCurrentAPISessionCertificateHandler
}
DetailCurrentAPISessionCertificate swagger:route GET /current-api-session/certificates/{id} Current API Session detailCurrentApiSessionCertificate

Retrieves an ephemeral certificate

Retrieves a single ephemeral certificate by id

func NewDetailCurrentAPISessionCertificate

func NewDetailCurrentAPISessionCertificate(ctx *middleware.Context, handler DetailCurrentAPISessionCertificateHandler) *DetailCurrentAPISessionCertificate

NewDetailCurrentAPISessionCertificate creates a new http.Handler for the detail current Api session certificate operation

func (*DetailCurrentAPISessionCertificate) ServeHTTP

type DetailCurrentAPISessionCertificateHandler

type DetailCurrentAPISessionCertificateHandler interface {
	Handle(DetailCurrentAPISessionCertificateParams, interface{}) middleware.Responder
}

DetailCurrentAPISessionCertificateHandler interface for that can handle valid detail current Api session certificate params

type DetailCurrentAPISessionCertificateHandlerFunc

type DetailCurrentAPISessionCertificateHandlerFunc func(DetailCurrentAPISessionCertificateParams, interface{}) middleware.Responder

DetailCurrentAPISessionCertificateHandlerFunc turns a function with the right signature into a detail current Api session certificate handler

func (DetailCurrentAPISessionCertificateHandlerFunc) Handle

Handle executing the request and returning a response

type DetailCurrentAPISessionCertificateNotFound

type DetailCurrentAPISessionCertificateNotFound struct {

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

DetailCurrentAPISessionCertificateNotFound The requested resource does not exist

swagger:response detailCurrentApiSessionCertificateNotFound

func NewDetailCurrentAPISessionCertificateNotFound

func NewDetailCurrentAPISessionCertificateNotFound() *DetailCurrentAPISessionCertificateNotFound

NewDetailCurrentAPISessionCertificateNotFound creates DetailCurrentAPISessionCertificateNotFound with default headers values

func (*DetailCurrentAPISessionCertificateNotFound) SetPayload

SetPayload sets the payload to the detail current Api session certificate not found response

func (*DetailCurrentAPISessionCertificateNotFound) WithPayload

WithPayload adds the payload to the detail current Api session certificate not found response

func (*DetailCurrentAPISessionCertificateNotFound) WriteResponse

WriteResponse to the client

type DetailCurrentAPISessionCertificateOK

type DetailCurrentAPISessionCertificateOK struct {

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

DetailCurrentAPISessionCertificateOK A response containing a single API Session certificate

swagger:response detailCurrentApiSessionCertificateOK

func NewDetailCurrentAPISessionCertificateOK

func NewDetailCurrentAPISessionCertificateOK() *DetailCurrentAPISessionCertificateOK

NewDetailCurrentAPISessionCertificateOK creates DetailCurrentAPISessionCertificateOK with default headers values

func (*DetailCurrentAPISessionCertificateOK) SetPayload

SetPayload sets the payload to the detail current Api session certificate o k response

func (*DetailCurrentAPISessionCertificateOK) WithPayload

WithPayload adds the payload to the detail current Api session certificate o k response

func (*DetailCurrentAPISessionCertificateOK) WriteResponse

WriteResponse to the client

type DetailCurrentAPISessionCertificateParams

type DetailCurrentAPISessionCertificateParams struct {

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

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

DetailCurrentAPISessionCertificateParams contains all the bound params for the detail current Api session certificate operation typically these are obtained from a http.Request

swagger:parameters detailCurrentApiSessionCertificate

func NewDetailCurrentAPISessionCertificateParams

func NewDetailCurrentAPISessionCertificateParams() DetailCurrentAPISessionCertificateParams

NewDetailCurrentAPISessionCertificateParams creates a new DetailCurrentAPISessionCertificateParams object

There are no default values defined in the spec.

func (*DetailCurrentAPISessionCertificateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDetailCurrentAPISessionCertificateParams() beforehand.

type DetailCurrentAPISessionCertificateURL

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

DetailCurrentAPISessionCertificateURL generates an URL for the detail current Api session certificate operation

func (*DetailCurrentAPISessionCertificateURL) Build

Build a url path and query string

func (*DetailCurrentAPISessionCertificateURL) BuildFull

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

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

func (*DetailCurrentAPISessionCertificateURL) Must

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

func (*DetailCurrentAPISessionCertificateURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DetailCurrentAPISessionCertificateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DetailCurrentAPISessionCertificateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailCurrentAPISessionCertificateUnauthorized

type DetailCurrentAPISessionCertificateUnauthorized struct {

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

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

swagger:response detailCurrentApiSessionCertificateUnauthorized

func NewDetailCurrentAPISessionCertificateUnauthorized

func NewDetailCurrentAPISessionCertificateUnauthorized() *DetailCurrentAPISessionCertificateUnauthorized

NewDetailCurrentAPISessionCertificateUnauthorized creates DetailCurrentAPISessionCertificateUnauthorized with default headers values

func (*DetailCurrentAPISessionCertificateUnauthorized) SetPayload

SetPayload sets the payload to the detail current Api session certificate unauthorized response

func (*DetailCurrentAPISessionCertificateUnauthorized) WithPayload

WithPayload adds the payload to the detail current Api session certificate unauthorized response

func (*DetailCurrentAPISessionCertificateUnauthorized) WriteResponse

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

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

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

SetPayload sets the payload to the detail current identity authenticator not found response

func (*DetailCurrentIdentityAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the detail current identity authenticator not found response

func (*DetailCurrentIdentityAuthenticatorNotFound) WriteResponse

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

SetPayload sets the payload to the detail current identity authenticator o k response

func (*DetailCurrentIdentityAuthenticatorOK) WithPayload

WithPayload adds the payload to the detail current identity authenticator o k response

func (*DetailCurrentIdentityAuthenticatorOK) WriteResponse

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

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

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

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

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 {

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

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

SetPayload sets the payload to the detail current identity authenticator unauthorized response

func (*DetailCurrentIdentityAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the detail current identity authenticator unauthorized response

func (*DetailCurrentIdentityAuthenticatorUnauthorized) WriteResponse

WriteResponse to the client

type ExtendCurrentIdentityAuthenticator added in v0.20.117

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

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. After completion any new connections must be made with certificates returned from a 200 OK response. The previous client certificate is rendered invalid for use with the controller even if it has not expired. This request must be made using the existing, valid, client certificate.

func NewExtendCurrentIdentityAuthenticator added in v0.20.117

func NewExtendCurrentIdentityAuthenticator(ctx *middleware.Context, handler ExtendCurrentIdentityAuthenticatorHandler) *ExtendCurrentIdentityAuthenticator

NewExtendCurrentIdentityAuthenticator creates a new http.Handler for the extend current identity authenticator operation

func (*ExtendCurrentIdentityAuthenticator) ServeHTTP added in v0.20.117

type ExtendCurrentIdentityAuthenticatorHandler added in v0.20.117

type ExtendCurrentIdentityAuthenticatorHandler interface {
	Handle(ExtendCurrentIdentityAuthenticatorParams, interface{}) middleware.Responder
}

ExtendCurrentIdentityAuthenticatorHandler interface for that can handle valid extend current identity authenticator params

type ExtendCurrentIdentityAuthenticatorHandlerFunc added in v0.20.117

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 added in v0.20.117

Handle executing the request and returning a response

type ExtendCurrentIdentityAuthenticatorOK added in v0.20.117

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 added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorOK() *ExtendCurrentIdentityAuthenticatorOK

NewExtendCurrentIdentityAuthenticatorOK creates ExtendCurrentIdentityAuthenticatorOK with default headers values

func (*ExtendCurrentIdentityAuthenticatorOK) SetPayload added in v0.20.117

SetPayload sets the payload to the extend current identity authenticator o k response

func (*ExtendCurrentIdentityAuthenticatorOK) WithPayload added in v0.20.117

WithPayload adds the payload to the extend current identity authenticator o k response

func (*ExtendCurrentIdentityAuthenticatorOK) WriteResponse added in v0.20.117

WriteResponse to the client

type ExtendCurrentIdentityAuthenticatorParams added in v0.20.117

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 added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorParams() ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParams creates a new ExtendCurrentIdentityAuthenticatorParams object

There are no default values defined in the spec.

func (*ExtendCurrentIdentityAuthenticatorParams) BindRequest added in v0.20.117

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 added in v0.20.117

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

ExtendCurrentIdentityAuthenticatorURL generates an URL for the extend current identity authenticator operation

func (*ExtendCurrentIdentityAuthenticatorURL) Build added in v0.20.117

Build a url path and query string

func (*ExtendCurrentIdentityAuthenticatorURL) BuildFull added in v0.20.117

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 added in v0.20.117

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

func (*ExtendCurrentIdentityAuthenticatorURL) SetBasePath added in v0.20.117

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 added in v0.20.117

String returns the string representation of the path with query string

func (*ExtendCurrentIdentityAuthenticatorURL) StringFull added in v0.20.117

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

StringFull returns the string representation of a complete url

func (*ExtendCurrentIdentityAuthenticatorURL) WithBasePath added in v0.20.117

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 added in v0.20.117

type ExtendCurrentIdentityAuthenticatorUnauthorized struct {

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

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

swagger:response extendCurrentIdentityAuthenticatorUnauthorized

func NewExtendCurrentIdentityAuthenticatorUnauthorized added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorUnauthorized() *ExtendCurrentIdentityAuthenticatorUnauthorized

NewExtendCurrentIdentityAuthenticatorUnauthorized creates ExtendCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) SetPayload added in v0.20.117

SetPayload sets the payload to the extend current identity authenticator unauthorized response

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) WithPayload added in v0.20.117

WithPayload adds the payload to the extend current identity authenticator unauthorized response

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) WriteResponse added in v0.20.117

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

SetPayload sets the payload to the get current Api session o k response

func (*GetCurrentAPISessionOK) WithPayload

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

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

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

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

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 {

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

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

SetPayload sets the payload to the get current Api session unauthorized response

func (*GetCurrentAPISessionUnauthorized) WithPayload

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 ListCurrentAPISessionCertificates

type ListCurrentAPISessionCertificates struct {
	Context *middleware.Context
	Handler ListCurrentAPISessionCertificatesHandler
}
ListCurrentAPISessionCertificates swagger:route GET /current-api-session/certificates Current API Session listCurrentApiSessionCertificates

List the ephemeral certificates available for the current API Session

Retrieves a list of certificate resources for the current API session; supports filtering, sorting, and pagination

func NewListCurrentAPISessionCertificates

func NewListCurrentAPISessionCertificates(ctx *middleware.Context, handler ListCurrentAPISessionCertificatesHandler) *ListCurrentAPISessionCertificates

NewListCurrentAPISessionCertificates creates a new http.Handler for the list current Api session certificates operation

func (*ListCurrentAPISessionCertificates) ServeHTTP

type ListCurrentAPISessionCertificatesBadRequest added in v0.19.176

type ListCurrentAPISessionCertificatesBadRequest struct {

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

ListCurrentAPISessionCertificatesBadRequest 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 listCurrentApiSessionCertificatesBadRequest

func NewListCurrentAPISessionCertificatesBadRequest added in v0.19.176

func NewListCurrentAPISessionCertificatesBadRequest() *ListCurrentAPISessionCertificatesBadRequest

NewListCurrentAPISessionCertificatesBadRequest creates ListCurrentAPISessionCertificatesBadRequest with default headers values

func (*ListCurrentAPISessionCertificatesBadRequest) SetPayload added in v0.19.176

SetPayload sets the payload to the list current Api session certificates bad request response

func (*ListCurrentAPISessionCertificatesBadRequest) WithPayload added in v0.19.176

WithPayload adds the payload to the list current Api session certificates bad request response

func (*ListCurrentAPISessionCertificatesBadRequest) WriteResponse added in v0.19.176

WriteResponse to the client

type ListCurrentAPISessionCertificatesHandler

type ListCurrentAPISessionCertificatesHandler interface {
	Handle(ListCurrentAPISessionCertificatesParams, interface{}) middleware.Responder
}

ListCurrentAPISessionCertificatesHandler interface for that can handle valid list current Api session certificates params

type ListCurrentAPISessionCertificatesHandlerFunc

type ListCurrentAPISessionCertificatesHandlerFunc func(ListCurrentAPISessionCertificatesParams, interface{}) middleware.Responder

ListCurrentAPISessionCertificatesHandlerFunc turns a function with the right signature into a list current Api session certificates handler

func (ListCurrentAPISessionCertificatesHandlerFunc) Handle

Handle executing the request and returning a response

type ListCurrentAPISessionCertificatesOK

type ListCurrentAPISessionCertificatesOK struct {

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

ListCurrentAPISessionCertificatesOK A list of the current API Session's certificate

swagger:response listCurrentApiSessionCertificatesOK

func NewListCurrentAPISessionCertificatesOK

func NewListCurrentAPISessionCertificatesOK() *ListCurrentAPISessionCertificatesOK

NewListCurrentAPISessionCertificatesOK creates ListCurrentAPISessionCertificatesOK with default headers values

func (*ListCurrentAPISessionCertificatesOK) SetPayload

SetPayload sets the payload to the list current Api session certificates o k response

func (*ListCurrentAPISessionCertificatesOK) WithPayload

WithPayload adds the payload to the list current Api session certificates o k response

func (*ListCurrentAPISessionCertificatesOK) WriteResponse

WriteResponse to the client

type ListCurrentAPISessionCertificatesParams

type ListCurrentAPISessionCertificatesParams struct {

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

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

ListCurrentAPISessionCertificatesParams contains all the bound params for the list current Api session certificates operation typically these are obtained from a http.Request

swagger:parameters listCurrentApiSessionCertificates

func NewListCurrentAPISessionCertificatesParams

func NewListCurrentAPISessionCertificatesParams() ListCurrentAPISessionCertificatesParams

NewListCurrentAPISessionCertificatesParams creates a new ListCurrentAPISessionCertificatesParams object

There are no default values defined in the spec.

func (*ListCurrentAPISessionCertificatesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListCurrentAPISessionCertificatesParams() beforehand.

type ListCurrentAPISessionCertificatesURL

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

ListCurrentAPISessionCertificatesURL generates an URL for the list current Api session certificates operation

func (*ListCurrentAPISessionCertificatesURL) Build

Build a url path and query string

func (*ListCurrentAPISessionCertificatesURL) BuildFull

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

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

func (*ListCurrentAPISessionCertificatesURL) Must

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

func (*ListCurrentAPISessionCertificatesURL) SetBasePath

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

String returns the string representation of the path with query string

func (*ListCurrentAPISessionCertificatesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListCurrentAPISessionCertificatesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListCurrentAPISessionCertificatesUnauthorized added in v0.19.173

type ListCurrentAPISessionCertificatesUnauthorized struct {

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

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

swagger:response listCurrentApiSessionCertificatesUnauthorized

func NewListCurrentAPISessionCertificatesUnauthorized added in v0.19.173

func NewListCurrentAPISessionCertificatesUnauthorized() *ListCurrentAPISessionCertificatesUnauthorized

NewListCurrentAPISessionCertificatesUnauthorized creates ListCurrentAPISessionCertificatesUnauthorized with default headers values

func (*ListCurrentAPISessionCertificatesUnauthorized) SetPayload added in v0.19.173

SetPayload sets the payload to the list current Api session certificates unauthorized response

func (*ListCurrentAPISessionCertificatesUnauthorized) WithPayload added in v0.19.173

WithPayload adds the payload to the list current Api session certificates unauthorized response

func (*ListCurrentAPISessionCertificatesUnauthorized) WriteResponse added in v0.19.173

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

type ListCurrentIdentityAuthenticatorsBadRequest added in v0.19.176

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 added in v0.19.176

func NewListCurrentIdentityAuthenticatorsBadRequest() *ListCurrentIdentityAuthenticatorsBadRequest

NewListCurrentIdentityAuthenticatorsBadRequest creates ListCurrentIdentityAuthenticatorsBadRequest with default headers values

func (*ListCurrentIdentityAuthenticatorsBadRequest) SetPayload added in v0.19.176

SetPayload sets the payload to the list current identity authenticators bad request response

func (*ListCurrentIdentityAuthenticatorsBadRequest) WithPayload added in v0.19.176

WithPayload adds the payload to the list current identity authenticators bad request response

func (*ListCurrentIdentityAuthenticatorsBadRequest) WriteResponse added in v0.19.176

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

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

SetPayload sets the payload to the list current identity authenticators o k response

func (*ListCurrentIdentityAuthenticatorsOK) WithPayload

WithPayload adds the payload to the list current identity authenticators o k response

func (*ListCurrentIdentityAuthenticatorsOK) WriteResponse

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

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

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

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

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 {

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

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

SetPayload sets the payload to the list current identity authenticators unauthorized response

func (*ListCurrentIdentityAuthenticatorsUnauthorized) WithPayload

WithPayload adds the payload to the list current identity authenticators unauthorized response

func (*ListCurrentIdentityAuthenticatorsUnauthorized) WriteResponse

WriteResponse to the client

type ListServiceUpdates

type ListServiceUpdates struct {
	Context *middleware.Context
	Handler ListServiceUpdatesHandler
}
ListServiceUpdates swagger:route GET /current-api-session/service-updates Current API Session Services listServiceUpdates

Returns data indicating whether a client should updates it service list

Retrieves data indicating the last time data relevant to this API Session was altered that would necessitate service refreshes.

func NewListServiceUpdates

func NewListServiceUpdates(ctx *middleware.Context, handler ListServiceUpdatesHandler) *ListServiceUpdates

NewListServiceUpdates creates a new http.Handler for the list service updates operation

func (*ListServiceUpdates) ServeHTTP

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

type ListServiceUpdatesHandler

type ListServiceUpdatesHandler interface {
	Handle(ListServiceUpdatesParams, interface{}) middleware.Responder
}

ListServiceUpdatesHandler interface for that can handle valid list service updates params

type ListServiceUpdatesHandlerFunc

type ListServiceUpdatesHandlerFunc func(ListServiceUpdatesParams, interface{}) middleware.Responder

ListServiceUpdatesHandlerFunc turns a function with the right signature into a list service updates handler

func (ListServiceUpdatesHandlerFunc) Handle

func (fn ListServiceUpdatesHandlerFunc) Handle(params ListServiceUpdatesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListServiceUpdatesOK

type ListServiceUpdatesOK struct {

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

ListServiceUpdatesOK Data indicating necessary service updates

swagger:response listServiceUpdatesOK

func NewListServiceUpdatesOK

func NewListServiceUpdatesOK() *ListServiceUpdatesOK

NewListServiceUpdatesOK creates ListServiceUpdatesOK with default headers values

func (*ListServiceUpdatesOK) SetPayload

SetPayload sets the payload to the list service updates o k response

func (*ListServiceUpdatesOK) WithPayload

WithPayload adds the payload to the list service updates o k response

func (*ListServiceUpdatesOK) WriteResponse

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

WriteResponse to the client

type ListServiceUpdatesParams

type ListServiceUpdatesParams struct {

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

ListServiceUpdatesParams contains all the bound params for the list service updates operation typically these are obtained from a http.Request

swagger:parameters listServiceUpdates

func NewListServiceUpdatesParams

func NewListServiceUpdatesParams() ListServiceUpdatesParams

NewListServiceUpdatesParams creates a new ListServiceUpdatesParams object

There are no default values defined in the spec.

func (*ListServiceUpdatesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListServiceUpdatesParams() beforehand.

type ListServiceUpdatesURL

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

ListServiceUpdatesURL generates an URL for the list service updates operation

func (*ListServiceUpdatesURL) Build

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

Build a url path and query string

func (*ListServiceUpdatesURL) BuildFull

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

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

func (*ListServiceUpdatesURL) Must

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

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

func (*ListServiceUpdatesURL) SetBasePath

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

func (o *ListServiceUpdatesURL) String() string

String returns the string representation of the path with query string

func (*ListServiceUpdatesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListServiceUpdatesURL) WithBasePath

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

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 ListServiceUpdatesUnauthorized

type ListServiceUpdatesUnauthorized struct {

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

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

swagger:response listServiceUpdatesUnauthorized

func NewListServiceUpdatesUnauthorized

func NewListServiceUpdatesUnauthorized() *ListServiceUpdatesUnauthorized

NewListServiceUpdatesUnauthorized creates ListServiceUpdatesUnauthorized with default headers values

func (*ListServiceUpdatesUnauthorized) SetPayload

SetPayload sets the payload to the list service updates unauthorized response

func (*ListServiceUpdatesUnauthorized) WithPayload

WithPayload adds the payload to the list service updates unauthorized response

func (*ListServiceUpdatesUnauthorized) WriteResponse

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

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

SetPayload sets the payload to the patch current identity authenticator bad request response

func (*PatchCurrentIdentityAuthenticatorBadRequest) WithPayload

WithPayload adds the payload to the patch current identity authenticator bad request response

func (*PatchCurrentIdentityAuthenticatorBadRequest) WriteResponse

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

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

SetPayload sets the payload to the patch current identity authenticator not found response

func (*PatchCurrentIdentityAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the patch current identity authenticator not found response

func (*PatchCurrentIdentityAuthenticatorNotFound) WriteResponse

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

WithPayload adds the payload to the patch current identity authenticator o k response

func (*PatchCurrentIdentityAuthenticatorOK) WriteResponse

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

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

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

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

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 {

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

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

SetPayload sets the payload to the patch current identity authenticator unauthorized response

func (*PatchCurrentIdentityAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the patch current identity authenticator unauthorized response

func (*PatchCurrentIdentityAuthenticatorUnauthorized) WriteResponse

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

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

SetPayload sets the payload to the update current identity authenticator bad request response

func (*UpdateCurrentIdentityAuthenticatorBadRequest) WithPayload

WithPayload adds the payload to the update current identity authenticator bad request response

func (*UpdateCurrentIdentityAuthenticatorBadRequest) WriteResponse

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

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

SetPayload sets the payload to the update current identity authenticator not found response

func (*UpdateCurrentIdentityAuthenticatorNotFound) WithPayload

WithPayload adds the payload to the update current identity authenticator not found response

func (*UpdateCurrentIdentityAuthenticatorNotFound) WriteResponse

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

WithPayload adds the payload to the update current identity authenticator o k response

func (*UpdateCurrentIdentityAuthenticatorOK) WriteResponse

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

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

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

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

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 {

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

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

SetPayload sets the payload to the update current identity authenticator unauthorized response

func (*UpdateCurrentIdentityAuthenticatorUnauthorized) WithPayload

WithPayload adds the payload to the update current identity authenticator unauthorized response

func (*UpdateCurrentIdentityAuthenticatorUnauthorized) WriteResponse

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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