fido_u2f

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 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 fido u2f API

func (*Client) FIDOConfiguration

func (a *Client) FIDOConfiguration(params *FIDOConfigurationParams) (*FIDOConfigurationOK, error)

FIDOConfiguration fidos configuration

Performs FIDO configuration data.

func (*Client) GetFIDOU2FAuthentication

func (a *Client) GetFIDOU2FAuthentication(params *GetFIDOU2FAuthenticationParams) (*GetFIDOU2FAuthenticationOK, error)

GetFIDOU2FAuthentication gets fido u2f authentication

Performs FIDO U2F authentication of end-user.

func (*Client) GetFIDOU2FRegistration

func (a *Client) GetFIDOU2FRegistration(params *GetFIDOU2FRegistrationParams) (*GetFIDOU2FRegistrationOK, error)

GetFIDOU2FRegistration gets fido u2f registration

U2F device registration.

func (*Client) PostFIDOU2FAuthentication

func (a *Client) PostFIDOU2FAuthentication(params *PostFIDOU2FAuthenticationParams) (*PostFIDOU2FAuthenticationOK, error)

PostFIDOU2FAuthentication posts fido u2f authentication

Performs FIDO U2F authentication of end-user.

func (*Client) PostFIDOU2FRegistration

func (a *Client) PostFIDOU2FRegistration(params *PostFIDOU2FRegistrationParams) (*PostFIDOU2FRegistrationOK, error)

PostFIDOU2FRegistration posts fido u2f registration

U2F device registration.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	FIDOConfiguration(params *FIDOConfigurationParams) (*FIDOConfigurationOK, error)

	GetFIDOU2FAuthentication(params *GetFIDOU2FAuthenticationParams) (*GetFIDOU2FAuthenticationOK, error)

	GetFIDOU2FRegistration(params *GetFIDOU2FRegistrationParams) (*GetFIDOU2FRegistrationOK, error)

	PostFIDOU2FAuthentication(params *PostFIDOU2FAuthenticationParams) (*PostFIDOU2FAuthenticationOK, error)

	PostFIDOU2FRegistration(params *PostFIDOU2FRegistrationParams) (*PostFIDOU2FRegistrationOK, 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 fido u2f API client.

type FIDOConfigurationForbidden

type FIDOConfigurationForbidden struct {
	Payload *models.ErrorResponse
}

FIDOConfigurationForbidden handles this case with default header values.

Invalid details provided hence access denied.

func NewFIDOConfigurationForbidden

func NewFIDOConfigurationForbidden() *FIDOConfigurationForbidden

NewFIDOConfigurationForbidden creates a FIDOConfigurationForbidden with default headers values

func (*FIDOConfigurationForbidden) Error

func (*FIDOConfigurationForbidden) GetPayload

type FIDOConfigurationInternalServerError

type FIDOConfigurationInternalServerError struct {
	Payload *models.ErrorResponse
}

FIDOConfigurationInternalServerError handles this case with default header values.

Invalid parameters provided to endpoint.

func NewFIDOConfigurationInternalServerError

func NewFIDOConfigurationInternalServerError() *FIDOConfigurationInternalServerError

NewFIDOConfigurationInternalServerError creates a FIDOConfigurationInternalServerError with default headers values

func (*FIDOConfigurationInternalServerError) Error

func (*FIDOConfigurationInternalServerError) GetPayload

type FIDOConfigurationOK

type FIDOConfigurationOK struct {
	Payload *models.U2FConfiguration
}

FIDOConfigurationOK handles this case with default header values.

OK

func NewFIDOConfigurationOK

func NewFIDOConfigurationOK() *FIDOConfigurationOK

NewFIDOConfigurationOK creates a FIDOConfigurationOK with default headers values

func (*FIDOConfigurationOK) Error

func (o *FIDOConfigurationOK) Error() string

func (*FIDOConfigurationOK) GetPayload

func (o *FIDOConfigurationOK) GetPayload() *models.U2FConfiguration

type FIDOConfigurationParams

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

FIDOConfigurationParams contains all the parameters to send to the API endpoint for the fido configuration operation typically these are written to a http.Request

func NewFIDOConfigurationParams

func NewFIDOConfigurationParams() *FIDOConfigurationParams

NewFIDOConfigurationParams creates a new FIDOConfigurationParams object with the default values initialized.

func NewFIDOConfigurationParamsWithContext

func NewFIDOConfigurationParamsWithContext(ctx context.Context) *FIDOConfigurationParams

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

func NewFIDOConfigurationParamsWithHTTPClient

func NewFIDOConfigurationParamsWithHTTPClient(client *http.Client) *FIDOConfigurationParams

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

func NewFIDOConfigurationParamsWithTimeout

func NewFIDOConfigurationParamsWithTimeout(timeout time.Duration) *FIDOConfigurationParams

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

func (*FIDOConfigurationParams) SetContext

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

SetContext adds the context to the fido configuration params

func (*FIDOConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fido configuration params

func (*FIDOConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the fido configuration params

func (*FIDOConfigurationParams) WithContext

WithContext adds the context to the fido configuration params

func (*FIDOConfigurationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fido configuration params

func (*FIDOConfigurationParams) WithTimeout

WithTimeout adds the timeout to the fido configuration params

func (*FIDOConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FIDOConfigurationReader

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

FIDOConfigurationReader is a Reader for the FIDOConfiguration structure.

func (*FIDOConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFIDOU2FAuthenticationForbidden

type GetFIDOU2FAuthenticationForbidden struct {
	Payload *models.ErrorResponse
}

GetFIDOU2FAuthenticationForbidden handles this case with default header values.

Invalid details provided hence access denied.

func NewGetFIDOU2FAuthenticationForbidden

func NewGetFIDOU2FAuthenticationForbidden() *GetFIDOU2FAuthenticationForbidden

NewGetFIDOU2FAuthenticationForbidden creates a GetFIDOU2FAuthenticationForbidden with default headers values

func (*GetFIDOU2FAuthenticationForbidden) Error

func (*GetFIDOU2FAuthenticationForbidden) GetPayload

type GetFIDOU2FAuthenticationInternalServerError

type GetFIDOU2FAuthenticationInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFIDOU2FAuthenticationInternalServerError handles this case with default header values.

Invalid parameters provided to endpoint.

func NewGetFIDOU2FAuthenticationInternalServerError

func NewGetFIDOU2FAuthenticationInternalServerError() *GetFIDOU2FAuthenticationInternalServerError

NewGetFIDOU2FAuthenticationInternalServerError creates a GetFIDOU2FAuthenticationInternalServerError with default headers values

func (*GetFIDOU2FAuthenticationInternalServerError) Error

func (*GetFIDOU2FAuthenticationInternalServerError) GetPayload

type GetFIDOU2FAuthenticationNotFound

type GetFIDOU2FAuthenticationNotFound struct {
	Payload *models.ErrorResponse
}

GetFIDOU2FAuthenticationNotFound handles this case with default header values.

Invalid parameters provided to endpoint.

func NewGetFIDOU2FAuthenticationNotFound

func NewGetFIDOU2FAuthenticationNotFound() *GetFIDOU2FAuthenticationNotFound

NewGetFIDOU2FAuthenticationNotFound creates a GetFIDOU2FAuthenticationNotFound with default headers values

func (*GetFIDOU2FAuthenticationNotFound) Error

func (*GetFIDOU2FAuthenticationNotFound) GetPayload

type GetFIDOU2FAuthenticationOK

type GetFIDOU2FAuthenticationOK struct {
	Payload *models.AuthenticateRequestMessage
}

GetFIDOU2FAuthenticationOK handles this case with default header values.

OK

func NewGetFIDOU2FAuthenticationOK

func NewGetFIDOU2FAuthenticationOK() *GetFIDOU2FAuthenticationOK

NewGetFIDOU2FAuthenticationOK creates a GetFIDOU2FAuthenticationOK with default headers values

func (*GetFIDOU2FAuthenticationOK) Error

func (*GetFIDOU2FAuthenticationOK) GetPayload

type GetFIDOU2FAuthenticationParams

type GetFIDOU2FAuthenticationParams struct {

	/*Application
	  The application id that the RP would like to assert.

	*/
	Application *string
	/*Keyhandle*/
	Keyhandle *string
	/*SessionID*/
	SessionID *string
	/*Username*/
	Username string

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

GetFIDOU2FAuthenticationParams contains all the parameters to send to the API endpoint for the get fido u2f authentication operation typically these are written to a http.Request

func NewGetFIDOU2FAuthenticationParams

func NewGetFIDOU2FAuthenticationParams() *GetFIDOU2FAuthenticationParams

NewGetFIDOU2FAuthenticationParams creates a new GetFIDOU2FAuthenticationParams object with the default values initialized.

func NewGetFIDOU2FAuthenticationParamsWithContext

func NewGetFIDOU2FAuthenticationParamsWithContext(ctx context.Context) *GetFIDOU2FAuthenticationParams

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

func NewGetFIDOU2FAuthenticationParamsWithHTTPClient

func NewGetFIDOU2FAuthenticationParamsWithHTTPClient(client *http.Client) *GetFIDOU2FAuthenticationParams

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

func NewGetFIDOU2FAuthenticationParamsWithTimeout

func NewGetFIDOU2FAuthenticationParamsWithTimeout(timeout time.Duration) *GetFIDOU2FAuthenticationParams

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

func (*GetFIDOU2FAuthenticationParams) SetApplication

func (o *GetFIDOU2FAuthenticationParams) SetApplication(application *string)

SetApplication adds the application to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) SetContext

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

SetContext adds the context to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) SetKeyhandle

func (o *GetFIDOU2FAuthenticationParams) SetKeyhandle(keyhandle *string)

SetKeyhandle adds the keyhandle to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) SetSessionID

func (o *GetFIDOU2FAuthenticationParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) SetTimeout

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

SetTimeout adds the timeout to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) SetUsername

func (o *GetFIDOU2FAuthenticationParams) SetUsername(username string)

SetUsername adds the username to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithApplication

func (o *GetFIDOU2FAuthenticationParams) WithApplication(application *string) *GetFIDOU2FAuthenticationParams

WithApplication adds the application to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithContext

WithContext adds the context to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithKeyhandle

WithKeyhandle adds the keyhandle to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithSessionID

WithSessionID adds the sessionID to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithTimeout

WithTimeout adds the timeout to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WithUsername

WithUsername adds the username to the get fido u2f authentication params

func (*GetFIDOU2FAuthenticationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFIDOU2FAuthenticationReader

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

GetFIDOU2FAuthenticationReader is a Reader for the GetFIDOU2FAuthentication structure.

func (*GetFIDOU2FAuthenticationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFIDOU2FRegistrationForbidden

type GetFIDOU2FRegistrationForbidden struct {
	Payload *models.ErrorResponse
}

GetFIDOU2FRegistrationForbidden handles this case with default header values.

Invalid details provided hence access denied.

func NewGetFIDOU2FRegistrationForbidden

func NewGetFIDOU2FRegistrationForbidden() *GetFIDOU2FRegistrationForbidden

NewGetFIDOU2FRegistrationForbidden creates a GetFIDOU2FRegistrationForbidden with default headers values

func (*GetFIDOU2FRegistrationForbidden) Error

func (*GetFIDOU2FRegistrationForbidden) GetPayload

type GetFIDOU2FRegistrationInternalServerError

type GetFIDOU2FRegistrationInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFIDOU2FRegistrationInternalServerError handles this case with default header values.

Invalid parameters provided to endpoint.

func NewGetFIDOU2FRegistrationInternalServerError

func NewGetFIDOU2FRegistrationInternalServerError() *GetFIDOU2FRegistrationInternalServerError

NewGetFIDOU2FRegistrationInternalServerError creates a GetFIDOU2FRegistrationInternalServerError with default headers values

func (*GetFIDOU2FRegistrationInternalServerError) Error

func (*GetFIDOU2FRegistrationInternalServerError) GetPayload

type GetFIDOU2FRegistrationNotAcceptable

type GetFIDOU2FRegistrationNotAcceptable struct {
	Payload *models.ErrorResponse
}

GetFIDOU2FRegistrationNotAcceptable handles this case with default header values.

Invalid parameters provided to endpoint.

func NewGetFIDOU2FRegistrationNotAcceptable

func NewGetFIDOU2FRegistrationNotAcceptable() *GetFIDOU2FRegistrationNotAcceptable

NewGetFIDOU2FRegistrationNotAcceptable creates a GetFIDOU2FRegistrationNotAcceptable with default headers values

func (*GetFIDOU2FRegistrationNotAcceptable) Error

func (*GetFIDOU2FRegistrationNotAcceptable) GetPayload

type GetFIDOU2FRegistrationOK

type GetFIDOU2FRegistrationOK struct {
	Payload *models.RegisterRequestMessage
}

GetFIDOU2FRegistrationOK handles this case with default header values.

OK

func NewGetFIDOU2FRegistrationOK

func NewGetFIDOU2FRegistrationOK() *GetFIDOU2FRegistrationOK

NewGetFIDOU2FRegistrationOK creates a GetFIDOU2FRegistrationOK with default headers values

func (*GetFIDOU2FRegistrationOK) Error

func (o *GetFIDOU2FRegistrationOK) Error() string

func (*GetFIDOU2FRegistrationOK) GetPayload

type GetFIDOU2FRegistrationParams

type GetFIDOU2FRegistrationParams struct {

	/*Application
	  The application id that the RP would like to assert.

	*/
	Application *string
	/*EnrollmentCode*/
	EnrollmentCode *string
	/*SessionID*/
	SessionID *string
	/*Username*/
	Username string

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

GetFIDOU2FRegistrationParams contains all the parameters to send to the API endpoint for the get fido u2f registration operation typically these are written to a http.Request

func NewGetFIDOU2FRegistrationParams

func NewGetFIDOU2FRegistrationParams() *GetFIDOU2FRegistrationParams

NewGetFIDOU2FRegistrationParams creates a new GetFIDOU2FRegistrationParams object with the default values initialized.

func NewGetFIDOU2FRegistrationParamsWithContext

func NewGetFIDOU2FRegistrationParamsWithContext(ctx context.Context) *GetFIDOU2FRegistrationParams

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

func NewGetFIDOU2FRegistrationParamsWithHTTPClient

func NewGetFIDOU2FRegistrationParamsWithHTTPClient(client *http.Client) *GetFIDOU2FRegistrationParams

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

func NewGetFIDOU2FRegistrationParamsWithTimeout

func NewGetFIDOU2FRegistrationParamsWithTimeout(timeout time.Duration) *GetFIDOU2FRegistrationParams

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

func (*GetFIDOU2FRegistrationParams) SetApplication

func (o *GetFIDOU2FRegistrationParams) SetApplication(application *string)

SetApplication adds the application to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) SetContext

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

SetContext adds the context to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) SetEnrollmentCode

func (o *GetFIDOU2FRegistrationParams) SetEnrollmentCode(enrollmentCode *string)

SetEnrollmentCode adds the enrollmentCode to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) SetSessionID

func (o *GetFIDOU2FRegistrationParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) SetUsername

func (o *GetFIDOU2FRegistrationParams) SetUsername(username string)

SetUsername adds the username to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithApplication

func (o *GetFIDOU2FRegistrationParams) WithApplication(application *string) *GetFIDOU2FRegistrationParams

WithApplication adds the application to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithContext

WithContext adds the context to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithEnrollmentCode

func (o *GetFIDOU2FRegistrationParams) WithEnrollmentCode(enrollmentCode *string) *GetFIDOU2FRegistrationParams

WithEnrollmentCode adds the enrollmentCode to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithSessionID

WithSessionID adds the sessionID to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithTimeout

WithTimeout adds the timeout to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WithUsername

WithUsername adds the username to the get fido u2f registration params

func (*GetFIDOU2FRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFIDOU2FRegistrationReader

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

GetFIDOU2FRegistrationReader is a Reader for the GetFIDOU2FRegistration structure.

func (*GetFIDOU2FRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostFIDOU2FAuthenticationForbidden

type PostFIDOU2FAuthenticationForbidden struct {
	Payload *models.ErrorResponse
}

PostFIDOU2FAuthenticationForbidden handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPostFIDOU2FAuthenticationForbidden

func NewPostFIDOU2FAuthenticationForbidden() *PostFIDOU2FAuthenticationForbidden

NewPostFIDOU2FAuthenticationForbidden creates a PostFIDOU2FAuthenticationForbidden with default headers values

func (*PostFIDOU2FAuthenticationForbidden) Error

func (*PostFIDOU2FAuthenticationForbidden) GetPayload

type PostFIDOU2FAuthenticationInternalServerError

type PostFIDOU2FAuthenticationInternalServerError struct {
	Payload *models.ErrorResponse
}

PostFIDOU2FAuthenticationInternalServerError handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPostFIDOU2FAuthenticationInternalServerError

func NewPostFIDOU2FAuthenticationInternalServerError() *PostFIDOU2FAuthenticationInternalServerError

NewPostFIDOU2FAuthenticationInternalServerError creates a PostFIDOU2FAuthenticationInternalServerError with default headers values

func (*PostFIDOU2FAuthenticationInternalServerError) Error

func (*PostFIDOU2FAuthenticationInternalServerError) GetPayload

type PostFIDOU2FAuthenticationOK

type PostFIDOU2FAuthenticationOK struct {
	Payload *models.AuthenticateStatus
}

PostFIDOU2FAuthenticationOK handles this case with default header values.

OK

func NewPostFIDOU2FAuthenticationOK

func NewPostFIDOU2FAuthenticationOK() *PostFIDOU2FAuthenticationOK

NewPostFIDOU2FAuthenticationOK creates a PostFIDOU2FAuthenticationOK with default headers values

func (*PostFIDOU2FAuthenticationOK) Error

func (*PostFIDOU2FAuthenticationOK) GetPayload

type PostFIDOU2FAuthenticationParams

type PostFIDOU2FAuthenticationParams struct {

	/*Body*/
	Body *models.GetClientTokenParams

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

PostFIDOU2FAuthenticationParams contains all the parameters to send to the API endpoint for the post fido u2f authentication operation typically these are written to a http.Request

func NewPostFIDOU2FAuthenticationParams

func NewPostFIDOU2FAuthenticationParams() *PostFIDOU2FAuthenticationParams

NewPostFIDOU2FAuthenticationParams creates a new PostFIDOU2FAuthenticationParams object with the default values initialized.

func NewPostFIDOU2FAuthenticationParamsWithContext

func NewPostFIDOU2FAuthenticationParamsWithContext(ctx context.Context) *PostFIDOU2FAuthenticationParams

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

func NewPostFIDOU2FAuthenticationParamsWithHTTPClient

func NewPostFIDOU2FAuthenticationParamsWithHTTPClient(client *http.Client) *PostFIDOU2FAuthenticationParams

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

func NewPostFIDOU2FAuthenticationParamsWithTimeout

func NewPostFIDOU2FAuthenticationParamsWithTimeout(timeout time.Duration) *PostFIDOU2FAuthenticationParams

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

func (*PostFIDOU2FAuthenticationParams) SetBody

SetBody adds the body to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) SetContext

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

SetContext adds the context to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) SetTimeout

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

SetTimeout adds the timeout to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) WithBody

WithBody adds the body to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) WithContext

WithContext adds the context to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) WithTimeout

WithTimeout adds the timeout to the post fido u2f authentication params

func (*PostFIDOU2FAuthenticationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostFIDOU2FAuthenticationReader

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

PostFIDOU2FAuthenticationReader is a Reader for the PostFIDOU2FAuthentication structure.

func (*PostFIDOU2FAuthenticationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostFIDOU2FRegistrationForbidden

type PostFIDOU2FRegistrationForbidden struct {
	Payload *models.ErrorResponse
}

PostFIDOU2FRegistrationForbidden handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPostFIDOU2FRegistrationForbidden

func NewPostFIDOU2FRegistrationForbidden() *PostFIDOU2FRegistrationForbidden

NewPostFIDOU2FRegistrationForbidden creates a PostFIDOU2FRegistrationForbidden with default headers values

func (*PostFIDOU2FRegistrationForbidden) Error

func (*PostFIDOU2FRegistrationForbidden) GetPayload

type PostFIDOU2FRegistrationInternalServerError

type PostFIDOU2FRegistrationInternalServerError struct {
	Payload *models.ErrorResponse
}

PostFIDOU2FRegistrationInternalServerError handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPostFIDOU2FRegistrationInternalServerError

func NewPostFIDOU2FRegistrationInternalServerError() *PostFIDOU2FRegistrationInternalServerError

NewPostFIDOU2FRegistrationInternalServerError creates a PostFIDOU2FRegistrationInternalServerError with default headers values

func (*PostFIDOU2FRegistrationInternalServerError) Error

func (*PostFIDOU2FRegistrationInternalServerError) GetPayload

type PostFIDOU2FRegistrationNotAcceptable

type PostFIDOU2FRegistrationNotAcceptable struct {
	Payload *models.ErrorResponse
}

PostFIDOU2FRegistrationNotAcceptable handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPostFIDOU2FRegistrationNotAcceptable

func NewPostFIDOU2FRegistrationNotAcceptable() *PostFIDOU2FRegistrationNotAcceptable

NewPostFIDOU2FRegistrationNotAcceptable creates a PostFIDOU2FRegistrationNotAcceptable with default headers values

func (*PostFIDOU2FRegistrationNotAcceptable) Error

func (*PostFIDOU2FRegistrationNotAcceptable) GetPayload

type PostFIDOU2FRegistrationOK

type PostFIDOU2FRegistrationOK struct {
	Payload *models.RegisterStatus
}

PostFIDOU2FRegistrationOK handles this case with default header values.

OK

func NewPostFIDOU2FRegistrationOK

func NewPostFIDOU2FRegistrationOK() *PostFIDOU2FRegistrationOK

NewPostFIDOU2FRegistrationOK creates a PostFIDOU2FRegistrationOK with default headers values

func (*PostFIDOU2FRegistrationOK) Error

func (o *PostFIDOU2FRegistrationOK) Error() string

func (*PostFIDOU2FRegistrationOK) GetPayload

type PostFIDOU2FRegistrationParams

type PostFIDOU2FRegistrationParams struct {

	/*Body*/
	Body *models.RegisterSiteParams

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

PostFIDOU2FRegistrationParams contains all the parameters to send to the API endpoint for the post fido u2f registration operation typically these are written to a http.Request

func NewPostFIDOU2FRegistrationParams

func NewPostFIDOU2FRegistrationParams() *PostFIDOU2FRegistrationParams

NewPostFIDOU2FRegistrationParams creates a new PostFIDOU2FRegistrationParams object with the default values initialized.

func NewPostFIDOU2FRegistrationParamsWithContext

func NewPostFIDOU2FRegistrationParamsWithContext(ctx context.Context) *PostFIDOU2FRegistrationParams

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

func NewPostFIDOU2FRegistrationParamsWithHTTPClient

func NewPostFIDOU2FRegistrationParamsWithHTTPClient(client *http.Client) *PostFIDOU2FRegistrationParams

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

func NewPostFIDOU2FRegistrationParamsWithTimeout

func NewPostFIDOU2FRegistrationParamsWithTimeout(timeout time.Duration) *PostFIDOU2FRegistrationParams

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

func (*PostFIDOU2FRegistrationParams) SetBody

SetBody adds the body to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) SetContext

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

SetContext adds the context to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) WithBody

WithBody adds the body to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) WithContext

WithContext adds the context to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) WithTimeout

WithTimeout adds the timeout to the post fido u2f registration params

func (*PostFIDOU2FRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostFIDOU2FRegistrationReader

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

PostFIDOU2FRegistrationReader is a Reader for the PostFIDOU2FRegistration structure.

func (*PostFIDOU2FRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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