authenticator

package
v0.20.118 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 11 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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*UpdateAuthenticatorOK, error)

UpdateAuthenticator updates all fields on an authenticator

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

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

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

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

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

	UpdateAuthenticator(params *UpdateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 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 NewCreateAuthenticatorBadRequest

func NewCreateAuthenticatorBadRequest() *CreateAuthenticatorBadRequest

NewCreateAuthenticatorBadRequest creates a CreateAuthenticatorBadRequest with default headers values

func (*CreateAuthenticatorBadRequest) Error

func (*CreateAuthenticatorBadRequest) GetPayload

type CreateAuthenticatorCreated

type CreateAuthenticatorCreated struct {
	Payload *rest_model.AuthenticatorCreate
}
CreateAuthenticatorCreated describes a response with status code 201, with default header values.

The create was successful

func NewCreateAuthenticatorCreated

func NewCreateAuthenticatorCreated() *CreateAuthenticatorCreated

NewCreateAuthenticatorCreated creates a CreateAuthenticatorCreated with default headers values

func (*CreateAuthenticatorCreated) Error

func (*CreateAuthenticatorCreated) GetPayload

type CreateAuthenticatorParams

type CreateAuthenticatorParams struct {

	/* Authenticator.

	   A Authenticator create object
	*/
	Authenticator *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 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 NewCreateAuthenticatorParamsWithContext

func NewCreateAuthenticatorParamsWithContext(ctx context.Context) *CreateAuthenticatorParams

NewCreateAuthenticatorParamsWithContext creates a new CreateAuthenticatorParams object with 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 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 ability to set a timeout on a request.

func (*CreateAuthenticatorParams) SetAuthenticator

func (o *CreateAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorCreate)

SetAuthenticator adds the authenticator 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) SetDefaults

func (o *CreateAuthenticatorParams) SetDefaults()

SetDefaults hydrates default values in the create authenticator params (not the query body).

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

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) WithAuthenticator

WithAuthenticator adds the authenticator to the create authenticator params

func (*CreateAuthenticatorParams) WithContext

WithContext adds the context to the create authenticator params

func (*CreateAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the create authenticator params (not the query body).

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

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 describes a response with status code 401, 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 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 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 describes a response with status code 200, 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 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 NewDeleteAuthenticatorParamsWithContext

func NewDeleteAuthenticatorParamsWithContext(ctx context.Context) *DeleteAuthenticatorParams

NewDeleteAuthenticatorParamsWithContext creates a new DeleteAuthenticatorParams object with 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 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 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) SetDefaults

func (o *DeleteAuthenticatorParams) SetDefaults()

SetDefaults hydrates default values in the delete authenticator params (not the query body).

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

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) WithDefaults

WithDefaults hydrates default values in the delete authenticator params (not the query body).

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

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 describes a response with status code 401, 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 describes a response with status code 404, 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 describes a response with status code 200, 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 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 NewDetailAuthenticatorParamsWithContext

func NewDetailAuthenticatorParamsWithContext(ctx context.Context) *DetailAuthenticatorParams

NewDetailAuthenticatorParamsWithContext creates a new DetailAuthenticatorParams object with 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 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 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) SetDefaults

func (o *DetailAuthenticatorParams) SetDefaults()

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

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

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) WithDefaults

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

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

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 describes a response with status code 401, 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 ListAuthenticatorsBadRequest added in v0.19.176

type ListAuthenticatorsBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListAuthenticatorsBadRequest 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 NewListAuthenticatorsBadRequest added in v0.19.176

func NewListAuthenticatorsBadRequest() *ListAuthenticatorsBadRequest

NewListAuthenticatorsBadRequest creates a ListAuthenticatorsBadRequest with default headers values

func (*ListAuthenticatorsBadRequest) Error added in v0.19.176

func (*ListAuthenticatorsBadRequest) GetPayload added in v0.19.176

type ListAuthenticatorsOK

type ListAuthenticatorsOK struct {
	Payload *rest_model.ListAuthenticatorsEnvelope
}
ListAuthenticatorsOK describes a response with status code 200, 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 {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	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 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 NewListAuthenticatorsParamsWithContext

func NewListAuthenticatorsParamsWithContext(ctx context.Context) *ListAuthenticatorsParams

NewListAuthenticatorsParamsWithContext creates a new ListAuthenticatorsParams object with 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 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 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) SetDefaults

func (o *ListAuthenticatorsParams) SetDefaults()

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

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

func (*ListAuthenticatorsParams) SetFilter added in v0.19.146

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

SetFilter adds the filter 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) SetLimit added in v0.19.146

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

SetLimit adds the limit to the list authenticators params

func (*ListAuthenticatorsParams) SetOffset added in v0.19.146

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

SetOffset adds the offset 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) WithDefaults

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

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

func (*ListAuthenticatorsParams) WithFilter added in v0.19.146

WithFilter adds the filter 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) WithLimit added in v0.19.146

WithLimit adds the limit to the list authenticators params

func (*ListAuthenticatorsParams) WithOffset added in v0.19.146

WithOffset adds the offset 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 ListAuthenticatorsUnauthorized added in v0.19.176

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

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

func NewListAuthenticatorsUnauthorized added in v0.19.176

func NewListAuthenticatorsUnauthorized() *ListAuthenticatorsUnauthorized

NewListAuthenticatorsUnauthorized creates a ListAuthenticatorsUnauthorized with default headers values

func (*ListAuthenticatorsUnauthorized) Error added in v0.19.176

func (*ListAuthenticatorsUnauthorized) GetPayload added in v0.19.176

type PatchAuthenticatorBadRequest

type PatchAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchAuthenticatorBadRequest 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 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 describes a response with status code 404, 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 describes a response with status code 200, 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 {

	/* Authenticator.

	   An authenticator patch object
	*/
	Authenticator *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 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 NewPatchAuthenticatorParamsWithContext

func NewPatchAuthenticatorParamsWithContext(ctx context.Context) *PatchAuthenticatorParams

NewPatchAuthenticatorParamsWithContext creates a new PatchAuthenticatorParams object with 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 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 ability to set a timeout on a request.

func (*PatchAuthenticatorParams) SetAuthenticator

func (o *PatchAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatch)

SetAuthenticator adds the authenticator 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) SetDefaults

func (o *PatchAuthenticatorParams) SetDefaults()

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

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

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) WithAuthenticator

WithAuthenticator adds the authenticator to the patch authenticator params

func (*PatchAuthenticatorParams) WithContext

WithContext adds the context to the patch authenticator params

func (*PatchAuthenticatorParams) WithDefaults

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

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

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 describes a response with status code 401, 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 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 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 describes a response with status code 404, 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 describes a response with status code 200, 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 {

	/* Authenticator.

	   An authenticator put object
	*/
	Authenticator *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 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 NewUpdateAuthenticatorParamsWithContext

func NewUpdateAuthenticatorParamsWithContext(ctx context.Context) *UpdateAuthenticatorParams

NewUpdateAuthenticatorParamsWithContext creates a new UpdateAuthenticatorParams object with 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 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 ability to set a timeout on a request.

func (*UpdateAuthenticatorParams) SetAuthenticator

func (o *UpdateAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdate)

SetAuthenticator adds the authenticator 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) SetDefaults

func (o *UpdateAuthenticatorParams) SetDefaults()

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

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

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) WithAuthenticator

WithAuthenticator adds the authenticator to the update authenticator params

func (*UpdateAuthenticatorParams) WithContext

WithContext adds the context to the update authenticator params

func (*UpdateAuthenticatorParams) WithDefaults

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

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

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 describes a response with status code 401, 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