post_authn

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 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 AbortPostAuthnRequestForbidden

type AbortPostAuthnRequestForbidden struct {
	Payload *models.Error
}

AbortPostAuthnRequestForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAbortPostAuthnRequestForbidden

func NewAbortPostAuthnRequestForbidden() *AbortPostAuthnRequestForbidden

NewAbortPostAuthnRequestForbidden creates a AbortPostAuthnRequestForbidden with default headers values

func (*AbortPostAuthnRequestForbidden) Code

Code gets the status code for the abort post authn request forbidden response

func (*AbortPostAuthnRequestForbidden) Error

func (*AbortPostAuthnRequestForbidden) GetPayload

func (o *AbortPostAuthnRequestForbidden) GetPayload() *models.Error

func (*AbortPostAuthnRequestForbidden) IsClientError

func (o *AbortPostAuthnRequestForbidden) IsClientError() bool

IsClientError returns true when this abort post authn request forbidden response has a 4xx status code

func (*AbortPostAuthnRequestForbidden) IsCode

func (o *AbortPostAuthnRequestForbidden) IsCode(code int) bool

IsCode returns true when this abort post authn request forbidden response a status code equal to that given

func (*AbortPostAuthnRequestForbidden) IsRedirect

func (o *AbortPostAuthnRequestForbidden) IsRedirect() bool

IsRedirect returns true when this abort post authn request forbidden response has a 3xx status code

func (*AbortPostAuthnRequestForbidden) IsServerError

func (o *AbortPostAuthnRequestForbidden) IsServerError() bool

IsServerError returns true when this abort post authn request forbidden response has a 5xx status code

func (*AbortPostAuthnRequestForbidden) IsSuccess

func (o *AbortPostAuthnRequestForbidden) IsSuccess() bool

IsSuccess returns true when this abort post authn request forbidden response has a 2xx status code

func (*AbortPostAuthnRequestForbidden) String

type AbortPostAuthnRequestNotFound

type AbortPostAuthnRequestNotFound struct {
	Payload *models.Error
}

AbortPostAuthnRequestNotFound describes a response with status code 404, with default header values.

Not found

func NewAbortPostAuthnRequestNotFound

func NewAbortPostAuthnRequestNotFound() *AbortPostAuthnRequestNotFound

NewAbortPostAuthnRequestNotFound creates a AbortPostAuthnRequestNotFound with default headers values

func (*AbortPostAuthnRequestNotFound) Code

Code gets the status code for the abort post authn request not found response

func (*AbortPostAuthnRequestNotFound) Error

func (*AbortPostAuthnRequestNotFound) GetPayload

func (o *AbortPostAuthnRequestNotFound) GetPayload() *models.Error

func (*AbortPostAuthnRequestNotFound) IsClientError

func (o *AbortPostAuthnRequestNotFound) IsClientError() bool

IsClientError returns true when this abort post authn request not found response has a 4xx status code

func (*AbortPostAuthnRequestNotFound) IsCode

func (o *AbortPostAuthnRequestNotFound) IsCode(code int) bool

IsCode returns true when this abort post authn request not found response a status code equal to that given

func (*AbortPostAuthnRequestNotFound) IsRedirect

func (o *AbortPostAuthnRequestNotFound) IsRedirect() bool

IsRedirect returns true when this abort post authn request not found response has a 3xx status code

func (*AbortPostAuthnRequestNotFound) IsServerError

func (o *AbortPostAuthnRequestNotFound) IsServerError() bool

IsServerError returns true when this abort post authn request not found response has a 5xx status code

func (*AbortPostAuthnRequestNotFound) IsSuccess

func (o *AbortPostAuthnRequestNotFound) IsSuccess() bool

IsSuccess returns true when this abort post authn request not found response has a 2xx status code

func (*AbortPostAuthnRequestNotFound) String

type AbortPostAuthnRequestOK

type AbortPostAuthnRequestOK struct {
	Payload *models.PostAuthnAborted
}

AbortPostAuthnRequestOK describes a response with status code 200, with default header values.

Login aborted

func NewAbortPostAuthnRequestOK

func NewAbortPostAuthnRequestOK() *AbortPostAuthnRequestOK

NewAbortPostAuthnRequestOK creates a AbortPostAuthnRequestOK with default headers values

func (*AbortPostAuthnRequestOK) Code

func (o *AbortPostAuthnRequestOK) Code() int

Code gets the status code for the abort post authn request o k response

func (*AbortPostAuthnRequestOK) Error

func (o *AbortPostAuthnRequestOK) Error() string

func (*AbortPostAuthnRequestOK) GetPayload

func (*AbortPostAuthnRequestOK) IsClientError

func (o *AbortPostAuthnRequestOK) IsClientError() bool

IsClientError returns true when this abort post authn request o k response has a 4xx status code

func (*AbortPostAuthnRequestOK) IsCode

func (o *AbortPostAuthnRequestOK) IsCode(code int) bool

IsCode returns true when this abort post authn request o k response a status code equal to that given

func (*AbortPostAuthnRequestOK) IsRedirect

func (o *AbortPostAuthnRequestOK) IsRedirect() bool

IsRedirect returns true when this abort post authn request o k response has a 3xx status code

func (*AbortPostAuthnRequestOK) IsServerError

func (o *AbortPostAuthnRequestOK) IsServerError() bool

IsServerError returns true when this abort post authn request o k response has a 5xx status code

func (*AbortPostAuthnRequestOK) IsSuccess

func (o *AbortPostAuthnRequestOK) IsSuccess() bool

IsSuccess returns true when this abort post authn request o k response has a 2xx status code

func (*AbortPostAuthnRequestOK) String

func (o *AbortPostAuthnRequestOK) String() string

type AbortPostAuthnRequestParams

type AbortPostAuthnRequestParams struct {

	// AbortPostAuthn.
	AbortPostAuthn *models.AbortPostAuthnSession

	// Login.
	Login string

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

AbortPostAuthnRequestParams contains all the parameters to send to the API endpoint

for the abort post authn request operation.

Typically these are written to a http.Request.

func NewAbortPostAuthnRequestParams

func NewAbortPostAuthnRequestParams() *AbortPostAuthnRequestParams

NewAbortPostAuthnRequestParams creates a new AbortPostAuthnRequestParams 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 NewAbortPostAuthnRequestParamsWithContext

func NewAbortPostAuthnRequestParamsWithContext(ctx context.Context) *AbortPostAuthnRequestParams

NewAbortPostAuthnRequestParamsWithContext creates a new AbortPostAuthnRequestParams object with the ability to set a context for a request.

func NewAbortPostAuthnRequestParamsWithHTTPClient

func NewAbortPostAuthnRequestParamsWithHTTPClient(client *http.Client) *AbortPostAuthnRequestParams

NewAbortPostAuthnRequestParamsWithHTTPClient creates a new AbortPostAuthnRequestParams object with the ability to set a custom HTTPClient for a request.

func NewAbortPostAuthnRequestParamsWithTimeout

func NewAbortPostAuthnRequestParamsWithTimeout(timeout time.Duration) *AbortPostAuthnRequestParams

NewAbortPostAuthnRequestParamsWithTimeout creates a new AbortPostAuthnRequestParams object with the ability to set a timeout on a request.

func (*AbortPostAuthnRequestParams) SetAbortPostAuthn

func (o *AbortPostAuthnRequestParams) SetAbortPostAuthn(abortPostAuthn *models.AbortPostAuthnSession)

SetAbortPostAuthn adds the abortPostAuthn to the abort post authn request params

func (*AbortPostAuthnRequestParams) SetContext

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

SetContext adds the context to the abort post authn request params

func (*AbortPostAuthnRequestParams) SetDefaults

func (o *AbortPostAuthnRequestParams) SetDefaults()

SetDefaults hydrates default values in the abort post authn request params (not the query body).

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

func (*AbortPostAuthnRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the abort post authn request params

func (*AbortPostAuthnRequestParams) SetLogin

func (o *AbortPostAuthnRequestParams) SetLogin(login string)

SetLogin adds the login to the abort post authn request params

func (*AbortPostAuthnRequestParams) SetTimeout

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

SetTimeout adds the timeout to the abort post authn request params

func (*AbortPostAuthnRequestParams) WithAbortPostAuthn

WithAbortPostAuthn adds the abortPostAuthn to the abort post authn request params

func (*AbortPostAuthnRequestParams) WithContext

WithContext adds the context to the abort post authn request params

func (*AbortPostAuthnRequestParams) WithDefaults

WithDefaults hydrates default values in the abort post authn request params (not the query body).

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

func (*AbortPostAuthnRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the abort post authn request params

func (*AbortPostAuthnRequestParams) WithLogin

WithLogin adds the login to the abort post authn request params

func (*AbortPostAuthnRequestParams) WithTimeout

WithTimeout adds the timeout to the abort post authn request params

func (*AbortPostAuthnRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AbortPostAuthnRequestReader

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

AbortPostAuthnRequestReader is a Reader for the AbortPostAuthnRequest structure.

func (*AbortPostAuthnRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AbortPostAuthnRequestTooManyRequests

type AbortPostAuthnRequestTooManyRequests struct {
	Payload *models.Error
}

AbortPostAuthnRequestTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewAbortPostAuthnRequestTooManyRequests

func NewAbortPostAuthnRequestTooManyRequests() *AbortPostAuthnRequestTooManyRequests

NewAbortPostAuthnRequestTooManyRequests creates a AbortPostAuthnRequestTooManyRequests with default headers values

func (*AbortPostAuthnRequestTooManyRequests) Code

Code gets the status code for the abort post authn request too many requests response

func (*AbortPostAuthnRequestTooManyRequests) Error

func (*AbortPostAuthnRequestTooManyRequests) GetPayload

func (*AbortPostAuthnRequestTooManyRequests) IsClientError

func (o *AbortPostAuthnRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this abort post authn request too many requests response has a 4xx status code

func (*AbortPostAuthnRequestTooManyRequests) IsCode

IsCode returns true when this abort post authn request too many requests response a status code equal to that given

func (*AbortPostAuthnRequestTooManyRequests) IsRedirect

IsRedirect returns true when this abort post authn request too many requests response has a 3xx status code

func (*AbortPostAuthnRequestTooManyRequests) IsServerError

func (o *AbortPostAuthnRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this abort post authn request too many requests response has a 5xx status code

func (*AbortPostAuthnRequestTooManyRequests) IsSuccess

IsSuccess returns true when this abort post authn request too many requests response has a 2xx status code

func (*AbortPostAuthnRequestTooManyRequests) String

type AbortPostAuthnRequestUnauthorized

type AbortPostAuthnRequestUnauthorized struct {
	Payload *models.Error
}

AbortPostAuthnRequestUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewAbortPostAuthnRequestUnauthorized

func NewAbortPostAuthnRequestUnauthorized() *AbortPostAuthnRequestUnauthorized

NewAbortPostAuthnRequestUnauthorized creates a AbortPostAuthnRequestUnauthorized with default headers values

func (*AbortPostAuthnRequestUnauthorized) Code

Code gets the status code for the abort post authn request unauthorized response

func (*AbortPostAuthnRequestUnauthorized) Error

func (*AbortPostAuthnRequestUnauthorized) GetPayload

func (*AbortPostAuthnRequestUnauthorized) IsClientError

func (o *AbortPostAuthnRequestUnauthorized) IsClientError() bool

IsClientError returns true when this abort post authn request unauthorized response has a 4xx status code

func (*AbortPostAuthnRequestUnauthorized) IsCode

func (o *AbortPostAuthnRequestUnauthorized) IsCode(code int) bool

IsCode returns true when this abort post authn request unauthorized response a status code equal to that given

func (*AbortPostAuthnRequestUnauthorized) IsRedirect

func (o *AbortPostAuthnRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this abort post authn request unauthorized response has a 3xx status code

func (*AbortPostAuthnRequestUnauthorized) IsServerError

func (o *AbortPostAuthnRequestUnauthorized) IsServerError() bool

IsServerError returns true when this abort post authn request unauthorized response has a 5xx status code

func (*AbortPostAuthnRequestUnauthorized) IsSuccess

func (o *AbortPostAuthnRequestUnauthorized) IsSuccess() bool

IsSuccess returns true when this abort post authn request unauthorized response has a 2xx status code

func (*AbortPostAuthnRequestUnauthorized) String

type Client

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

Client for post authn API

func (*Client) AbortPostAuthnRequest

func (a *Client) AbortPostAuthnRequest(params *AbortPostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AbortPostAuthnRequestOK, error)

AbortPostAuthnRequest aborts post authn request

This API is used by a postAuthn page to notify ACP that postAuthn has been aborted.

func (*Client) CompletePostAuthnRequest

func (a *Client) CompletePostAuthnRequest(params *CompletePostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompletePostAuthnRequestOK, error)

CompletePostAuthnRequest completes post authn request

This API is used by a postAuthn page to notify ACP that postAuthn has been successfully stored.

func (*Client) GetPostAuthnRequest

func (a *Client) GetPostAuthnRequest(params *GetPostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostAuthnRequestOK, error)

GetPostAuthnRequest gets post authn request

This API is used by a postAuthn page to make a decision if user should post authn.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AbortPostAuthnRequest(params *AbortPostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AbortPostAuthnRequestOK, error)

	CompletePostAuthnRequest(params *CompletePostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompletePostAuthnRequestOK, error)

	GetPostAuthnRequest(params *GetPostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostAuthnRequestOK, 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 post authn API client.

type CompletePostAuthnRequestForbidden

type CompletePostAuthnRequestForbidden struct {
	Payload *models.Error
}

CompletePostAuthnRequestForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCompletePostAuthnRequestForbidden

func NewCompletePostAuthnRequestForbidden() *CompletePostAuthnRequestForbidden

NewCompletePostAuthnRequestForbidden creates a CompletePostAuthnRequestForbidden with default headers values

func (*CompletePostAuthnRequestForbidden) Code

Code gets the status code for the complete post authn request forbidden response

func (*CompletePostAuthnRequestForbidden) Error

func (*CompletePostAuthnRequestForbidden) GetPayload

func (*CompletePostAuthnRequestForbidden) IsClientError

func (o *CompletePostAuthnRequestForbidden) IsClientError() bool

IsClientError returns true when this complete post authn request forbidden response has a 4xx status code

func (*CompletePostAuthnRequestForbidden) IsCode

func (o *CompletePostAuthnRequestForbidden) IsCode(code int) bool

IsCode returns true when this complete post authn request forbidden response a status code equal to that given

func (*CompletePostAuthnRequestForbidden) IsRedirect

func (o *CompletePostAuthnRequestForbidden) IsRedirect() bool

IsRedirect returns true when this complete post authn request forbidden response has a 3xx status code

func (*CompletePostAuthnRequestForbidden) IsServerError

func (o *CompletePostAuthnRequestForbidden) IsServerError() bool

IsServerError returns true when this complete post authn request forbidden response has a 5xx status code

func (*CompletePostAuthnRequestForbidden) IsSuccess

func (o *CompletePostAuthnRequestForbidden) IsSuccess() bool

IsSuccess returns true when this complete post authn request forbidden response has a 2xx status code

func (*CompletePostAuthnRequestForbidden) String

type CompletePostAuthnRequestNotFound

type CompletePostAuthnRequestNotFound struct {
	Payload *models.Error
}

CompletePostAuthnRequestNotFound describes a response with status code 404, with default header values.

Not found

func NewCompletePostAuthnRequestNotFound

func NewCompletePostAuthnRequestNotFound() *CompletePostAuthnRequestNotFound

NewCompletePostAuthnRequestNotFound creates a CompletePostAuthnRequestNotFound with default headers values

func (*CompletePostAuthnRequestNotFound) Code

Code gets the status code for the complete post authn request not found response

func (*CompletePostAuthnRequestNotFound) Error

func (*CompletePostAuthnRequestNotFound) GetPayload

func (*CompletePostAuthnRequestNotFound) IsClientError

func (o *CompletePostAuthnRequestNotFound) IsClientError() bool

IsClientError returns true when this complete post authn request not found response has a 4xx status code

func (*CompletePostAuthnRequestNotFound) IsCode

func (o *CompletePostAuthnRequestNotFound) IsCode(code int) bool

IsCode returns true when this complete post authn request not found response a status code equal to that given

func (*CompletePostAuthnRequestNotFound) IsRedirect

func (o *CompletePostAuthnRequestNotFound) IsRedirect() bool

IsRedirect returns true when this complete post authn request not found response has a 3xx status code

func (*CompletePostAuthnRequestNotFound) IsServerError

func (o *CompletePostAuthnRequestNotFound) IsServerError() bool

IsServerError returns true when this complete post authn request not found response has a 5xx status code

func (*CompletePostAuthnRequestNotFound) IsSuccess

func (o *CompletePostAuthnRequestNotFound) IsSuccess() bool

IsSuccess returns true when this complete post authn request not found response has a 2xx status code

func (*CompletePostAuthnRequestNotFound) String

type CompletePostAuthnRequestOK

type CompletePostAuthnRequestOK struct {
	Payload *models.PostAuthnCompleted
}

CompletePostAuthnRequestOK describes a response with status code 200, with default header values.

PostAuthn completeed

func NewCompletePostAuthnRequestOK

func NewCompletePostAuthnRequestOK() *CompletePostAuthnRequestOK

NewCompletePostAuthnRequestOK creates a CompletePostAuthnRequestOK with default headers values

func (*CompletePostAuthnRequestOK) Code

func (o *CompletePostAuthnRequestOK) Code() int

Code gets the status code for the complete post authn request o k response

func (*CompletePostAuthnRequestOK) Error

func (*CompletePostAuthnRequestOK) GetPayload

func (*CompletePostAuthnRequestOK) IsClientError

func (o *CompletePostAuthnRequestOK) IsClientError() bool

IsClientError returns true when this complete post authn request o k response has a 4xx status code

func (*CompletePostAuthnRequestOK) IsCode

func (o *CompletePostAuthnRequestOK) IsCode(code int) bool

IsCode returns true when this complete post authn request o k response a status code equal to that given

func (*CompletePostAuthnRequestOK) IsRedirect

func (o *CompletePostAuthnRequestOK) IsRedirect() bool

IsRedirect returns true when this complete post authn request o k response has a 3xx status code

func (*CompletePostAuthnRequestOK) IsServerError

func (o *CompletePostAuthnRequestOK) IsServerError() bool

IsServerError returns true when this complete post authn request o k response has a 5xx status code

func (*CompletePostAuthnRequestOK) IsSuccess

func (o *CompletePostAuthnRequestOK) IsSuccess() bool

IsSuccess returns true when this complete post authn request o k response has a 2xx status code

func (*CompletePostAuthnRequestOK) String

func (o *CompletePostAuthnRequestOK) String() string

type CompletePostAuthnRequestParams

type CompletePostAuthnRequestParams struct {

	// CompletePostAuthn.
	CompletePostAuthn *models.CompletePostAuthnSession

	// Login.
	Login string

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

CompletePostAuthnRequestParams contains all the parameters to send to the API endpoint

for the complete post authn request operation.

Typically these are written to a http.Request.

func NewCompletePostAuthnRequestParams

func NewCompletePostAuthnRequestParams() *CompletePostAuthnRequestParams

NewCompletePostAuthnRequestParams creates a new CompletePostAuthnRequestParams 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 NewCompletePostAuthnRequestParamsWithContext

func NewCompletePostAuthnRequestParamsWithContext(ctx context.Context) *CompletePostAuthnRequestParams

NewCompletePostAuthnRequestParamsWithContext creates a new CompletePostAuthnRequestParams object with the ability to set a context for a request.

func NewCompletePostAuthnRequestParamsWithHTTPClient

func NewCompletePostAuthnRequestParamsWithHTTPClient(client *http.Client) *CompletePostAuthnRequestParams

NewCompletePostAuthnRequestParamsWithHTTPClient creates a new CompletePostAuthnRequestParams object with the ability to set a custom HTTPClient for a request.

func NewCompletePostAuthnRequestParamsWithTimeout

func NewCompletePostAuthnRequestParamsWithTimeout(timeout time.Duration) *CompletePostAuthnRequestParams

NewCompletePostAuthnRequestParamsWithTimeout creates a new CompletePostAuthnRequestParams object with the ability to set a timeout on a request.

func (*CompletePostAuthnRequestParams) SetCompletePostAuthn

func (o *CompletePostAuthnRequestParams) SetCompletePostAuthn(completePostAuthn *models.CompletePostAuthnSession)

SetCompletePostAuthn adds the completePostAuthn to the complete post authn request params

func (*CompletePostAuthnRequestParams) SetContext

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

SetContext adds the context to the complete post authn request params

func (*CompletePostAuthnRequestParams) SetDefaults

func (o *CompletePostAuthnRequestParams) SetDefaults()

SetDefaults hydrates default values in the complete post authn request params (not the query body).

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

func (*CompletePostAuthnRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete post authn request params

func (*CompletePostAuthnRequestParams) SetLogin

func (o *CompletePostAuthnRequestParams) SetLogin(login string)

SetLogin adds the login to the complete post authn request params

func (*CompletePostAuthnRequestParams) SetTimeout

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

SetTimeout adds the timeout to the complete post authn request params

func (*CompletePostAuthnRequestParams) WithCompletePostAuthn

WithCompletePostAuthn adds the completePostAuthn to the complete post authn request params

func (*CompletePostAuthnRequestParams) WithContext

WithContext adds the context to the complete post authn request params

func (*CompletePostAuthnRequestParams) WithDefaults

WithDefaults hydrates default values in the complete post authn request params (not the query body).

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

func (*CompletePostAuthnRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete post authn request params

func (*CompletePostAuthnRequestParams) WithLogin

WithLogin adds the login to the complete post authn request params

func (*CompletePostAuthnRequestParams) WithTimeout

WithTimeout adds the timeout to the complete post authn request params

func (*CompletePostAuthnRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompletePostAuthnRequestReader

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

CompletePostAuthnRequestReader is a Reader for the CompletePostAuthnRequest structure.

func (*CompletePostAuthnRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompletePostAuthnRequestTooManyRequests

type CompletePostAuthnRequestTooManyRequests struct {
	Payload *models.Error
}

CompletePostAuthnRequestTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCompletePostAuthnRequestTooManyRequests

func NewCompletePostAuthnRequestTooManyRequests() *CompletePostAuthnRequestTooManyRequests

NewCompletePostAuthnRequestTooManyRequests creates a CompletePostAuthnRequestTooManyRequests with default headers values

func (*CompletePostAuthnRequestTooManyRequests) Code

Code gets the status code for the complete post authn request too many requests response

func (*CompletePostAuthnRequestTooManyRequests) Error

func (*CompletePostAuthnRequestTooManyRequests) GetPayload

func (*CompletePostAuthnRequestTooManyRequests) IsClientError

func (o *CompletePostAuthnRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this complete post authn request too many requests response has a 4xx status code

func (*CompletePostAuthnRequestTooManyRequests) IsCode

IsCode returns true when this complete post authn request too many requests response a status code equal to that given

func (*CompletePostAuthnRequestTooManyRequests) IsRedirect

IsRedirect returns true when this complete post authn request too many requests response has a 3xx status code

func (*CompletePostAuthnRequestTooManyRequests) IsServerError

func (o *CompletePostAuthnRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this complete post authn request too many requests response has a 5xx status code

func (*CompletePostAuthnRequestTooManyRequests) IsSuccess

IsSuccess returns true when this complete post authn request too many requests response has a 2xx status code

func (*CompletePostAuthnRequestTooManyRequests) String

type CompletePostAuthnRequestUnauthorized

type CompletePostAuthnRequestUnauthorized struct {
	Payload *models.Error
}

CompletePostAuthnRequestUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCompletePostAuthnRequestUnauthorized

func NewCompletePostAuthnRequestUnauthorized() *CompletePostAuthnRequestUnauthorized

NewCompletePostAuthnRequestUnauthorized creates a CompletePostAuthnRequestUnauthorized with default headers values

func (*CompletePostAuthnRequestUnauthorized) Code

Code gets the status code for the complete post authn request unauthorized response

func (*CompletePostAuthnRequestUnauthorized) Error

func (*CompletePostAuthnRequestUnauthorized) GetPayload

func (*CompletePostAuthnRequestUnauthorized) IsClientError

func (o *CompletePostAuthnRequestUnauthorized) IsClientError() bool

IsClientError returns true when this complete post authn request unauthorized response has a 4xx status code

func (*CompletePostAuthnRequestUnauthorized) IsCode

IsCode returns true when this complete post authn request unauthorized response a status code equal to that given

func (*CompletePostAuthnRequestUnauthorized) IsRedirect

IsRedirect returns true when this complete post authn request unauthorized response has a 3xx status code

func (*CompletePostAuthnRequestUnauthorized) IsServerError

func (o *CompletePostAuthnRequestUnauthorized) IsServerError() bool

IsServerError returns true when this complete post authn request unauthorized response has a 5xx status code

func (*CompletePostAuthnRequestUnauthorized) IsSuccess

IsSuccess returns true when this complete post authn request unauthorized response has a 2xx status code

func (*CompletePostAuthnRequestUnauthorized) String

type GetPostAuthnRequestForbidden

type GetPostAuthnRequestForbidden struct {
	Payload *models.Error
}

GetPostAuthnRequestForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetPostAuthnRequestForbidden

func NewGetPostAuthnRequestForbidden() *GetPostAuthnRequestForbidden

NewGetPostAuthnRequestForbidden creates a GetPostAuthnRequestForbidden with default headers values

func (*GetPostAuthnRequestForbidden) Code

Code gets the status code for the get post authn request forbidden response

func (*GetPostAuthnRequestForbidden) Error

func (*GetPostAuthnRequestForbidden) GetPayload

func (o *GetPostAuthnRequestForbidden) GetPayload() *models.Error

func (*GetPostAuthnRequestForbidden) IsClientError

func (o *GetPostAuthnRequestForbidden) IsClientError() bool

IsClientError returns true when this get post authn request forbidden response has a 4xx status code

func (*GetPostAuthnRequestForbidden) IsCode

func (o *GetPostAuthnRequestForbidden) IsCode(code int) bool

IsCode returns true when this get post authn request forbidden response a status code equal to that given

func (*GetPostAuthnRequestForbidden) IsRedirect

func (o *GetPostAuthnRequestForbidden) IsRedirect() bool

IsRedirect returns true when this get post authn request forbidden response has a 3xx status code

func (*GetPostAuthnRequestForbidden) IsServerError

func (o *GetPostAuthnRequestForbidden) IsServerError() bool

IsServerError returns true when this get post authn request forbidden response has a 5xx status code

func (*GetPostAuthnRequestForbidden) IsSuccess

func (o *GetPostAuthnRequestForbidden) IsSuccess() bool

IsSuccess returns true when this get post authn request forbidden response has a 2xx status code

func (*GetPostAuthnRequestForbidden) String

type GetPostAuthnRequestNotFound

type GetPostAuthnRequestNotFound struct {
	Payload *models.Error
}

GetPostAuthnRequestNotFound describes a response with status code 404, with default header values.

Not found

func NewGetPostAuthnRequestNotFound

func NewGetPostAuthnRequestNotFound() *GetPostAuthnRequestNotFound

NewGetPostAuthnRequestNotFound creates a GetPostAuthnRequestNotFound with default headers values

func (*GetPostAuthnRequestNotFound) Code

func (o *GetPostAuthnRequestNotFound) Code() int

Code gets the status code for the get post authn request not found response

func (*GetPostAuthnRequestNotFound) Error

func (*GetPostAuthnRequestNotFound) GetPayload

func (o *GetPostAuthnRequestNotFound) GetPayload() *models.Error

func (*GetPostAuthnRequestNotFound) IsClientError

func (o *GetPostAuthnRequestNotFound) IsClientError() bool

IsClientError returns true when this get post authn request not found response has a 4xx status code

func (*GetPostAuthnRequestNotFound) IsCode

func (o *GetPostAuthnRequestNotFound) IsCode(code int) bool

IsCode returns true when this get post authn request not found response a status code equal to that given

func (*GetPostAuthnRequestNotFound) IsRedirect

func (o *GetPostAuthnRequestNotFound) IsRedirect() bool

IsRedirect returns true when this get post authn request not found response has a 3xx status code

func (*GetPostAuthnRequestNotFound) IsServerError

func (o *GetPostAuthnRequestNotFound) IsServerError() bool

IsServerError returns true when this get post authn request not found response has a 5xx status code

func (*GetPostAuthnRequestNotFound) IsSuccess

func (o *GetPostAuthnRequestNotFound) IsSuccess() bool

IsSuccess returns true when this get post authn request not found response has a 2xx status code

func (*GetPostAuthnRequestNotFound) String

func (o *GetPostAuthnRequestNotFound) String() string

type GetPostAuthnRequestOK

type GetPostAuthnRequestOK struct {
	Payload *models.LoginSessionResponse
}

GetPostAuthnRequestOK describes a response with status code 200, with default header values.

Login session

func NewGetPostAuthnRequestOK

func NewGetPostAuthnRequestOK() *GetPostAuthnRequestOK

NewGetPostAuthnRequestOK creates a GetPostAuthnRequestOK with default headers values

func (*GetPostAuthnRequestOK) Code

func (o *GetPostAuthnRequestOK) Code() int

Code gets the status code for the get post authn request o k response

func (*GetPostAuthnRequestOK) Error

func (o *GetPostAuthnRequestOK) Error() string

func (*GetPostAuthnRequestOK) GetPayload

func (*GetPostAuthnRequestOK) IsClientError

func (o *GetPostAuthnRequestOK) IsClientError() bool

IsClientError returns true when this get post authn request o k response has a 4xx status code

func (*GetPostAuthnRequestOK) IsCode

func (o *GetPostAuthnRequestOK) IsCode(code int) bool

IsCode returns true when this get post authn request o k response a status code equal to that given

func (*GetPostAuthnRequestOK) IsRedirect

func (o *GetPostAuthnRequestOK) IsRedirect() bool

IsRedirect returns true when this get post authn request o k response has a 3xx status code

func (*GetPostAuthnRequestOK) IsServerError

func (o *GetPostAuthnRequestOK) IsServerError() bool

IsServerError returns true when this get post authn request o k response has a 5xx status code

func (*GetPostAuthnRequestOK) IsSuccess

func (o *GetPostAuthnRequestOK) IsSuccess() bool

IsSuccess returns true when this get post authn request o k response has a 2xx status code

func (*GetPostAuthnRequestOK) String

func (o *GetPostAuthnRequestOK) String() string

type GetPostAuthnRequestParams

type GetPostAuthnRequestParams struct {

	// Login.
	Login string

	// LoginState.
	LoginState *string

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

GetPostAuthnRequestParams contains all the parameters to send to the API endpoint

for the get post authn request operation.

Typically these are written to a http.Request.

func NewGetPostAuthnRequestParams

func NewGetPostAuthnRequestParams() *GetPostAuthnRequestParams

NewGetPostAuthnRequestParams creates a new GetPostAuthnRequestParams 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 NewGetPostAuthnRequestParamsWithContext

func NewGetPostAuthnRequestParamsWithContext(ctx context.Context) *GetPostAuthnRequestParams

NewGetPostAuthnRequestParamsWithContext creates a new GetPostAuthnRequestParams object with the ability to set a context for a request.

func NewGetPostAuthnRequestParamsWithHTTPClient

func NewGetPostAuthnRequestParamsWithHTTPClient(client *http.Client) *GetPostAuthnRequestParams

NewGetPostAuthnRequestParamsWithHTTPClient creates a new GetPostAuthnRequestParams object with the ability to set a custom HTTPClient for a request.

func NewGetPostAuthnRequestParamsWithTimeout

func NewGetPostAuthnRequestParamsWithTimeout(timeout time.Duration) *GetPostAuthnRequestParams

NewGetPostAuthnRequestParamsWithTimeout creates a new GetPostAuthnRequestParams object with the ability to set a timeout on a request.

func (*GetPostAuthnRequestParams) SetContext

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

SetContext adds the context to the get post authn request params

func (*GetPostAuthnRequestParams) SetDefaults

func (o *GetPostAuthnRequestParams) SetDefaults()

SetDefaults hydrates default values in the get post authn request params (not the query body).

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

func (*GetPostAuthnRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get post authn request params

func (*GetPostAuthnRequestParams) SetLogin

func (o *GetPostAuthnRequestParams) SetLogin(login string)

SetLogin adds the login to the get post authn request params

func (*GetPostAuthnRequestParams) SetLoginState

func (o *GetPostAuthnRequestParams) SetLoginState(loginState *string)

SetLoginState adds the loginState to the get post authn request params

func (*GetPostAuthnRequestParams) SetTimeout

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

SetTimeout adds the timeout to the get post authn request params

func (*GetPostAuthnRequestParams) WithContext

WithContext adds the context to the get post authn request params

func (*GetPostAuthnRequestParams) WithDefaults

WithDefaults hydrates default values in the get post authn request params (not the query body).

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

func (*GetPostAuthnRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get post authn request params

func (*GetPostAuthnRequestParams) WithLogin

WithLogin adds the login to the get post authn request params

func (*GetPostAuthnRequestParams) WithLoginState

func (o *GetPostAuthnRequestParams) WithLoginState(loginState *string) *GetPostAuthnRequestParams

WithLoginState adds the loginState to the get post authn request params

func (*GetPostAuthnRequestParams) WithTimeout

WithTimeout adds the timeout to the get post authn request params

func (*GetPostAuthnRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPostAuthnRequestReader

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

GetPostAuthnRequestReader is a Reader for the GetPostAuthnRequest structure.

func (*GetPostAuthnRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPostAuthnRequestTooManyRequests

type GetPostAuthnRequestTooManyRequests struct {
	Payload *models.Error
}

GetPostAuthnRequestTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetPostAuthnRequestTooManyRequests

func NewGetPostAuthnRequestTooManyRequests() *GetPostAuthnRequestTooManyRequests

NewGetPostAuthnRequestTooManyRequests creates a GetPostAuthnRequestTooManyRequests with default headers values

func (*GetPostAuthnRequestTooManyRequests) Code

Code gets the status code for the get post authn request too many requests response

func (*GetPostAuthnRequestTooManyRequests) Error

func (*GetPostAuthnRequestTooManyRequests) GetPayload

func (*GetPostAuthnRequestTooManyRequests) IsClientError

func (o *GetPostAuthnRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this get post authn request too many requests response has a 4xx status code

func (*GetPostAuthnRequestTooManyRequests) IsCode

IsCode returns true when this get post authn request too many requests response a status code equal to that given

func (*GetPostAuthnRequestTooManyRequests) IsRedirect

func (o *GetPostAuthnRequestTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get post authn request too many requests response has a 3xx status code

func (*GetPostAuthnRequestTooManyRequests) IsServerError

func (o *GetPostAuthnRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this get post authn request too many requests response has a 5xx status code

func (*GetPostAuthnRequestTooManyRequests) IsSuccess

IsSuccess returns true when this get post authn request too many requests response has a 2xx status code

func (*GetPostAuthnRequestTooManyRequests) String

type GetPostAuthnRequestUnauthorized

type GetPostAuthnRequestUnauthorized struct {
	Payload *models.Error
}

GetPostAuthnRequestUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPostAuthnRequestUnauthorized

func NewGetPostAuthnRequestUnauthorized() *GetPostAuthnRequestUnauthorized

NewGetPostAuthnRequestUnauthorized creates a GetPostAuthnRequestUnauthorized with default headers values

func (*GetPostAuthnRequestUnauthorized) Code

Code gets the status code for the get post authn request unauthorized response

func (*GetPostAuthnRequestUnauthorized) Error

func (*GetPostAuthnRequestUnauthorized) GetPayload

func (o *GetPostAuthnRequestUnauthorized) GetPayload() *models.Error

func (*GetPostAuthnRequestUnauthorized) IsClientError

func (o *GetPostAuthnRequestUnauthorized) IsClientError() bool

IsClientError returns true when this get post authn request unauthorized response has a 4xx status code

func (*GetPostAuthnRequestUnauthorized) IsCode

func (o *GetPostAuthnRequestUnauthorized) IsCode(code int) bool

IsCode returns true when this get post authn request unauthorized response a status code equal to that given

func (*GetPostAuthnRequestUnauthorized) IsRedirect

func (o *GetPostAuthnRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this get post authn request unauthorized response has a 3xx status code

func (*GetPostAuthnRequestUnauthorized) IsServerError

func (o *GetPostAuthnRequestUnauthorized) IsServerError() bool

IsServerError returns true when this get post authn request unauthorized response has a 5xx status code

func (*GetPostAuthnRequestUnauthorized) IsSuccess

func (o *GetPostAuthnRequestUnauthorized) IsSuccess() bool

IsSuccess returns true when this get post authn request unauthorized response has a 2xx status code

func (*GetPostAuthnRequestUnauthorized) String

Jump to

Keyboard shortcuts

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