Documentation ¶
Index ¶
- type AbortPostAuthnRequestForbidden
- func (o *AbortPostAuthnRequestForbidden) Code() int
- func (o *AbortPostAuthnRequestForbidden) Error() string
- func (o *AbortPostAuthnRequestForbidden) GetPayload() *models.Error
- func (o *AbortPostAuthnRequestForbidden) IsClientError() bool
- func (o *AbortPostAuthnRequestForbidden) IsCode(code int) bool
- func (o *AbortPostAuthnRequestForbidden) IsRedirect() bool
- func (o *AbortPostAuthnRequestForbidden) IsServerError() bool
- func (o *AbortPostAuthnRequestForbidden) IsSuccess() bool
- func (o *AbortPostAuthnRequestForbidden) String() string
- type AbortPostAuthnRequestNotFound
- func (o *AbortPostAuthnRequestNotFound) Code() int
- func (o *AbortPostAuthnRequestNotFound) Error() string
- func (o *AbortPostAuthnRequestNotFound) GetPayload() *models.Error
- func (o *AbortPostAuthnRequestNotFound) IsClientError() bool
- func (o *AbortPostAuthnRequestNotFound) IsCode(code int) bool
- func (o *AbortPostAuthnRequestNotFound) IsRedirect() bool
- func (o *AbortPostAuthnRequestNotFound) IsServerError() bool
- func (o *AbortPostAuthnRequestNotFound) IsSuccess() bool
- func (o *AbortPostAuthnRequestNotFound) String() string
- type AbortPostAuthnRequestOK
- func (o *AbortPostAuthnRequestOK) Code() int
- func (o *AbortPostAuthnRequestOK) Error() string
- func (o *AbortPostAuthnRequestOK) GetPayload() *models.PostAuthnAborted
- func (o *AbortPostAuthnRequestOK) IsClientError() bool
- func (o *AbortPostAuthnRequestOK) IsCode(code int) bool
- func (o *AbortPostAuthnRequestOK) IsRedirect() bool
- func (o *AbortPostAuthnRequestOK) IsServerError() bool
- func (o *AbortPostAuthnRequestOK) IsSuccess() bool
- func (o *AbortPostAuthnRequestOK) String() string
- type AbortPostAuthnRequestParams
- func NewAbortPostAuthnRequestParams() *AbortPostAuthnRequestParams
- func NewAbortPostAuthnRequestParamsWithContext(ctx context.Context) *AbortPostAuthnRequestParams
- func NewAbortPostAuthnRequestParamsWithHTTPClient(client *http.Client) *AbortPostAuthnRequestParams
- func NewAbortPostAuthnRequestParamsWithTimeout(timeout time.Duration) *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) SetAbortPostAuthn(abortPostAuthn *models.AbortPostAuthnSession)
- func (o *AbortPostAuthnRequestParams) SetContext(ctx context.Context)
- func (o *AbortPostAuthnRequestParams) SetDefaults()
- func (o *AbortPostAuthnRequestParams) SetHTTPClient(client *http.Client)
- func (o *AbortPostAuthnRequestParams) SetLogin(login string)
- func (o *AbortPostAuthnRequestParams) SetTimeout(timeout time.Duration)
- func (o *AbortPostAuthnRequestParams) WithAbortPostAuthn(abortPostAuthn *models.AbortPostAuthnSession) *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) WithContext(ctx context.Context) *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) WithDefaults() *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) WithHTTPClient(client *http.Client) *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) WithLogin(login string) *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) WithTimeout(timeout time.Duration) *AbortPostAuthnRequestParams
- func (o *AbortPostAuthnRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AbortPostAuthnRequestReader
- type AbortPostAuthnRequestTooManyRequests
- func (o *AbortPostAuthnRequestTooManyRequests) Code() int
- func (o *AbortPostAuthnRequestTooManyRequests) Error() string
- func (o *AbortPostAuthnRequestTooManyRequests) GetPayload() *models.Error
- func (o *AbortPostAuthnRequestTooManyRequests) IsClientError() bool
- func (o *AbortPostAuthnRequestTooManyRequests) IsCode(code int) bool
- func (o *AbortPostAuthnRequestTooManyRequests) IsRedirect() bool
- func (o *AbortPostAuthnRequestTooManyRequests) IsServerError() bool
- func (o *AbortPostAuthnRequestTooManyRequests) IsSuccess() bool
- func (o *AbortPostAuthnRequestTooManyRequests) String() string
- type AbortPostAuthnRequestUnauthorized
- func (o *AbortPostAuthnRequestUnauthorized) Code() int
- func (o *AbortPostAuthnRequestUnauthorized) Error() string
- func (o *AbortPostAuthnRequestUnauthorized) GetPayload() *models.Error
- func (o *AbortPostAuthnRequestUnauthorized) IsClientError() bool
- func (o *AbortPostAuthnRequestUnauthorized) IsCode(code int) bool
- func (o *AbortPostAuthnRequestUnauthorized) IsRedirect() bool
- func (o *AbortPostAuthnRequestUnauthorized) IsServerError() bool
- func (o *AbortPostAuthnRequestUnauthorized) IsSuccess() bool
- func (o *AbortPostAuthnRequestUnauthorized) String() string
- type Client
- func (a *Client) AbortPostAuthnRequest(params *AbortPostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AbortPostAuthnRequestOK, error)
- func (a *Client) CompletePostAuthnRequest(params *CompletePostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CompletePostAuthnRequestOK, error)
- func (a *Client) GetPostAuthnRequest(params *GetPostAuthnRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPostAuthnRequestOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CompletePostAuthnRequestForbidden
- func (o *CompletePostAuthnRequestForbidden) Code() int
- func (o *CompletePostAuthnRequestForbidden) Error() string
- func (o *CompletePostAuthnRequestForbidden) GetPayload() *models.Error
- func (o *CompletePostAuthnRequestForbidden) IsClientError() bool
- func (o *CompletePostAuthnRequestForbidden) IsCode(code int) bool
- func (o *CompletePostAuthnRequestForbidden) IsRedirect() bool
- func (o *CompletePostAuthnRequestForbidden) IsServerError() bool
- func (o *CompletePostAuthnRequestForbidden) IsSuccess() bool
- func (o *CompletePostAuthnRequestForbidden) String() string
- type CompletePostAuthnRequestNotFound
- func (o *CompletePostAuthnRequestNotFound) Code() int
- func (o *CompletePostAuthnRequestNotFound) Error() string
- func (o *CompletePostAuthnRequestNotFound) GetPayload() *models.Error
- func (o *CompletePostAuthnRequestNotFound) IsClientError() bool
- func (o *CompletePostAuthnRequestNotFound) IsCode(code int) bool
- func (o *CompletePostAuthnRequestNotFound) IsRedirect() bool
- func (o *CompletePostAuthnRequestNotFound) IsServerError() bool
- func (o *CompletePostAuthnRequestNotFound) IsSuccess() bool
- func (o *CompletePostAuthnRequestNotFound) String() string
- type CompletePostAuthnRequestOK
- func (o *CompletePostAuthnRequestOK) Code() int
- func (o *CompletePostAuthnRequestOK) Error() string
- func (o *CompletePostAuthnRequestOK) GetPayload() *models.PostAuthnCompleted
- func (o *CompletePostAuthnRequestOK) IsClientError() bool
- func (o *CompletePostAuthnRequestOK) IsCode(code int) bool
- func (o *CompletePostAuthnRequestOK) IsRedirect() bool
- func (o *CompletePostAuthnRequestOK) IsServerError() bool
- func (o *CompletePostAuthnRequestOK) IsSuccess() bool
- func (o *CompletePostAuthnRequestOK) String() string
- type CompletePostAuthnRequestParams
- func NewCompletePostAuthnRequestParams() *CompletePostAuthnRequestParams
- func NewCompletePostAuthnRequestParamsWithContext(ctx context.Context) *CompletePostAuthnRequestParams
- func NewCompletePostAuthnRequestParamsWithHTTPClient(client *http.Client) *CompletePostAuthnRequestParams
- func NewCompletePostAuthnRequestParamsWithTimeout(timeout time.Duration) *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) SetCompletePostAuthn(completePostAuthn *models.CompletePostAuthnSession)
- func (o *CompletePostAuthnRequestParams) SetContext(ctx context.Context)
- func (o *CompletePostAuthnRequestParams) SetDefaults()
- func (o *CompletePostAuthnRequestParams) SetHTTPClient(client *http.Client)
- func (o *CompletePostAuthnRequestParams) SetLogin(login string)
- func (o *CompletePostAuthnRequestParams) SetTimeout(timeout time.Duration)
- func (o *CompletePostAuthnRequestParams) WithCompletePostAuthn(completePostAuthn *models.CompletePostAuthnSession) *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) WithContext(ctx context.Context) *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) WithDefaults() *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) WithHTTPClient(client *http.Client) *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) WithLogin(login string) *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) WithTimeout(timeout time.Duration) *CompletePostAuthnRequestParams
- func (o *CompletePostAuthnRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompletePostAuthnRequestReader
- type CompletePostAuthnRequestTooManyRequests
- func (o *CompletePostAuthnRequestTooManyRequests) Code() int
- func (o *CompletePostAuthnRequestTooManyRequests) Error() string
- func (o *CompletePostAuthnRequestTooManyRequests) GetPayload() *models.Error
- func (o *CompletePostAuthnRequestTooManyRequests) IsClientError() bool
- func (o *CompletePostAuthnRequestTooManyRequests) IsCode(code int) bool
- func (o *CompletePostAuthnRequestTooManyRequests) IsRedirect() bool
- func (o *CompletePostAuthnRequestTooManyRequests) IsServerError() bool
- func (o *CompletePostAuthnRequestTooManyRequests) IsSuccess() bool
- func (o *CompletePostAuthnRequestTooManyRequests) String() string
- type CompletePostAuthnRequestUnauthorized
- func (o *CompletePostAuthnRequestUnauthorized) Code() int
- func (o *CompletePostAuthnRequestUnauthorized) Error() string
- func (o *CompletePostAuthnRequestUnauthorized) GetPayload() *models.Error
- func (o *CompletePostAuthnRequestUnauthorized) IsClientError() bool
- func (o *CompletePostAuthnRequestUnauthorized) IsCode(code int) bool
- func (o *CompletePostAuthnRequestUnauthorized) IsRedirect() bool
- func (o *CompletePostAuthnRequestUnauthorized) IsServerError() bool
- func (o *CompletePostAuthnRequestUnauthorized) IsSuccess() bool
- func (o *CompletePostAuthnRequestUnauthorized) String() string
- type GetPostAuthnRequestForbidden
- func (o *GetPostAuthnRequestForbidden) Code() int
- func (o *GetPostAuthnRequestForbidden) Error() string
- func (o *GetPostAuthnRequestForbidden) GetPayload() *models.Error
- func (o *GetPostAuthnRequestForbidden) IsClientError() bool
- func (o *GetPostAuthnRequestForbidden) IsCode(code int) bool
- func (o *GetPostAuthnRequestForbidden) IsRedirect() bool
- func (o *GetPostAuthnRequestForbidden) IsServerError() bool
- func (o *GetPostAuthnRequestForbidden) IsSuccess() bool
- func (o *GetPostAuthnRequestForbidden) String() string
- type GetPostAuthnRequestNotFound
- func (o *GetPostAuthnRequestNotFound) Code() int
- func (o *GetPostAuthnRequestNotFound) Error() string
- func (o *GetPostAuthnRequestNotFound) GetPayload() *models.Error
- func (o *GetPostAuthnRequestNotFound) IsClientError() bool
- func (o *GetPostAuthnRequestNotFound) IsCode(code int) bool
- func (o *GetPostAuthnRequestNotFound) IsRedirect() bool
- func (o *GetPostAuthnRequestNotFound) IsServerError() bool
- func (o *GetPostAuthnRequestNotFound) IsSuccess() bool
- func (o *GetPostAuthnRequestNotFound) String() string
- type GetPostAuthnRequestOK
- func (o *GetPostAuthnRequestOK) Code() int
- func (o *GetPostAuthnRequestOK) Error() string
- func (o *GetPostAuthnRequestOK) GetPayload() *models.LoginSessionResponse
- func (o *GetPostAuthnRequestOK) IsClientError() bool
- func (o *GetPostAuthnRequestOK) IsCode(code int) bool
- func (o *GetPostAuthnRequestOK) IsRedirect() bool
- func (o *GetPostAuthnRequestOK) IsServerError() bool
- func (o *GetPostAuthnRequestOK) IsSuccess() bool
- func (o *GetPostAuthnRequestOK) String() string
- type GetPostAuthnRequestParams
- func NewGetPostAuthnRequestParams() *GetPostAuthnRequestParams
- func NewGetPostAuthnRequestParamsWithContext(ctx context.Context) *GetPostAuthnRequestParams
- func NewGetPostAuthnRequestParamsWithHTTPClient(client *http.Client) *GetPostAuthnRequestParams
- func NewGetPostAuthnRequestParamsWithTimeout(timeout time.Duration) *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) SetContext(ctx context.Context)
- func (o *GetPostAuthnRequestParams) SetDefaults()
- func (o *GetPostAuthnRequestParams) SetHTTPClient(client *http.Client)
- func (o *GetPostAuthnRequestParams) SetLogin(login string)
- func (o *GetPostAuthnRequestParams) SetLoginState(loginState *string)
- func (o *GetPostAuthnRequestParams) SetTimeout(timeout time.Duration)
- func (o *GetPostAuthnRequestParams) WithContext(ctx context.Context) *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) WithDefaults() *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) WithHTTPClient(client *http.Client) *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) WithLogin(login string) *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) WithLoginState(loginState *string) *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) WithTimeout(timeout time.Duration) *GetPostAuthnRequestParams
- func (o *GetPostAuthnRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPostAuthnRequestReader
- type GetPostAuthnRequestTooManyRequests
- func (o *GetPostAuthnRequestTooManyRequests) Code() int
- func (o *GetPostAuthnRequestTooManyRequests) Error() string
- func (o *GetPostAuthnRequestTooManyRequests) GetPayload() *models.Error
- func (o *GetPostAuthnRequestTooManyRequests) IsClientError() bool
- func (o *GetPostAuthnRequestTooManyRequests) IsCode(code int) bool
- func (o *GetPostAuthnRequestTooManyRequests) IsRedirect() bool
- func (o *GetPostAuthnRequestTooManyRequests) IsServerError() bool
- func (o *GetPostAuthnRequestTooManyRequests) IsSuccess() bool
- func (o *GetPostAuthnRequestTooManyRequests) String() string
- type GetPostAuthnRequestUnauthorized
- func (o *GetPostAuthnRequestUnauthorized) Code() int
- func (o *GetPostAuthnRequestUnauthorized) Error() string
- func (o *GetPostAuthnRequestUnauthorized) GetPayload() *models.Error
- func (o *GetPostAuthnRequestUnauthorized) IsClientError() bool
- func (o *GetPostAuthnRequestUnauthorized) IsCode(code int) bool
- func (o *GetPostAuthnRequestUnauthorized) IsRedirect() bool
- func (o *GetPostAuthnRequestUnauthorized) IsServerError() bool
- func (o *GetPostAuthnRequestUnauthorized) IsSuccess() bool
- func (o *GetPostAuthnRequestUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortPostAuthnRequestForbidden ¶
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 ¶
func (o *AbortPostAuthnRequestForbidden) Code() int
Code gets the status code for the abort post authn request forbidden response
func (*AbortPostAuthnRequestForbidden) Error ¶
func (o *AbortPostAuthnRequestForbidden) Error() string
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 ¶
func (o *AbortPostAuthnRequestForbidden) String() string
type AbortPostAuthnRequestNotFound ¶
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 ¶
func (o *AbortPostAuthnRequestNotFound) Code() int
Code gets the status code for the abort post authn request not found response
func (*AbortPostAuthnRequestNotFound) Error ¶
func (o *AbortPostAuthnRequestNotFound) Error() string
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 ¶
func (o *AbortPostAuthnRequestNotFound) String() 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 (o *AbortPostAuthnRequestOK) GetPayload() *models.PostAuthnAborted
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 ¶
func (o *AbortPostAuthnRequestParams) WithAbortPostAuthn(abortPostAuthn *models.AbortPostAuthnSession) *AbortPostAuthnRequestParams
WithAbortPostAuthn adds the abortPostAuthn to the abort post authn request params
func (*AbortPostAuthnRequestParams) WithContext ¶
func (o *AbortPostAuthnRequestParams) WithContext(ctx context.Context) *AbortPostAuthnRequestParams
WithContext adds the context to the abort post authn request params
func (*AbortPostAuthnRequestParams) WithDefaults ¶
func (o *AbortPostAuthnRequestParams) WithDefaults() *AbortPostAuthnRequestParams
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 ¶
func (o *AbortPostAuthnRequestParams) WithHTTPClient(client *http.Client) *AbortPostAuthnRequestParams
WithHTTPClient adds the HTTPClient to the abort post authn request params
func (*AbortPostAuthnRequestParams) WithLogin ¶
func (o *AbortPostAuthnRequestParams) WithLogin(login string) *AbortPostAuthnRequestParams
WithLogin adds the login to the abort post authn request params
func (*AbortPostAuthnRequestParams) WithTimeout ¶
func (o *AbortPostAuthnRequestParams) WithTimeout(timeout time.Duration) *AbortPostAuthnRequestParams
WithTimeout adds the timeout to the abort post authn request params
func (*AbortPostAuthnRequestParams) WriteToRequest ¶
func (o *AbortPostAuthnRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *AbortPostAuthnRequestTooManyRequests) Code() int
Code gets the status code for the abort post authn request too many requests response
func (*AbortPostAuthnRequestTooManyRequests) Error ¶
func (o *AbortPostAuthnRequestTooManyRequests) Error() string
func (*AbortPostAuthnRequestTooManyRequests) GetPayload ¶
func (o *AbortPostAuthnRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *AbortPostAuthnRequestTooManyRequests) IsCode(code int) bool
IsCode returns true when this abort post authn request too many requests response a status code equal to that given
func (*AbortPostAuthnRequestTooManyRequests) IsRedirect ¶
func (o *AbortPostAuthnRequestTooManyRequests) IsRedirect() bool
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 ¶
func (o *AbortPostAuthnRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this abort post authn request too many requests response has a 2xx status code
func (*AbortPostAuthnRequestTooManyRequests) String ¶
func (o *AbortPostAuthnRequestTooManyRequests) String() string
type AbortPostAuthnRequestUnauthorized ¶
type AbortPostAuthnRequestUnauthorized struct {
}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 ¶
func (o *AbortPostAuthnRequestUnauthorized) Code() int
Code gets the status code for the abort post authn request unauthorized response
func (*AbortPostAuthnRequestUnauthorized) Error ¶
func (o *AbortPostAuthnRequestUnauthorized) Error() string
func (*AbortPostAuthnRequestUnauthorized) GetPayload ¶
func (o *AbortPostAuthnRequestUnauthorized) GetPayload() *models.Error
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 ¶
func (o *AbortPostAuthnRequestUnauthorized) String() 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 ¶
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 ¶
func (o *CompletePostAuthnRequestForbidden) Code() int
Code gets the status code for the complete post authn request forbidden response
func (*CompletePostAuthnRequestForbidden) Error ¶
func (o *CompletePostAuthnRequestForbidden) Error() string
func (*CompletePostAuthnRequestForbidden) GetPayload ¶
func (o *CompletePostAuthnRequestForbidden) GetPayload() *models.Error
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 ¶
func (o *CompletePostAuthnRequestForbidden) String() string
type CompletePostAuthnRequestNotFound ¶
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 ¶
func (o *CompletePostAuthnRequestNotFound) Code() int
Code gets the status code for the complete post authn request not found response
func (*CompletePostAuthnRequestNotFound) Error ¶
func (o *CompletePostAuthnRequestNotFound) Error() string
func (*CompletePostAuthnRequestNotFound) GetPayload ¶
func (o *CompletePostAuthnRequestNotFound) GetPayload() *models.Error
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 ¶
func (o *CompletePostAuthnRequestNotFound) String() 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 (o *CompletePostAuthnRequestOK) Error() string
func (*CompletePostAuthnRequestOK) GetPayload ¶
func (o *CompletePostAuthnRequestOK) GetPayload() *models.PostAuthnCompleted
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 ¶
func (o *CompletePostAuthnRequestParams) WithCompletePostAuthn(completePostAuthn *models.CompletePostAuthnSession) *CompletePostAuthnRequestParams
WithCompletePostAuthn adds the completePostAuthn to the complete post authn request params
func (*CompletePostAuthnRequestParams) WithContext ¶
func (o *CompletePostAuthnRequestParams) WithContext(ctx context.Context) *CompletePostAuthnRequestParams
WithContext adds the context to the complete post authn request params
func (*CompletePostAuthnRequestParams) WithDefaults ¶
func (o *CompletePostAuthnRequestParams) WithDefaults() *CompletePostAuthnRequestParams
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 ¶
func (o *CompletePostAuthnRequestParams) WithHTTPClient(client *http.Client) *CompletePostAuthnRequestParams
WithHTTPClient adds the HTTPClient to the complete post authn request params
func (*CompletePostAuthnRequestParams) WithLogin ¶
func (o *CompletePostAuthnRequestParams) WithLogin(login string) *CompletePostAuthnRequestParams
WithLogin adds the login to the complete post authn request params
func (*CompletePostAuthnRequestParams) WithTimeout ¶
func (o *CompletePostAuthnRequestParams) WithTimeout(timeout time.Duration) *CompletePostAuthnRequestParams
WithTimeout adds the timeout to the complete post authn request params
func (*CompletePostAuthnRequestParams) WriteToRequest ¶
func (o *CompletePostAuthnRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *CompletePostAuthnRequestTooManyRequests) Code() int
Code gets the status code for the complete post authn request too many requests response
func (*CompletePostAuthnRequestTooManyRequests) Error ¶
func (o *CompletePostAuthnRequestTooManyRequests) Error() string
func (*CompletePostAuthnRequestTooManyRequests) GetPayload ¶
func (o *CompletePostAuthnRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *CompletePostAuthnRequestTooManyRequests) IsCode(code int) bool
IsCode returns true when this complete post authn request too many requests response a status code equal to that given
func (*CompletePostAuthnRequestTooManyRequests) IsRedirect ¶
func (o *CompletePostAuthnRequestTooManyRequests) IsRedirect() bool
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 ¶
func (o *CompletePostAuthnRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this complete post authn request too many requests response has a 2xx status code
func (*CompletePostAuthnRequestTooManyRequests) String ¶
func (o *CompletePostAuthnRequestTooManyRequests) String() string
type CompletePostAuthnRequestUnauthorized ¶
type CompletePostAuthnRequestUnauthorized struct {
}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 ¶
func (o *CompletePostAuthnRequestUnauthorized) Code() int
Code gets the status code for the complete post authn request unauthorized response
func (*CompletePostAuthnRequestUnauthorized) Error ¶
func (o *CompletePostAuthnRequestUnauthorized) Error() string
func (*CompletePostAuthnRequestUnauthorized) GetPayload ¶
func (o *CompletePostAuthnRequestUnauthorized) GetPayload() *models.Error
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 ¶
func (o *CompletePostAuthnRequestUnauthorized) IsCode(code int) bool
IsCode returns true when this complete post authn request unauthorized response a status code equal to that given
func (*CompletePostAuthnRequestUnauthorized) IsRedirect ¶
func (o *CompletePostAuthnRequestUnauthorized) IsRedirect() bool
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 ¶
func (o *CompletePostAuthnRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this complete post authn request unauthorized response has a 2xx status code
func (*CompletePostAuthnRequestUnauthorized) String ¶
func (o *CompletePostAuthnRequestUnauthorized) String() string
type GetPostAuthnRequestForbidden ¶
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 ¶
func (o *GetPostAuthnRequestForbidden) Code() int
Code gets the status code for the get post authn request forbidden response
func (*GetPostAuthnRequestForbidden) Error ¶
func (o *GetPostAuthnRequestForbidden) Error() string
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 ¶
func (o *GetPostAuthnRequestForbidden) String() string
type GetPostAuthnRequestNotFound ¶
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 (o *GetPostAuthnRequestNotFound) Error() string
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 (o *GetPostAuthnRequestOK) GetPayload() *models.LoginSessionResponse
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 ¶
func (o *GetPostAuthnRequestParams) WithContext(ctx context.Context) *GetPostAuthnRequestParams
WithContext adds the context to the get post authn request params
func (*GetPostAuthnRequestParams) WithDefaults ¶
func (o *GetPostAuthnRequestParams) WithDefaults() *GetPostAuthnRequestParams
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 ¶
func (o *GetPostAuthnRequestParams) WithLogin(login string) *GetPostAuthnRequestParams
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 ¶
func (o *GetPostAuthnRequestParams) WithTimeout(timeout time.Duration) *GetPostAuthnRequestParams
WithTimeout adds the timeout to the get post authn request params
func (*GetPostAuthnRequestParams) WriteToRequest ¶
func (o *GetPostAuthnRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetPostAuthnRequestTooManyRequests) Code() int
Code gets the status code for the get post authn request too many requests response
func (*GetPostAuthnRequestTooManyRequests) Error ¶
func (o *GetPostAuthnRequestTooManyRequests) Error() string
func (*GetPostAuthnRequestTooManyRequests) GetPayload ¶
func (o *GetPostAuthnRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *GetPostAuthnRequestTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetPostAuthnRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get post authn request too many requests response has a 2xx status code
func (*GetPostAuthnRequestTooManyRequests) String ¶
func (o *GetPostAuthnRequestTooManyRequests) String() string
type GetPostAuthnRequestUnauthorized ¶
type GetPostAuthnRequestUnauthorized struct {
}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 ¶
func (o *GetPostAuthnRequestUnauthorized) Code() int
Code gets the status code for the get post authn request unauthorized response
func (*GetPostAuthnRequestUnauthorized) Error ¶
func (o *GetPostAuthnRequestUnauthorized) Error() string
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 ¶
func (o *GetPostAuthnRequestUnauthorized) String() string