authenticator

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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 authenticator API

func (*Client) CreateAuthenticator

func (a *Client) CreateAuthenticator(params *CreateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAuthenticatorCreated, error)

CreateAuthenticator creates an authenticator

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

func (*Client) DeleteAuthenticator

func (a *Client) DeleteAuthenticator(params *DeleteAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAuthenticatorOK, error)
DeleteAuthenticator deletes an authenticator

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

Requires admin access.

func (*Client) DetailAuthenticator

func (a *Client) DetailAuthenticator(params *DetailAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*DetailAuthenticatorOK, error)

DetailAuthenticator retrieves a single authenticator

Retrieves a single authenticator by id. Requires admin access.

func (*Client) ListAuthenticators

func (a *Client) ListAuthenticators(params *ListAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuthenticatorsOK, error)
ListAuthenticators lists authenticators

Returns a list of authenticators associated to identities. The resources can be sorted, filtered, and paginated.

This endpoint requries admin access.

func (*Client) PatchAuthenticator

func (a *Client) PatchAuthenticator(params *PatchAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*PatchAuthenticatorOK, error)

PatchAuthenticator updates the supplied fields on an authenticator

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAuthenticator

func (a *Client) UpdateAuthenticator(params *UpdateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAuthenticatorOK, error)

UpdateAuthenticator updates all fields on an authenticator

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

type ClientService

type ClientService interface {
	CreateAuthenticator(params *CreateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAuthenticatorCreated, error)

	DeleteAuthenticator(params *DeleteAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAuthenticatorOK, error)

	DetailAuthenticator(params *DetailAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*DetailAuthenticatorOK, error)

	ListAuthenticators(params *ListAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuthenticatorsOK, error)

	PatchAuthenticator(params *PatchAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*PatchAuthenticatorOK, error)

	UpdateAuthenticator(params *UpdateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAuthenticatorOK, 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 authenticator API client.

type CreateAuthenticatorBadRequest

type CreateAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

CreateAuthenticatorBadRequest handles this case 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 NewCreateAuthenticatorBadRequest

func NewCreateAuthenticatorBadRequest() *CreateAuthenticatorBadRequest

NewCreateAuthenticatorBadRequest creates a CreateAuthenticatorBadRequest with default headers values

func (*CreateAuthenticatorBadRequest) Error

func (*CreateAuthenticatorBadRequest) GetPayload

type CreateAuthenticatorCreated added in v0.17.52

type CreateAuthenticatorCreated struct {
	Payload *rest_model.AuthenticatorCreate
}

CreateAuthenticatorCreated handles this case with default header values.

The create was successful

func NewCreateAuthenticatorCreated added in v0.17.52

func NewCreateAuthenticatorCreated() *CreateAuthenticatorCreated

NewCreateAuthenticatorCreated creates a CreateAuthenticatorCreated with default headers values

func (*CreateAuthenticatorCreated) Error added in v0.17.52

func (*CreateAuthenticatorCreated) GetPayload added in v0.17.52

type CreateAuthenticatorParams

type CreateAuthenticatorParams struct {

	/*Body
	  A Authenticators create object

	*/
	Body *rest_model.AuthenticatorCreate

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

CreateAuthenticatorParams contains all the parameters to send to the API endpoint for the create authenticator operation typically these are written to a http.Request

func NewCreateAuthenticatorParams

func NewCreateAuthenticatorParams() *CreateAuthenticatorParams

NewCreateAuthenticatorParams creates a new CreateAuthenticatorParams object with the default values initialized.

func NewCreateAuthenticatorParamsWithContext

func NewCreateAuthenticatorParamsWithContext(ctx context.Context) *CreateAuthenticatorParams

NewCreateAuthenticatorParamsWithContext creates a new CreateAuthenticatorParams object with the default values initialized, and the ability to set a context for a request

func NewCreateAuthenticatorParamsWithHTTPClient

func NewCreateAuthenticatorParamsWithHTTPClient(client *http.Client) *CreateAuthenticatorParams

NewCreateAuthenticatorParamsWithHTTPClient creates a new CreateAuthenticatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateAuthenticatorParamsWithTimeout

func NewCreateAuthenticatorParamsWithTimeout(timeout time.Duration) *CreateAuthenticatorParams

NewCreateAuthenticatorParamsWithTimeout creates a new CreateAuthenticatorParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateAuthenticatorParams) SetBody

SetBody adds the body to the create authenticator params

func (*CreateAuthenticatorParams) SetContext

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

SetContext adds the context to the create authenticator params

func (*CreateAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create authenticator params

func (*CreateAuthenticatorParams) SetTimeout

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

SetTimeout adds the timeout to the create authenticator params

func (*CreateAuthenticatorParams) WithBody

WithBody adds the body to the create authenticator params

func (*CreateAuthenticatorParams) WithContext

WithContext adds the context to the create authenticator params

func (*CreateAuthenticatorParams) WithHTTPClient

func (o *CreateAuthenticatorParams) WithHTTPClient(client *http.Client) *CreateAuthenticatorParams

WithHTTPClient adds the HTTPClient to the create authenticator params

func (*CreateAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the create authenticator params

func (*CreateAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAuthenticatorReader

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

CreateAuthenticatorReader is a Reader for the CreateAuthenticator structure.

func (*CreateAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAuthenticatorUnauthorized

type CreateAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

CreateAuthenticatorUnauthorized handles this case with default header values.

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

func NewCreateAuthenticatorUnauthorized

func NewCreateAuthenticatorUnauthorized() *CreateAuthenticatorUnauthorized

NewCreateAuthenticatorUnauthorized creates a CreateAuthenticatorUnauthorized with default headers values

func (*CreateAuthenticatorUnauthorized) Error

func (*CreateAuthenticatorUnauthorized) GetPayload

type DeleteAuthenticatorBadRequest

type DeleteAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteAuthenticatorBadRequest handles this case 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 NewDeleteAuthenticatorBadRequest

func NewDeleteAuthenticatorBadRequest() *DeleteAuthenticatorBadRequest

NewDeleteAuthenticatorBadRequest creates a DeleteAuthenticatorBadRequest with default headers values

func (*DeleteAuthenticatorBadRequest) Error

func (*DeleteAuthenticatorBadRequest) GetPayload

type DeleteAuthenticatorOK

type DeleteAuthenticatorOK struct {
	Payload *rest_model.Empty
}

DeleteAuthenticatorOK handles this case with default header values.

The delete request was successful and the resource has been removed

func NewDeleteAuthenticatorOK

func NewDeleteAuthenticatorOK() *DeleteAuthenticatorOK

NewDeleteAuthenticatorOK creates a DeleteAuthenticatorOK with default headers values

func (*DeleteAuthenticatorOK) Error

func (o *DeleteAuthenticatorOK) Error() string

func (*DeleteAuthenticatorOK) GetPayload

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

type DeleteAuthenticatorParams

type DeleteAuthenticatorParams struct {

	/*ID
	  The id of the requested resource

	*/
	ID string

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

DeleteAuthenticatorParams contains all the parameters to send to the API endpoint for the delete authenticator operation typically these are written to a http.Request

func NewDeleteAuthenticatorParams

func NewDeleteAuthenticatorParams() *DeleteAuthenticatorParams

NewDeleteAuthenticatorParams creates a new DeleteAuthenticatorParams object with the default values initialized.

func NewDeleteAuthenticatorParamsWithContext

func NewDeleteAuthenticatorParamsWithContext(ctx context.Context) *DeleteAuthenticatorParams

NewDeleteAuthenticatorParamsWithContext creates a new DeleteAuthenticatorParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAuthenticatorParamsWithHTTPClient

func NewDeleteAuthenticatorParamsWithHTTPClient(client *http.Client) *DeleteAuthenticatorParams

NewDeleteAuthenticatorParamsWithHTTPClient creates a new DeleteAuthenticatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAuthenticatorParamsWithTimeout

func NewDeleteAuthenticatorParamsWithTimeout(timeout time.Duration) *DeleteAuthenticatorParams

NewDeleteAuthenticatorParamsWithTimeout creates a new DeleteAuthenticatorParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAuthenticatorParams) SetContext

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

SetContext adds the context to the delete authenticator params

func (*DeleteAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete authenticator params

func (*DeleteAuthenticatorParams) SetID

func (o *DeleteAuthenticatorParams) SetID(id string)

SetID adds the id to the delete authenticator params

func (*DeleteAuthenticatorParams) SetTimeout

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

SetTimeout adds the timeout to the delete authenticator params

func (*DeleteAuthenticatorParams) WithContext

WithContext adds the context to the delete authenticator params

func (*DeleteAuthenticatorParams) WithHTTPClient

func (o *DeleteAuthenticatorParams) WithHTTPClient(client *http.Client) *DeleteAuthenticatorParams

WithHTTPClient adds the HTTPClient to the delete authenticator params

func (*DeleteAuthenticatorParams) WithID

WithID adds the id to the delete authenticator params

func (*DeleteAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the delete authenticator params

func (*DeleteAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAuthenticatorReader

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

DeleteAuthenticatorReader is a Reader for the DeleteAuthenticator structure.

func (*DeleteAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAuthenticatorUnauthorized

type DeleteAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteAuthenticatorUnauthorized handles this case with default header values.

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

func NewDeleteAuthenticatorUnauthorized

func NewDeleteAuthenticatorUnauthorized() *DeleteAuthenticatorUnauthorized

NewDeleteAuthenticatorUnauthorized creates a DeleteAuthenticatorUnauthorized with default headers values

func (*DeleteAuthenticatorUnauthorized) Error

func (*DeleteAuthenticatorUnauthorized) GetPayload

type DetailAuthenticatorNotFound

type DetailAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

DetailAuthenticatorNotFound handles this case with default header values.

The requested resource does not exist

func NewDetailAuthenticatorNotFound

func NewDetailAuthenticatorNotFound() *DetailAuthenticatorNotFound

NewDetailAuthenticatorNotFound creates a DetailAuthenticatorNotFound with default headers values

func (*DetailAuthenticatorNotFound) Error

func (*DetailAuthenticatorNotFound) GetPayload

type DetailAuthenticatorOK

type DetailAuthenticatorOK struct {
	Payload *rest_model.DetailAuthenticatorEnvelope
}

DetailAuthenticatorOK handles this case with default header values.

A singular authenticator resource

func NewDetailAuthenticatorOK

func NewDetailAuthenticatorOK() *DetailAuthenticatorOK

NewDetailAuthenticatorOK creates a DetailAuthenticatorOK with default headers values

func (*DetailAuthenticatorOK) Error

func (o *DetailAuthenticatorOK) Error() string

func (*DetailAuthenticatorOK) GetPayload

type DetailAuthenticatorParams

type DetailAuthenticatorParams struct {

	/*ID
	  The id of the requested resource

	*/
	ID string

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

DetailAuthenticatorParams contains all the parameters to send to the API endpoint for the detail authenticator operation typically these are written to a http.Request

func NewDetailAuthenticatorParams

func NewDetailAuthenticatorParams() *DetailAuthenticatorParams

NewDetailAuthenticatorParams creates a new DetailAuthenticatorParams object with the default values initialized.

func NewDetailAuthenticatorParamsWithContext

func NewDetailAuthenticatorParamsWithContext(ctx context.Context) *DetailAuthenticatorParams

NewDetailAuthenticatorParamsWithContext creates a new DetailAuthenticatorParams object with the default values initialized, and the ability to set a context for a request

func NewDetailAuthenticatorParamsWithHTTPClient

func NewDetailAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailAuthenticatorParams

NewDetailAuthenticatorParamsWithHTTPClient creates a new DetailAuthenticatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDetailAuthenticatorParamsWithTimeout

func NewDetailAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailAuthenticatorParams

NewDetailAuthenticatorParamsWithTimeout creates a new DetailAuthenticatorParams object with the default values initialized, and the ability to set a timeout on a request

func (*DetailAuthenticatorParams) SetContext

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

SetContext adds the context to the detail authenticator params

func (*DetailAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail authenticator params

func (*DetailAuthenticatorParams) SetID

func (o *DetailAuthenticatorParams) SetID(id string)

SetID adds the id to the detail authenticator params

func (*DetailAuthenticatorParams) SetTimeout

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

SetTimeout adds the timeout to the detail authenticator params

func (*DetailAuthenticatorParams) WithContext

WithContext adds the context to the detail authenticator params

func (*DetailAuthenticatorParams) WithHTTPClient

func (o *DetailAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailAuthenticatorParams

WithHTTPClient adds the HTTPClient to the detail authenticator params

func (*DetailAuthenticatorParams) WithID

WithID adds the id to the detail authenticator params

func (*DetailAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the detail authenticator params

func (*DetailAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailAuthenticatorReader

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

DetailAuthenticatorReader is a Reader for the DetailAuthenticator structure.

func (*DetailAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailAuthenticatorUnauthorized

type DetailAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

DetailAuthenticatorUnauthorized handles this case with default header values.

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

func NewDetailAuthenticatorUnauthorized

func NewDetailAuthenticatorUnauthorized() *DetailAuthenticatorUnauthorized

NewDetailAuthenticatorUnauthorized creates a DetailAuthenticatorUnauthorized with default headers values

func (*DetailAuthenticatorUnauthorized) Error

func (*DetailAuthenticatorUnauthorized) GetPayload

type ListAuthenticatorsOK

type ListAuthenticatorsOK struct {
	Payload *rest_model.ListAuthenticatorsEnvelope
}

ListAuthenticatorsOK handles this case with default header values.

A list of authenticators

func NewListAuthenticatorsOK

func NewListAuthenticatorsOK() *ListAuthenticatorsOK

NewListAuthenticatorsOK creates a ListAuthenticatorsOK with default headers values

func (*ListAuthenticatorsOK) Error

func (o *ListAuthenticatorsOK) Error() string

func (*ListAuthenticatorsOK) GetPayload

type ListAuthenticatorsParams

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

ListAuthenticatorsParams contains all the parameters to send to the API endpoint for the list authenticators operation typically these are written to a http.Request

func NewListAuthenticatorsParams

func NewListAuthenticatorsParams() *ListAuthenticatorsParams

NewListAuthenticatorsParams creates a new ListAuthenticatorsParams object with the default values initialized.

func NewListAuthenticatorsParamsWithContext

func NewListAuthenticatorsParamsWithContext(ctx context.Context) *ListAuthenticatorsParams

NewListAuthenticatorsParamsWithContext creates a new ListAuthenticatorsParams object with the default values initialized, and the ability to set a context for a request

func NewListAuthenticatorsParamsWithHTTPClient

func NewListAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListAuthenticatorsParams

NewListAuthenticatorsParamsWithHTTPClient creates a new ListAuthenticatorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAuthenticatorsParamsWithTimeout

func NewListAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListAuthenticatorsParams

NewListAuthenticatorsParamsWithTimeout creates a new ListAuthenticatorsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAuthenticatorsParams) SetContext

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

SetContext adds the context to the list authenticators params

func (*ListAuthenticatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list authenticators params

func (*ListAuthenticatorsParams) SetTimeout

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

SetTimeout adds the timeout to the list authenticators params

func (*ListAuthenticatorsParams) WithContext

WithContext adds the context to the list authenticators params

func (*ListAuthenticatorsParams) WithHTTPClient

func (o *ListAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListAuthenticatorsParams

WithHTTPClient adds the HTTPClient to the list authenticators params

func (*ListAuthenticatorsParams) WithTimeout

WithTimeout adds the timeout to the list authenticators params

func (*ListAuthenticatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAuthenticatorsReader

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

ListAuthenticatorsReader is a Reader for the ListAuthenticators structure.

func (*ListAuthenticatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAuthenticatorBadRequest

type PatchAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchAuthenticatorBadRequest handles this case 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 NewPatchAuthenticatorBadRequest

func NewPatchAuthenticatorBadRequest() *PatchAuthenticatorBadRequest

NewPatchAuthenticatorBadRequest creates a PatchAuthenticatorBadRequest with default headers values

func (*PatchAuthenticatorBadRequest) Error

func (*PatchAuthenticatorBadRequest) GetPayload

type PatchAuthenticatorNotFound

type PatchAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchAuthenticatorNotFound handles this case with default header values.

The requested resource does not exist

func NewPatchAuthenticatorNotFound

func NewPatchAuthenticatorNotFound() *PatchAuthenticatorNotFound

NewPatchAuthenticatorNotFound creates a PatchAuthenticatorNotFound with default headers values

func (*PatchAuthenticatorNotFound) Error

func (*PatchAuthenticatorNotFound) GetPayload

type PatchAuthenticatorOK

type PatchAuthenticatorOK struct {
	Payload *rest_model.Empty
}

PatchAuthenticatorOK handles this case with default header values.

The patch request was successful and the resource has been altered

func NewPatchAuthenticatorOK

func NewPatchAuthenticatorOK() *PatchAuthenticatorOK

NewPatchAuthenticatorOK creates a PatchAuthenticatorOK with default headers values

func (*PatchAuthenticatorOK) Error

func (o *PatchAuthenticatorOK) Error() string

func (*PatchAuthenticatorOK) GetPayload

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

type PatchAuthenticatorParams

type PatchAuthenticatorParams struct {

	/*Body
	  An authenticator patch object

	*/
	Body *rest_model.AuthenticatorPatch
	/*ID
	  The id of the requested resource

	*/
	ID string

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

PatchAuthenticatorParams contains all the parameters to send to the API endpoint for the patch authenticator operation typically these are written to a http.Request

func NewPatchAuthenticatorParams

func NewPatchAuthenticatorParams() *PatchAuthenticatorParams

NewPatchAuthenticatorParams creates a new PatchAuthenticatorParams object with the default values initialized.

func NewPatchAuthenticatorParamsWithContext

func NewPatchAuthenticatorParamsWithContext(ctx context.Context) *PatchAuthenticatorParams

NewPatchAuthenticatorParamsWithContext creates a new PatchAuthenticatorParams object with the default values initialized, and the ability to set a context for a request

func NewPatchAuthenticatorParamsWithHTTPClient

func NewPatchAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchAuthenticatorParams

NewPatchAuthenticatorParamsWithHTTPClient creates a new PatchAuthenticatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchAuthenticatorParamsWithTimeout

func NewPatchAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchAuthenticatorParams

NewPatchAuthenticatorParamsWithTimeout creates a new PatchAuthenticatorParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchAuthenticatorParams) SetBody

SetBody adds the body to the patch authenticator params

func (*PatchAuthenticatorParams) SetContext

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

SetContext adds the context to the patch authenticator params

func (*PatchAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch authenticator params

func (*PatchAuthenticatorParams) SetID

func (o *PatchAuthenticatorParams) SetID(id string)

SetID adds the id to the patch authenticator params

func (*PatchAuthenticatorParams) SetTimeout

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

SetTimeout adds the timeout to the patch authenticator params

func (*PatchAuthenticatorParams) WithBody

WithBody adds the body to the patch authenticator params

func (*PatchAuthenticatorParams) WithContext

WithContext adds the context to the patch authenticator params

func (*PatchAuthenticatorParams) WithHTTPClient

func (o *PatchAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchAuthenticatorParams

WithHTTPClient adds the HTTPClient to the patch authenticator params

func (*PatchAuthenticatorParams) WithID

WithID adds the id to the patch authenticator params

func (*PatchAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the patch authenticator params

func (*PatchAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAuthenticatorReader

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

PatchAuthenticatorReader is a Reader for the PatchAuthenticator structure.

func (*PatchAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAuthenticatorUnauthorized

type PatchAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchAuthenticatorUnauthorized handles this case with default header values.

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

func NewPatchAuthenticatorUnauthorized

func NewPatchAuthenticatorUnauthorized() *PatchAuthenticatorUnauthorized

NewPatchAuthenticatorUnauthorized creates a PatchAuthenticatorUnauthorized with default headers values

func (*PatchAuthenticatorUnauthorized) Error

func (*PatchAuthenticatorUnauthorized) GetPayload

type UpdateAuthenticatorBadRequest

type UpdateAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateAuthenticatorBadRequest handles this case 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 NewUpdateAuthenticatorBadRequest

func NewUpdateAuthenticatorBadRequest() *UpdateAuthenticatorBadRequest

NewUpdateAuthenticatorBadRequest creates a UpdateAuthenticatorBadRequest with default headers values

func (*UpdateAuthenticatorBadRequest) Error

func (*UpdateAuthenticatorBadRequest) GetPayload

type UpdateAuthenticatorNotFound

type UpdateAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateAuthenticatorNotFound handles this case with default header values.

The requested resource does not exist

func NewUpdateAuthenticatorNotFound

func NewUpdateAuthenticatorNotFound() *UpdateAuthenticatorNotFound

NewUpdateAuthenticatorNotFound creates a UpdateAuthenticatorNotFound with default headers values

func (*UpdateAuthenticatorNotFound) Error

func (*UpdateAuthenticatorNotFound) GetPayload

type UpdateAuthenticatorOK

type UpdateAuthenticatorOK struct {
	Payload *rest_model.Empty
}

UpdateAuthenticatorOK handles this case with default header values.

The update request was successful and the resource has been altered

func NewUpdateAuthenticatorOK

func NewUpdateAuthenticatorOK() *UpdateAuthenticatorOK

NewUpdateAuthenticatorOK creates a UpdateAuthenticatorOK with default headers values

func (*UpdateAuthenticatorOK) Error

func (o *UpdateAuthenticatorOK) Error() string

func (*UpdateAuthenticatorOK) GetPayload

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

type UpdateAuthenticatorParams

type UpdateAuthenticatorParams struct {

	/*Body
	  An authenticator put object

	*/
	Body *rest_model.AuthenticatorUpdate
	/*ID
	  The id of the requested resource

	*/
	ID string

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

UpdateAuthenticatorParams contains all the parameters to send to the API endpoint for the update authenticator operation typically these are written to a http.Request

func NewUpdateAuthenticatorParams

func NewUpdateAuthenticatorParams() *UpdateAuthenticatorParams

NewUpdateAuthenticatorParams creates a new UpdateAuthenticatorParams object with the default values initialized.

func NewUpdateAuthenticatorParamsWithContext

func NewUpdateAuthenticatorParamsWithContext(ctx context.Context) *UpdateAuthenticatorParams

NewUpdateAuthenticatorParamsWithContext creates a new UpdateAuthenticatorParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateAuthenticatorParamsWithHTTPClient

func NewUpdateAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateAuthenticatorParams

NewUpdateAuthenticatorParamsWithHTTPClient creates a new UpdateAuthenticatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateAuthenticatorParamsWithTimeout

func NewUpdateAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateAuthenticatorParams

NewUpdateAuthenticatorParamsWithTimeout creates a new UpdateAuthenticatorParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateAuthenticatorParams) SetBody

SetBody adds the body to the update authenticator params

func (*UpdateAuthenticatorParams) SetContext

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

SetContext adds the context to the update authenticator params

func (*UpdateAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update authenticator params

func (*UpdateAuthenticatorParams) SetID

func (o *UpdateAuthenticatorParams) SetID(id string)

SetID adds the id to the update authenticator params

func (*UpdateAuthenticatorParams) SetTimeout

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

SetTimeout adds the timeout to the update authenticator params

func (*UpdateAuthenticatorParams) WithBody

WithBody adds the body to the update authenticator params

func (*UpdateAuthenticatorParams) WithContext

WithContext adds the context to the update authenticator params

func (*UpdateAuthenticatorParams) WithHTTPClient

func (o *UpdateAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateAuthenticatorParams

WithHTTPClient adds the HTTPClient to the update authenticator params

func (*UpdateAuthenticatorParams) WithID

WithID adds the id to the update authenticator params

func (*UpdateAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the update authenticator params

func (*UpdateAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAuthenticatorReader

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

UpdateAuthenticatorReader is a Reader for the UpdateAuthenticator structure.

func (*UpdateAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAuthenticatorUnauthorized

type UpdateAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateAuthenticatorUnauthorized handles this case with default header values.

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

func NewUpdateAuthenticatorUnauthorized

func NewUpdateAuthenticatorUnauthorized() *UpdateAuthenticatorUnauthorized

NewUpdateAuthenticatorUnauthorized creates a UpdateAuthenticatorUnauthorized with default headers values

func (*UpdateAuthenticatorUnauthorized) Error

func (*UpdateAuthenticatorUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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