Documentation
¶
Index ¶
- type Client
- func (a *Client) FIDOConfiguration(params *FIDOConfigurationParams) (*FIDOConfigurationOK, error)
- func (a *Client) GetFIDOU2FAuthentication(params *GetFIDOU2FAuthenticationParams) (*GetFIDOU2FAuthenticationOK, error)
- func (a *Client) GetFIDOU2FRegistration(params *GetFIDOU2FRegistrationParams) (*GetFIDOU2FRegistrationOK, error)
- func (a *Client) PostFIDOU2FAuthentication(params *PostFIDOU2FAuthenticationParams) (*PostFIDOU2FAuthenticationOK, error)
- func (a *Client) PostFIDOU2FRegistration(params *PostFIDOU2FRegistrationParams) (*PostFIDOU2FRegistrationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type FIDOConfigurationForbidden
- type FIDOConfigurationInternalServerError
- type FIDOConfigurationOK
- type FIDOConfigurationParams
- func NewFIDOConfigurationParams() *FIDOConfigurationParams
- func NewFIDOConfigurationParamsWithContext(ctx context.Context) *FIDOConfigurationParams
- func NewFIDOConfigurationParamsWithHTTPClient(client *http.Client) *FIDOConfigurationParams
- func NewFIDOConfigurationParamsWithTimeout(timeout time.Duration) *FIDOConfigurationParams
- func (o *FIDOConfigurationParams) SetContext(ctx context.Context)
- func (o *FIDOConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *FIDOConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *FIDOConfigurationParams) WithContext(ctx context.Context) *FIDOConfigurationParams
- func (o *FIDOConfigurationParams) WithHTTPClient(client *http.Client) *FIDOConfigurationParams
- func (o *FIDOConfigurationParams) WithTimeout(timeout time.Duration) *FIDOConfigurationParams
- func (o *FIDOConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FIDOConfigurationReader
- type GetFIDOU2FAuthenticationForbidden
- type GetFIDOU2FAuthenticationInternalServerError
- type GetFIDOU2FAuthenticationNotFound
- type GetFIDOU2FAuthenticationOK
- type GetFIDOU2FAuthenticationParams
- func NewGetFIDOU2FAuthenticationParams() *GetFIDOU2FAuthenticationParams
- func NewGetFIDOU2FAuthenticationParamsWithContext(ctx context.Context) *GetFIDOU2FAuthenticationParams
- func NewGetFIDOU2FAuthenticationParamsWithHTTPClient(client *http.Client) *GetFIDOU2FAuthenticationParams
- func NewGetFIDOU2FAuthenticationParamsWithTimeout(timeout time.Duration) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) SetApplication(application *string)
- func (o *GetFIDOU2FAuthenticationParams) SetContext(ctx context.Context)
- func (o *GetFIDOU2FAuthenticationParams) SetHTTPClient(client *http.Client)
- func (o *GetFIDOU2FAuthenticationParams) SetKeyhandle(keyhandle *string)
- func (o *GetFIDOU2FAuthenticationParams) SetSessionID(sessionID *string)
- func (o *GetFIDOU2FAuthenticationParams) SetTimeout(timeout time.Duration)
- func (o *GetFIDOU2FAuthenticationParams) SetUsername(username string)
- func (o *GetFIDOU2FAuthenticationParams) WithApplication(application *string) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WithContext(ctx context.Context) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WithHTTPClient(client *http.Client) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WithKeyhandle(keyhandle *string) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WithSessionID(sessionID *string) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WithTimeout(timeout time.Duration) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WithUsername(username string) *GetFIDOU2FAuthenticationParams
- func (o *GetFIDOU2FAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFIDOU2FAuthenticationReader
- type GetFIDOU2FRegistrationForbidden
- type GetFIDOU2FRegistrationInternalServerError
- type GetFIDOU2FRegistrationNotAcceptable
- type GetFIDOU2FRegistrationOK
- type GetFIDOU2FRegistrationParams
- func NewGetFIDOU2FRegistrationParams() *GetFIDOU2FRegistrationParams
- func NewGetFIDOU2FRegistrationParamsWithContext(ctx context.Context) *GetFIDOU2FRegistrationParams
- func NewGetFIDOU2FRegistrationParamsWithHTTPClient(client *http.Client) *GetFIDOU2FRegistrationParams
- func NewGetFIDOU2FRegistrationParamsWithTimeout(timeout time.Duration) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) SetApplication(application *string)
- func (o *GetFIDOU2FRegistrationParams) SetContext(ctx context.Context)
- func (o *GetFIDOU2FRegistrationParams) SetEnrollmentCode(enrollmentCode *string)
- func (o *GetFIDOU2FRegistrationParams) SetHTTPClient(client *http.Client)
- func (o *GetFIDOU2FRegistrationParams) SetSessionID(sessionID *string)
- func (o *GetFIDOU2FRegistrationParams) SetTimeout(timeout time.Duration)
- func (o *GetFIDOU2FRegistrationParams) SetUsername(username string)
- func (o *GetFIDOU2FRegistrationParams) WithApplication(application *string) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WithContext(ctx context.Context) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WithEnrollmentCode(enrollmentCode *string) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WithHTTPClient(client *http.Client) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WithSessionID(sessionID *string) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WithTimeout(timeout time.Duration) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WithUsername(username string) *GetFIDOU2FRegistrationParams
- func (o *GetFIDOU2FRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFIDOU2FRegistrationReader
- type PostFIDOU2FAuthenticationForbidden
- type PostFIDOU2FAuthenticationInternalServerError
- type PostFIDOU2FAuthenticationOK
- type PostFIDOU2FAuthenticationParams
- func NewPostFIDOU2FAuthenticationParams() *PostFIDOU2FAuthenticationParams
- func NewPostFIDOU2FAuthenticationParamsWithContext(ctx context.Context) *PostFIDOU2FAuthenticationParams
- func NewPostFIDOU2FAuthenticationParamsWithHTTPClient(client *http.Client) *PostFIDOU2FAuthenticationParams
- func NewPostFIDOU2FAuthenticationParamsWithTimeout(timeout time.Duration) *PostFIDOU2FAuthenticationParams
- func (o *PostFIDOU2FAuthenticationParams) SetBody(body *models.GetClientTokenParams)
- func (o *PostFIDOU2FAuthenticationParams) SetContext(ctx context.Context)
- func (o *PostFIDOU2FAuthenticationParams) SetHTTPClient(client *http.Client)
- func (o *PostFIDOU2FAuthenticationParams) SetTimeout(timeout time.Duration)
- func (o *PostFIDOU2FAuthenticationParams) WithBody(body *models.GetClientTokenParams) *PostFIDOU2FAuthenticationParams
- func (o *PostFIDOU2FAuthenticationParams) WithContext(ctx context.Context) *PostFIDOU2FAuthenticationParams
- func (o *PostFIDOU2FAuthenticationParams) WithHTTPClient(client *http.Client) *PostFIDOU2FAuthenticationParams
- func (o *PostFIDOU2FAuthenticationParams) WithTimeout(timeout time.Duration) *PostFIDOU2FAuthenticationParams
- func (o *PostFIDOU2FAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostFIDOU2FAuthenticationReader
- type PostFIDOU2FRegistrationForbidden
- type PostFIDOU2FRegistrationInternalServerError
- type PostFIDOU2FRegistrationNotAcceptable
- type PostFIDOU2FRegistrationOK
- type PostFIDOU2FRegistrationParams
- func NewPostFIDOU2FRegistrationParams() *PostFIDOU2FRegistrationParams
- func NewPostFIDOU2FRegistrationParamsWithContext(ctx context.Context) *PostFIDOU2FRegistrationParams
- func NewPostFIDOU2FRegistrationParamsWithHTTPClient(client *http.Client) *PostFIDOU2FRegistrationParams
- func NewPostFIDOU2FRegistrationParamsWithTimeout(timeout time.Duration) *PostFIDOU2FRegistrationParams
- func (o *PostFIDOU2FRegistrationParams) SetBody(body *models.RegisterSiteParams)
- func (o *PostFIDOU2FRegistrationParams) SetContext(ctx context.Context)
- func (o *PostFIDOU2FRegistrationParams) SetHTTPClient(client *http.Client)
- func (o *PostFIDOU2FRegistrationParams) SetTimeout(timeout time.Duration)
- func (o *PostFIDOU2FRegistrationParams) WithBody(body *models.RegisterSiteParams) *PostFIDOU2FRegistrationParams
- func (o *PostFIDOU2FRegistrationParams) WithContext(ctx context.Context) *PostFIDOU2FRegistrationParams
- func (o *PostFIDOU2FRegistrationParams) WithHTTPClient(client *http.Client) *PostFIDOU2FRegistrationParams
- func (o *PostFIDOU2FRegistrationParams) WithTimeout(timeout time.Duration) *PostFIDOU2FRegistrationParams
- func (o *PostFIDOU2FRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostFIDOU2FRegistrationReader
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 (o *FIDOConfigurationForbidden) Error() string
func (*FIDOConfigurationForbidden) GetPayload ¶
func (o *FIDOConfigurationForbidden) GetPayload() *models.ErrorResponse
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 (o *FIDOConfigurationInternalServerError) Error() string
func (*FIDOConfigurationInternalServerError) GetPayload ¶
func (o *FIDOConfigurationInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *FIDOConfigurationParams) WithContext(ctx context.Context) *FIDOConfigurationParams
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 ¶
func (o *FIDOConfigurationParams) WithTimeout(timeout time.Duration) *FIDOConfigurationParams
WithTimeout adds the timeout to the fido configuration params
func (*FIDOConfigurationParams) WriteToRequest ¶
func (o *FIDOConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetFIDOU2FAuthenticationForbidden) Error() string
func (*GetFIDOU2FAuthenticationForbidden) GetPayload ¶
func (o *GetFIDOU2FAuthenticationForbidden) GetPayload() *models.ErrorResponse
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 (o *GetFIDOU2FAuthenticationInternalServerError) Error() string
func (*GetFIDOU2FAuthenticationInternalServerError) GetPayload ¶
func (o *GetFIDOU2FAuthenticationInternalServerError) GetPayload() *models.ErrorResponse
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 (o *GetFIDOU2FAuthenticationNotFound) Error() string
func (*GetFIDOU2FAuthenticationNotFound) GetPayload ¶
func (o *GetFIDOU2FAuthenticationNotFound) GetPayload() *models.ErrorResponse
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 (o *GetFIDOU2FAuthenticationOK) Error() string
func (*GetFIDOU2FAuthenticationOK) GetPayload ¶
func (o *GetFIDOU2FAuthenticationOK) GetPayload() *models.AuthenticateRequestMessage
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 ¶
func (o *GetFIDOU2FAuthenticationParams) WithContext(ctx context.Context) *GetFIDOU2FAuthenticationParams
WithContext adds the context to the get fido u2f authentication params
func (*GetFIDOU2FAuthenticationParams) WithHTTPClient ¶
func (o *GetFIDOU2FAuthenticationParams) WithHTTPClient(client *http.Client) *GetFIDOU2FAuthenticationParams
WithHTTPClient adds the HTTPClient to the get fido u2f authentication params
func (*GetFIDOU2FAuthenticationParams) WithKeyhandle ¶
func (o *GetFIDOU2FAuthenticationParams) WithKeyhandle(keyhandle *string) *GetFIDOU2FAuthenticationParams
WithKeyhandle adds the keyhandle to the get fido u2f authentication params
func (*GetFIDOU2FAuthenticationParams) WithSessionID ¶
func (o *GetFIDOU2FAuthenticationParams) WithSessionID(sessionID *string) *GetFIDOU2FAuthenticationParams
WithSessionID adds the sessionID to the get fido u2f authentication params
func (*GetFIDOU2FAuthenticationParams) WithTimeout ¶
func (o *GetFIDOU2FAuthenticationParams) WithTimeout(timeout time.Duration) *GetFIDOU2FAuthenticationParams
WithTimeout adds the timeout to the get fido u2f authentication params
func (*GetFIDOU2FAuthenticationParams) WithUsername ¶
func (o *GetFIDOU2FAuthenticationParams) WithUsername(username string) *GetFIDOU2FAuthenticationParams
WithUsername adds the username to the get fido u2f authentication params
func (*GetFIDOU2FAuthenticationParams) WriteToRequest ¶
func (o *GetFIDOU2FAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetFIDOU2FRegistrationForbidden) Error() string
func (*GetFIDOU2FRegistrationForbidden) GetPayload ¶
func (o *GetFIDOU2FRegistrationForbidden) GetPayload() *models.ErrorResponse
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 (o *GetFIDOU2FRegistrationInternalServerError) Error() string
func (*GetFIDOU2FRegistrationInternalServerError) GetPayload ¶
func (o *GetFIDOU2FRegistrationInternalServerError) GetPayload() *models.ErrorResponse
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 (o *GetFIDOU2FRegistrationNotAcceptable) Error() string
func (*GetFIDOU2FRegistrationNotAcceptable) GetPayload ¶
func (o *GetFIDOU2FRegistrationNotAcceptable) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetFIDOU2FRegistrationOK) GetPayload() *models.RegisterRequestMessage
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 ¶
func (o *GetFIDOU2FRegistrationParams) WithContext(ctx context.Context) *GetFIDOU2FRegistrationParams
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 ¶
func (o *GetFIDOU2FRegistrationParams) WithHTTPClient(client *http.Client) *GetFIDOU2FRegistrationParams
WithHTTPClient adds the HTTPClient to the get fido u2f registration params
func (*GetFIDOU2FRegistrationParams) WithSessionID ¶
func (o *GetFIDOU2FRegistrationParams) WithSessionID(sessionID *string) *GetFIDOU2FRegistrationParams
WithSessionID adds the sessionID to the get fido u2f registration params
func (*GetFIDOU2FRegistrationParams) WithTimeout ¶
func (o *GetFIDOU2FRegistrationParams) WithTimeout(timeout time.Duration) *GetFIDOU2FRegistrationParams
WithTimeout adds the timeout to the get fido u2f registration params
func (*GetFIDOU2FRegistrationParams) WithUsername ¶
func (o *GetFIDOU2FRegistrationParams) WithUsername(username string) *GetFIDOU2FRegistrationParams
WithUsername adds the username to the get fido u2f registration params
func (*GetFIDOU2FRegistrationParams) WriteToRequest ¶
func (o *GetFIDOU2FRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostFIDOU2FAuthenticationForbidden) Error() string
func (*PostFIDOU2FAuthenticationForbidden) GetPayload ¶
func (o *PostFIDOU2FAuthenticationForbidden) GetPayload() *models.ErrorResponse
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 (o *PostFIDOU2FAuthenticationInternalServerError) Error() string
func (*PostFIDOU2FAuthenticationInternalServerError) GetPayload ¶
func (o *PostFIDOU2FAuthenticationInternalServerError) GetPayload() *models.ErrorResponse
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 (o *PostFIDOU2FAuthenticationOK) Error() string
func (*PostFIDOU2FAuthenticationOK) GetPayload ¶
func (o *PostFIDOU2FAuthenticationOK) GetPayload() *models.AuthenticateStatus
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 ¶
func (o *PostFIDOU2FAuthenticationParams) SetBody(body *models.GetClientTokenParams)
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 ¶
func (o *PostFIDOU2FAuthenticationParams) WithBody(body *models.GetClientTokenParams) *PostFIDOU2FAuthenticationParams
WithBody adds the body to the post fido u2f authentication params
func (*PostFIDOU2FAuthenticationParams) WithContext ¶
func (o *PostFIDOU2FAuthenticationParams) WithContext(ctx context.Context) *PostFIDOU2FAuthenticationParams
WithContext adds the context to the post fido u2f authentication params
func (*PostFIDOU2FAuthenticationParams) WithHTTPClient ¶
func (o *PostFIDOU2FAuthenticationParams) WithHTTPClient(client *http.Client) *PostFIDOU2FAuthenticationParams
WithHTTPClient adds the HTTPClient to the post fido u2f authentication params
func (*PostFIDOU2FAuthenticationParams) WithTimeout ¶
func (o *PostFIDOU2FAuthenticationParams) WithTimeout(timeout time.Duration) *PostFIDOU2FAuthenticationParams
WithTimeout adds the timeout to the post fido u2f authentication params
func (*PostFIDOU2FAuthenticationParams) WriteToRequest ¶
func (o *PostFIDOU2FAuthenticationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostFIDOU2FRegistrationForbidden) Error() string
func (*PostFIDOU2FRegistrationForbidden) GetPayload ¶
func (o *PostFIDOU2FRegistrationForbidden) GetPayload() *models.ErrorResponse
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 (o *PostFIDOU2FRegistrationInternalServerError) Error() string
func (*PostFIDOU2FRegistrationInternalServerError) GetPayload ¶
func (o *PostFIDOU2FRegistrationInternalServerError) GetPayload() *models.ErrorResponse
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 (o *PostFIDOU2FRegistrationNotAcceptable) Error() string
func (*PostFIDOU2FRegistrationNotAcceptable) GetPayload ¶
func (o *PostFIDOU2FRegistrationNotAcceptable) GetPayload() *models.ErrorResponse
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 ¶
func (o *PostFIDOU2FRegistrationOK) GetPayload() *models.RegisterStatus
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 ¶
func (o *PostFIDOU2FRegistrationParams) SetBody(body *models.RegisterSiteParams)
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 ¶
func (o *PostFIDOU2FRegistrationParams) WithBody(body *models.RegisterSiteParams) *PostFIDOU2FRegistrationParams
WithBody adds the body to the post fido u2f registration params
func (*PostFIDOU2FRegistrationParams) WithContext ¶
func (o *PostFIDOU2FRegistrationParams) WithContext(ctx context.Context) *PostFIDOU2FRegistrationParams
WithContext adds the context to the post fido u2f registration params
func (*PostFIDOU2FRegistrationParams) WithHTTPClient ¶
func (o *PostFIDOU2FRegistrationParams) WithHTTPClient(client *http.Client) *PostFIDOU2FRegistrationParams
WithHTTPClient adds the HTTPClient to the post fido u2f registration params
func (*PostFIDOU2FRegistrationParams) WithTimeout ¶
func (o *PostFIDOU2FRegistrationParams) WithTimeout(timeout time.Duration) *PostFIDOU2FRegistrationParams
WithTimeout adds the timeout to the post fido u2f registration params
func (*PostFIDOU2FRegistrationParams) WriteToRequest ¶
func (o *PostFIDOU2FRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- fido_configuration_parameters.go
- fido_configuration_responses.go
- fido_u2f_client.go
- get_fido_u2f_authentication_parameters.go
- get_fido_u2f_authentication_responses.go
- get_fido_u2f_registration_parameters.go
- get_fido_u2f_registration_responses.go
- post_fido_u2f_authentication_parameters.go
- post_fido_u2f_authentication_responses.go
- post_fido_u2f_registration_parameters.go
- post_fido_u2f_registration_responses.go