current_api_session

package
v0.26.18 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for current api session API

func (*Client) DeleteCurrentAPISession

func (a *Client) DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionOK, error)

DeleteCurrentAPISession logouts

Terminates the current API session

func (*Client) DetailCurrentIdentityAuthenticator

func (a *Client) DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentIdentityAuthenticatorOK, error)

DetailCurrentIdentityAuthenticator retrieves an authenticator for the current identity

Retrieves a single authenticator by id. Will only show authenticators assigned to the API session's identity.

func (*Client) ExtendCurrentIdentityAuthenticator

func (a *Client) ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendCurrentIdentityAuthenticatorOK, error)
ExtendCurrentIdentityAuthenticator allows the current identity to recieve a new certificate associated with a certificate based authenticator

This endpoint only functions for certificates issued by the controller. 3rd party certificates are not handled.

Allows an identity to extend its certificate's expiration date by using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation. The response from this endpoint is a new client certificate which the client must be verified via the /authenticators/{id}/extend-verify endpoint. After verification is completion any new connections must be made with new certificate. Prior to verification the old client certificate remains active.

func (*Client) ExtendVerifyCurrentIdentityAuthenticator

ExtendVerifyCurrentIdentityAuthenticator allows the current identity to validate reciept of a new client certificate

After submitting a CSR for a new client certificate the resulting public certificate must be re-submitted to this endpoint to verify receipt.

After receipt, the new client certificate must be used for new authentication requests.

func (*Client) GetCurrentAPISession

func (a *Client) GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentAPISessionOK, error)

GetCurrentAPISession returns the current API session

Retrieves the API session that was used to issue the current request

func (*Client) ListCurrentIdentityAuthenticators

func (a *Client) ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, error)

ListCurrentIdentityAuthenticators lists authenticators for the current identity

Retrieves a list of authenticators assigned to the current API session's identity; supports filtering, sorting, and pagination.

func (*Client) PatchCurrentIdentityAuthenticator

func (a *Client) PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCurrentIdentityAuthenticatorOK, error)
PatchCurrentIdentityAuthenticator updates 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 (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCurrentIdentityAuthenticator

func (a *Client) UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentIdentityAuthenticatorOK, error)
UpdateCurrentIdentityAuthenticator updates 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.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionOK, error)

	DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentIdentityAuthenticatorOK, error)

	ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendCurrentIdentityAuthenticatorOK, error)

	ExtendVerifyCurrentIdentityAuthenticator(params *ExtendVerifyCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendVerifyCurrentIdentityAuthenticatorOK, error)

	GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentAPISessionOK, error)

	ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, error)

	PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCurrentIdentityAuthenticatorOK, error)

	UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentIdentityAuthenticatorOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new current api session API client.

type DeleteCurrentAPISessionOK

type DeleteCurrentAPISessionOK struct {
	Payload *rest_model.Empty
}
DeleteCurrentAPISessionOK describes a response with status code 200, with default header values.

Base empty response

func NewDeleteCurrentAPISessionOK

func NewDeleteCurrentAPISessionOK() *DeleteCurrentAPISessionOK

NewDeleteCurrentAPISessionOK creates a DeleteCurrentAPISessionOK with default headers values

func (*DeleteCurrentAPISessionOK) Error

func (o *DeleteCurrentAPISessionOK) Error() string

func (*DeleteCurrentAPISessionOK) GetPayload

func (o *DeleteCurrentAPISessionOK) GetPayload() *rest_model.Empty

type DeleteCurrentAPISessionParams

type DeleteCurrentAPISessionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteCurrentAPISessionParams contains all the parameters to send to the API endpoint

for the delete current API session operation.

Typically these are written to a http.Request.

func NewDeleteCurrentAPISessionParams

func NewDeleteCurrentAPISessionParams() *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParams creates a new DeleteCurrentAPISessionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteCurrentAPISessionParamsWithContext

func NewDeleteCurrentAPISessionParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParamsWithContext creates a new DeleteCurrentAPISessionParams object with the ability to set a context for a request.

func NewDeleteCurrentAPISessionParamsWithHTTPClient

func NewDeleteCurrentAPISessionParamsWithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParamsWithHTTPClient creates a new DeleteCurrentAPISessionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCurrentAPISessionParamsWithTimeout

func NewDeleteCurrentAPISessionParamsWithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParamsWithTimeout creates a new DeleteCurrentAPISessionParams object with the ability to set a timeout on a request.

func (*DeleteCurrentAPISessionParams) SetContext

func (o *DeleteCurrentAPISessionParams) SetContext(ctx context.Context)

SetContext adds the context to the delete current API session params

func (*DeleteCurrentAPISessionParams) SetDefaults

func (o *DeleteCurrentAPISessionParams) SetDefaults()

SetDefaults hydrates default values in the delete current API session params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCurrentAPISessionParams) SetHTTPClient

func (o *DeleteCurrentAPISessionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete current API session params

func (*DeleteCurrentAPISessionParams) SetTimeout

func (o *DeleteCurrentAPISessionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete current API session params

func (*DeleteCurrentAPISessionParams) WithContext

WithContext adds the context to the delete current API session params

func (*DeleteCurrentAPISessionParams) WithDefaults

WithDefaults hydrates default values in the delete current API session params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCurrentAPISessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete current API session params

func (*DeleteCurrentAPISessionParams) WithTimeout

WithTimeout adds the timeout to the delete current API session params

func (*DeleteCurrentAPISessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCurrentAPISessionReader

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

DeleteCurrentAPISessionReader is a Reader for the DeleteCurrentAPISession structure.

func (*DeleteCurrentAPISessionReader) ReadResponse

func (o *DeleteCurrentAPISessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteCurrentAPISessionUnauthorized

type DeleteCurrentAPISessionUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteCurrentAPISessionUnauthorized describes a response with status code 401, with default header values.

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

func NewDeleteCurrentAPISessionUnauthorized

func NewDeleteCurrentAPISessionUnauthorized() *DeleteCurrentAPISessionUnauthorized

NewDeleteCurrentAPISessionUnauthorized creates a DeleteCurrentAPISessionUnauthorized with default headers values

func (*DeleteCurrentAPISessionUnauthorized) Error

func (*DeleteCurrentAPISessionUnauthorized) GetPayload

type DetailCurrentIdentityAuthenticatorNotFound

type DetailCurrentIdentityAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailCurrentIdentityAuthenticatorNotFound

func NewDetailCurrentIdentityAuthenticatorNotFound() *DetailCurrentIdentityAuthenticatorNotFound

NewDetailCurrentIdentityAuthenticatorNotFound creates a DetailCurrentIdentityAuthenticatorNotFound with default headers values

func (*DetailCurrentIdentityAuthenticatorNotFound) Error

func (*DetailCurrentIdentityAuthenticatorNotFound) GetPayload

type DetailCurrentIdentityAuthenticatorOK

type DetailCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.DetailAuthenticatorEnvelope
}
DetailCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

A singular authenticator resource

func NewDetailCurrentIdentityAuthenticatorOK

func NewDetailCurrentIdentityAuthenticatorOK() *DetailCurrentIdentityAuthenticatorOK

NewDetailCurrentIdentityAuthenticatorOK creates a DetailCurrentIdentityAuthenticatorOK with default headers values

func (*DetailCurrentIdentityAuthenticatorOK) Error

func (*DetailCurrentIdentityAuthenticatorOK) GetPayload

type DetailCurrentIdentityAuthenticatorParams

type DetailCurrentIdentityAuthenticatorParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DetailCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the detail current identity authenticator operation.

Typically these are written to a http.Request.

func NewDetailCurrentIdentityAuthenticatorParams

func NewDetailCurrentIdentityAuthenticatorParams() *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParams creates a new DetailCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDetailCurrentIdentityAuthenticatorParamsWithContext

func NewDetailCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParamsWithContext creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout

func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParamsWithTimeout creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*DetailCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) SetDefaults

SetDefaults hydrates default values in the detail current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*DetailCurrentIdentityAuthenticatorParams) SetHTTPClient

func (o *DetailCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) SetTimeout

SetTimeout adds the timeout to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the detail current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*DetailCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailCurrentIdentityAuthenticatorReader

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

DetailCurrentIdentityAuthenticatorReader is a Reader for the DetailCurrentIdentityAuthenticator structure.

func (*DetailCurrentIdentityAuthenticatorReader) ReadResponse

func (o *DetailCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DetailCurrentIdentityAuthenticatorUnauthorized

type DetailCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

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

func NewDetailCurrentIdentityAuthenticatorUnauthorized

func NewDetailCurrentIdentityAuthenticatorUnauthorized() *DetailCurrentIdentityAuthenticatorUnauthorized

NewDetailCurrentIdentityAuthenticatorUnauthorized creates a DetailCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*DetailCurrentIdentityAuthenticatorUnauthorized) Error

func (*DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload

type ExtendCurrentIdentityAuthenticatorOK

type ExtendCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.IdentityExtendEnrollmentEnvelope
}
ExtendCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

A response containg the identity's new certificate

func NewExtendCurrentIdentityAuthenticatorOK

func NewExtendCurrentIdentityAuthenticatorOK() *ExtendCurrentIdentityAuthenticatorOK

NewExtendCurrentIdentityAuthenticatorOK creates a ExtendCurrentIdentityAuthenticatorOK with default headers values

func (*ExtendCurrentIdentityAuthenticatorOK) Error

func (*ExtendCurrentIdentityAuthenticatorOK) GetPayload

type ExtendCurrentIdentityAuthenticatorParams

type ExtendCurrentIdentityAuthenticatorParams struct {

	// Extend.
	Extend *rest_model.IdentityExtendEnrollmentRequest

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExtendCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the extend current identity authenticator operation.

Typically these are written to a http.Request.

func NewExtendCurrentIdentityAuthenticatorParams

func NewExtendCurrentIdentityAuthenticatorParams() *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParams creates a new ExtendCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExtendCurrentIdentityAuthenticatorParamsWithContext

func NewExtendCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParamsWithContext creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout

func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParamsWithTimeout creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*ExtendCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetDefaults

SetDefaults hydrates default values in the extend current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*ExtendCurrentIdentityAuthenticatorParams) SetExtend

SetExtend adds the extend to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetHTTPClient

func (o *ExtendCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetTimeout

SetTimeout adds the timeout to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the extend current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*ExtendCurrentIdentityAuthenticatorParams) WithExtend

WithExtend adds the extend to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExtendCurrentIdentityAuthenticatorReader

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

ExtendCurrentIdentityAuthenticatorReader is a Reader for the ExtendCurrentIdentityAuthenticator structure.

func (*ExtendCurrentIdentityAuthenticatorReader) ReadResponse

func (o *ExtendCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExtendCurrentIdentityAuthenticatorUnauthorized

type ExtendCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ExtendCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

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

func NewExtendCurrentIdentityAuthenticatorUnauthorized

func NewExtendCurrentIdentityAuthenticatorUnauthorized() *ExtendCurrentIdentityAuthenticatorUnauthorized

NewExtendCurrentIdentityAuthenticatorUnauthorized creates a ExtendCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) Error

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) GetPayload

type ExtendVerifyCurrentIdentityAuthenticatorOK

type ExtendVerifyCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.Empty
}
ExtendVerifyCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

Base empty response

func NewExtendVerifyCurrentIdentityAuthenticatorOK

func NewExtendVerifyCurrentIdentityAuthenticatorOK() *ExtendVerifyCurrentIdentityAuthenticatorOK

NewExtendVerifyCurrentIdentityAuthenticatorOK creates a ExtendVerifyCurrentIdentityAuthenticatorOK with default headers values

func (*ExtendVerifyCurrentIdentityAuthenticatorOK) Error

func (*ExtendVerifyCurrentIdentityAuthenticatorOK) GetPayload

type ExtendVerifyCurrentIdentityAuthenticatorParams

type ExtendVerifyCurrentIdentityAuthenticatorParams struct {

	// Extend.
	Extend *rest_model.IdentityExtendValidateEnrollmentRequest

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExtendVerifyCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the extend verify current identity authenticator operation.

Typically these are written to a http.Request.

func NewExtendVerifyCurrentIdentityAuthenticatorParams

func NewExtendVerifyCurrentIdentityAuthenticatorParams() *ExtendVerifyCurrentIdentityAuthenticatorParams

NewExtendVerifyCurrentIdentityAuthenticatorParams creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext

func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendVerifyCurrentIdentityAuthenticatorParams

NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendVerifyCurrentIdentityAuthenticatorParams

NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout

func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendVerifyCurrentIdentityAuthenticatorParams

NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetDefaults

SetDefaults hydrates default values in the extend verify current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetExtend

SetExtend adds the extend to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetTimeout

SetTimeout adds the timeout to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the extend verify current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithExtend

WithExtend adds the extend to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the extend verify current identity authenticator params

func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExtendVerifyCurrentIdentityAuthenticatorReader

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

ExtendVerifyCurrentIdentityAuthenticatorReader is a Reader for the ExtendVerifyCurrentIdentityAuthenticator structure.

func (*ExtendVerifyCurrentIdentityAuthenticatorReader) ReadResponse

func (o *ExtendVerifyCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized

type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ExtendVerifyCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

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

func NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized

func NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized() *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized

NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized creates a ExtendVerifyCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Error

func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) GetPayload

type GetCurrentAPISessionOK

type GetCurrentAPISessionOK struct {
	Payload *rest_model.CurrentAPISessionDetailEnvelope
}
GetCurrentAPISessionOK describes a response with status code 200, with default header values.

The API session associated with the session used to issue the request

func NewGetCurrentAPISessionOK

func NewGetCurrentAPISessionOK() *GetCurrentAPISessionOK

NewGetCurrentAPISessionOK creates a GetCurrentAPISessionOK with default headers values

func (*GetCurrentAPISessionOK) Error

func (o *GetCurrentAPISessionOK) Error() string

func (*GetCurrentAPISessionOK) GetPayload

type GetCurrentAPISessionParams

type GetCurrentAPISessionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentAPISessionParams contains all the parameters to send to the API endpoint

for the get current API session operation.

Typically these are written to a http.Request.

func NewGetCurrentAPISessionParams

func NewGetCurrentAPISessionParams() *GetCurrentAPISessionParams

NewGetCurrentAPISessionParams creates a new GetCurrentAPISessionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCurrentAPISessionParamsWithContext

func NewGetCurrentAPISessionParamsWithContext(ctx context.Context) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithContext creates a new GetCurrentAPISessionParams object with the ability to set a context for a request.

func NewGetCurrentAPISessionParamsWithHTTPClient

func NewGetCurrentAPISessionParamsWithHTTPClient(client *http.Client) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithHTTPClient creates a new GetCurrentAPISessionParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentAPISessionParamsWithTimeout

func NewGetCurrentAPISessionParamsWithTimeout(timeout time.Duration) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithTimeout creates a new GetCurrentAPISessionParams object with the ability to set a timeout on a request.

func (*GetCurrentAPISessionParams) SetContext

func (o *GetCurrentAPISessionParams) SetContext(ctx context.Context)

SetContext adds the context to the get current API session params

func (*GetCurrentAPISessionParams) SetDefaults

func (o *GetCurrentAPISessionParams) SetDefaults()

SetDefaults hydrates default values in the get current API session params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentAPISessionParams) SetHTTPClient

func (o *GetCurrentAPISessionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current API session params

func (*GetCurrentAPISessionParams) SetTimeout

func (o *GetCurrentAPISessionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current API session params

func (*GetCurrentAPISessionParams) WithContext

WithContext adds the context to the get current API session params

func (*GetCurrentAPISessionParams) WithDefaults

WithDefaults hydrates default values in the get current API session params (not the query body).

All values with no default are reset to their zero value.

func (*GetCurrentAPISessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current API session params

func (*GetCurrentAPISessionParams) WithTimeout

WithTimeout adds the timeout to the get current API session params

func (*GetCurrentAPISessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentAPISessionReader

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

GetCurrentAPISessionReader is a Reader for the GetCurrentAPISession structure.

func (*GetCurrentAPISessionReader) ReadResponse

func (o *GetCurrentAPISessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentAPISessionUnauthorized

type GetCurrentAPISessionUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
GetCurrentAPISessionUnauthorized describes a response with status code 401, with default header values.

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

func NewGetCurrentAPISessionUnauthorized

func NewGetCurrentAPISessionUnauthorized() *GetCurrentAPISessionUnauthorized

NewGetCurrentAPISessionUnauthorized creates a GetCurrentAPISessionUnauthorized with default headers values

func (*GetCurrentAPISessionUnauthorized) Error

func (*GetCurrentAPISessionUnauthorized) GetPayload

type ListCurrentIdentityAuthenticatorsBadRequest

type ListCurrentIdentityAuthenticatorsBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCurrentIdentityAuthenticatorsBadRequest describes a response with status code 400, with default header values.

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

func NewListCurrentIdentityAuthenticatorsBadRequest

func NewListCurrentIdentityAuthenticatorsBadRequest() *ListCurrentIdentityAuthenticatorsBadRequest

NewListCurrentIdentityAuthenticatorsBadRequest creates a ListCurrentIdentityAuthenticatorsBadRequest with default headers values

func (*ListCurrentIdentityAuthenticatorsBadRequest) Error

func (*ListCurrentIdentityAuthenticatorsBadRequest) GetPayload

type ListCurrentIdentityAuthenticatorsOK

type ListCurrentIdentityAuthenticatorsOK struct {
	Payload *rest_model.ListAuthenticatorsEnvelope
}
ListCurrentIdentityAuthenticatorsOK describes a response with status code 200, with default header values.

A list of authenticators

func NewListCurrentIdentityAuthenticatorsOK

func NewListCurrentIdentityAuthenticatorsOK() *ListCurrentIdentityAuthenticatorsOK

NewListCurrentIdentityAuthenticatorsOK creates a ListCurrentIdentityAuthenticatorsOK with default headers values

func (*ListCurrentIdentityAuthenticatorsOK) Error

func (*ListCurrentIdentityAuthenticatorsOK) GetPayload

type ListCurrentIdentityAuthenticatorsParams

type ListCurrentIdentityAuthenticatorsParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListCurrentIdentityAuthenticatorsParams contains all the parameters to send to the API endpoint

for the list current identity authenticators operation.

Typically these are written to a http.Request.

func NewListCurrentIdentityAuthenticatorsParams

func NewListCurrentIdentityAuthenticatorsParams() *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParams creates a new ListCurrentIdentityAuthenticatorsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListCurrentIdentityAuthenticatorsParamsWithContext

func NewListCurrentIdentityAuthenticatorsParamsWithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithContext creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a context for a request.

func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient

func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.

func NewListCurrentIdentityAuthenticatorsParamsWithTimeout

func NewListCurrentIdentityAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithTimeout creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a timeout on a request.

func (*ListCurrentIdentityAuthenticatorsParams) SetContext

SetContext adds the context to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetDefaults

func (o *ListCurrentIdentityAuthenticatorsParams) SetDefaults()

SetDefaults hydrates default values in the list current identity authenticators params (not the query body).

All values with no default are reset to their zero value.

func (*ListCurrentIdentityAuthenticatorsParams) SetFilter

func (o *ListCurrentIdentityAuthenticatorsParams) SetFilter(filter *string)

SetFilter adds the filter to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetHTTPClient

func (o *ListCurrentIdentityAuthenticatorsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetLimit

func (o *ListCurrentIdentityAuthenticatorsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetOffset

func (o *ListCurrentIdentityAuthenticatorsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetTimeout

func (o *ListCurrentIdentityAuthenticatorsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithContext

WithContext adds the context to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithDefaults

WithDefaults hydrates default values in the list current identity authenticators params (not the query body).

All values with no default are reset to their zero value.

func (*ListCurrentIdentityAuthenticatorsParams) WithFilter

WithFilter adds the filter to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithLimit

WithLimit adds the limit to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithOffset

WithOffset adds the offset to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithTimeout

WithTimeout adds the timeout to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCurrentIdentityAuthenticatorsReader

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

ListCurrentIdentityAuthenticatorsReader is a Reader for the ListCurrentIdentityAuthenticators structure.

func (*ListCurrentIdentityAuthenticatorsReader) ReadResponse

func (o *ListCurrentIdentityAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListCurrentIdentityAuthenticatorsUnauthorized

type ListCurrentIdentityAuthenticatorsUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCurrentIdentityAuthenticatorsUnauthorized describes a response with status code 401, with default header values.

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

func NewListCurrentIdentityAuthenticatorsUnauthorized

func NewListCurrentIdentityAuthenticatorsUnauthorized() *ListCurrentIdentityAuthenticatorsUnauthorized

NewListCurrentIdentityAuthenticatorsUnauthorized creates a ListCurrentIdentityAuthenticatorsUnauthorized with default headers values

func (*ListCurrentIdentityAuthenticatorsUnauthorized) Error

func (*ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload

type PatchCurrentIdentityAuthenticatorBadRequest

type PatchCurrentIdentityAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorBadRequest describes a response with status code 400, with default header values.

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

func NewPatchCurrentIdentityAuthenticatorBadRequest

func NewPatchCurrentIdentityAuthenticatorBadRequest() *PatchCurrentIdentityAuthenticatorBadRequest

NewPatchCurrentIdentityAuthenticatorBadRequest creates a PatchCurrentIdentityAuthenticatorBadRequest with default headers values

func (*PatchCurrentIdentityAuthenticatorBadRequest) Error

func (*PatchCurrentIdentityAuthenticatorBadRequest) GetPayload

type PatchCurrentIdentityAuthenticatorNotFound

type PatchCurrentIdentityAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewPatchCurrentIdentityAuthenticatorNotFound

func NewPatchCurrentIdentityAuthenticatorNotFound() *PatchCurrentIdentityAuthenticatorNotFound

NewPatchCurrentIdentityAuthenticatorNotFound creates a PatchCurrentIdentityAuthenticatorNotFound with default headers values

func (*PatchCurrentIdentityAuthenticatorNotFound) Error

func (*PatchCurrentIdentityAuthenticatorNotFound) GetPayload

type PatchCurrentIdentityAuthenticatorOK

type PatchCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.Empty
}
PatchCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

The patch request was successful and the resource has been altered

func NewPatchCurrentIdentityAuthenticatorOK

func NewPatchCurrentIdentityAuthenticatorOK() *PatchCurrentIdentityAuthenticatorOK

NewPatchCurrentIdentityAuthenticatorOK creates a PatchCurrentIdentityAuthenticatorOK with default headers values

func (*PatchCurrentIdentityAuthenticatorOK) Error

func (*PatchCurrentIdentityAuthenticatorOK) GetPayload

type PatchCurrentIdentityAuthenticatorParams

type PatchCurrentIdentityAuthenticatorParams struct {

	/* Authenticator.

	   An authenticator patch object
	*/
	Authenticator *rest_model.AuthenticatorPatchWithCurrent

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the patch current identity authenticator operation.

Typically these are written to a http.Request.

func NewPatchCurrentIdentityAuthenticatorParams

func NewPatchCurrentIdentityAuthenticatorParams() *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParams creates a new PatchCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchCurrentIdentityAuthenticatorParamsWithContext

func NewPatchCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithContext creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout

func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithTimeout creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*PatchCurrentIdentityAuthenticatorParams) SetAuthenticator

SetAuthenticator adds the authenticator to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetDefaults

func (o *PatchCurrentIdentityAuthenticatorParams) SetDefaults()

SetDefaults hydrates default values in the patch current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*PatchCurrentIdentityAuthenticatorParams) SetHTTPClient

func (o *PatchCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetTimeout

func (o *PatchCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithAuthenticator

WithAuthenticator adds the authenticator to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the patch current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*PatchCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchCurrentIdentityAuthenticatorReader

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

PatchCurrentIdentityAuthenticatorReader is a Reader for the PatchCurrentIdentityAuthenticator structure.

func (*PatchCurrentIdentityAuthenticatorReader) ReadResponse

func (o *PatchCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchCurrentIdentityAuthenticatorUnauthorized

type PatchCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

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

func NewPatchCurrentIdentityAuthenticatorUnauthorized

func NewPatchCurrentIdentityAuthenticatorUnauthorized() *PatchCurrentIdentityAuthenticatorUnauthorized

NewPatchCurrentIdentityAuthenticatorUnauthorized creates a PatchCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*PatchCurrentIdentityAuthenticatorUnauthorized) Error

func (*PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload

type UpdateCurrentIdentityAuthenticatorBadRequest

type UpdateCurrentIdentityAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorBadRequest describes a response with status code 400, with default header values.

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

func NewUpdateCurrentIdentityAuthenticatorBadRequest

func NewUpdateCurrentIdentityAuthenticatorBadRequest() *UpdateCurrentIdentityAuthenticatorBadRequest

NewUpdateCurrentIdentityAuthenticatorBadRequest creates a UpdateCurrentIdentityAuthenticatorBadRequest with default headers values

func (*UpdateCurrentIdentityAuthenticatorBadRequest) Error

func (*UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload

type UpdateCurrentIdentityAuthenticatorNotFound

type UpdateCurrentIdentityAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewUpdateCurrentIdentityAuthenticatorNotFound

func NewUpdateCurrentIdentityAuthenticatorNotFound() *UpdateCurrentIdentityAuthenticatorNotFound

NewUpdateCurrentIdentityAuthenticatorNotFound creates a UpdateCurrentIdentityAuthenticatorNotFound with default headers values

func (*UpdateCurrentIdentityAuthenticatorNotFound) Error

func (*UpdateCurrentIdentityAuthenticatorNotFound) GetPayload

type UpdateCurrentIdentityAuthenticatorOK

type UpdateCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.Empty
}
UpdateCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

The update request was successful and the resource has been altered

func NewUpdateCurrentIdentityAuthenticatorOK

func NewUpdateCurrentIdentityAuthenticatorOK() *UpdateCurrentIdentityAuthenticatorOK

NewUpdateCurrentIdentityAuthenticatorOK creates a UpdateCurrentIdentityAuthenticatorOK with default headers values

func (*UpdateCurrentIdentityAuthenticatorOK) Error

func (*UpdateCurrentIdentityAuthenticatorOK) GetPayload

type UpdateCurrentIdentityAuthenticatorParams

type UpdateCurrentIdentityAuthenticatorParams struct {

	/* Authenticator.

	   An authenticator put object
	*/
	Authenticator *rest_model.AuthenticatorUpdateWithCurrent

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the update current identity authenticator operation.

Typically these are written to a http.Request.

func NewUpdateCurrentIdentityAuthenticatorParams

func NewUpdateCurrentIdentityAuthenticatorParams() *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParams creates a new UpdateCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateCurrentIdentityAuthenticatorParamsWithContext

func NewUpdateCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithContext creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout

func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator

SetAuthenticator adds the authenticator to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetDefaults

SetDefaults hydrates default values in the update current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient

func (o *UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetTimeout

SetTimeout adds the timeout to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator

WithAuthenticator adds the authenticator to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the update current identity authenticator params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCurrentIdentityAuthenticatorReader

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

UpdateCurrentIdentityAuthenticatorReader is a Reader for the UpdateCurrentIdentityAuthenticator structure.

func (*UpdateCurrentIdentityAuthenticatorReader) ReadResponse

func (o *UpdateCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateCurrentIdentityAuthenticatorUnauthorized

type UpdateCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

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

func NewUpdateCurrentIdentityAuthenticatorUnauthorized

func NewUpdateCurrentIdentityAuthenticatorUnauthorized() *UpdateCurrentIdentityAuthenticatorUnauthorized

NewUpdateCurrentIdentityAuthenticatorUnauthorized creates a UpdateCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*UpdateCurrentIdentityAuthenticatorUnauthorized) Error

func (*UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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