logins

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: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptLoginRequestBadRequest

type AcceptLoginRequestBadRequest struct {
	Payload *models.Error
}

AcceptLoginRequestBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAcceptLoginRequestBadRequest

func NewAcceptLoginRequestBadRequest() *AcceptLoginRequestBadRequest

NewAcceptLoginRequestBadRequest creates a AcceptLoginRequestBadRequest with default headers values

func (*AcceptLoginRequestBadRequest) Code

Code gets the status code for the accept login request bad request response

func (*AcceptLoginRequestBadRequest) Error

func (*AcceptLoginRequestBadRequest) GetPayload

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

func (*AcceptLoginRequestBadRequest) IsClientError

func (o *AcceptLoginRequestBadRequest) IsClientError() bool

IsClientError returns true when this accept login request bad request response has a 4xx status code

func (*AcceptLoginRequestBadRequest) IsCode

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

IsCode returns true when this accept login request bad request response a status code equal to that given

func (*AcceptLoginRequestBadRequest) IsRedirect

func (o *AcceptLoginRequestBadRequest) IsRedirect() bool

IsRedirect returns true when this accept login request bad request response has a 3xx status code

func (*AcceptLoginRequestBadRequest) IsServerError

func (o *AcceptLoginRequestBadRequest) IsServerError() bool

IsServerError returns true when this accept login request bad request response has a 5xx status code

func (*AcceptLoginRequestBadRequest) IsSuccess

func (o *AcceptLoginRequestBadRequest) IsSuccess() bool

IsSuccess returns true when this accept login request bad request response has a 2xx status code

func (*AcceptLoginRequestBadRequest) String

type AcceptLoginRequestForbidden

type AcceptLoginRequestForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewAcceptLoginRequestForbidden

func NewAcceptLoginRequestForbidden() *AcceptLoginRequestForbidden

NewAcceptLoginRequestForbidden creates a AcceptLoginRequestForbidden with default headers values

func (*AcceptLoginRequestForbidden) Code

func (o *AcceptLoginRequestForbidden) Code() int

Code gets the status code for the accept login request forbidden response

func (*AcceptLoginRequestForbidden) Error

func (*AcceptLoginRequestForbidden) GetPayload

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

func (*AcceptLoginRequestForbidden) IsClientError

func (o *AcceptLoginRequestForbidden) IsClientError() bool

IsClientError returns true when this accept login request forbidden response has a 4xx status code

func (*AcceptLoginRequestForbidden) IsCode

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

IsCode returns true when this accept login request forbidden response a status code equal to that given

func (*AcceptLoginRequestForbidden) IsRedirect

func (o *AcceptLoginRequestForbidden) IsRedirect() bool

IsRedirect returns true when this accept login request forbidden response has a 3xx status code

func (*AcceptLoginRequestForbidden) IsServerError

func (o *AcceptLoginRequestForbidden) IsServerError() bool

IsServerError returns true when this accept login request forbidden response has a 5xx status code

func (*AcceptLoginRequestForbidden) IsSuccess

func (o *AcceptLoginRequestForbidden) IsSuccess() bool

IsSuccess returns true when this accept login request forbidden response has a 2xx status code

func (*AcceptLoginRequestForbidden) String

func (o *AcceptLoginRequestForbidden) String() string

type AcceptLoginRequestNotFound

type AcceptLoginRequestNotFound struct {
	Payload *models.Error
}

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

Not found

func NewAcceptLoginRequestNotFound

func NewAcceptLoginRequestNotFound() *AcceptLoginRequestNotFound

NewAcceptLoginRequestNotFound creates a AcceptLoginRequestNotFound with default headers values

func (*AcceptLoginRequestNotFound) Code

func (o *AcceptLoginRequestNotFound) Code() int

Code gets the status code for the accept login request not found response

func (*AcceptLoginRequestNotFound) Error

func (*AcceptLoginRequestNotFound) GetPayload

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

func (*AcceptLoginRequestNotFound) IsClientError

func (o *AcceptLoginRequestNotFound) IsClientError() bool

IsClientError returns true when this accept login request not found response has a 4xx status code

func (*AcceptLoginRequestNotFound) IsCode

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

IsCode returns true when this accept login request not found response a status code equal to that given

func (*AcceptLoginRequestNotFound) IsRedirect

func (o *AcceptLoginRequestNotFound) IsRedirect() bool

IsRedirect returns true when this accept login request not found response has a 3xx status code

func (*AcceptLoginRequestNotFound) IsServerError

func (o *AcceptLoginRequestNotFound) IsServerError() bool

IsServerError returns true when this accept login request not found response has a 5xx status code

func (*AcceptLoginRequestNotFound) IsSuccess

func (o *AcceptLoginRequestNotFound) IsSuccess() bool

IsSuccess returns true when this accept login request not found response has a 2xx status code

func (*AcceptLoginRequestNotFound) String

func (o *AcceptLoginRequestNotFound) String() string

type AcceptLoginRequestOK

type AcceptLoginRequestOK struct {
	Payload *models.LoginAccepted
}

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

Login accepted

func NewAcceptLoginRequestOK

func NewAcceptLoginRequestOK() *AcceptLoginRequestOK

NewAcceptLoginRequestOK creates a AcceptLoginRequestOK with default headers values

func (*AcceptLoginRequestOK) Code

func (o *AcceptLoginRequestOK) Code() int

Code gets the status code for the accept login request o k response

func (*AcceptLoginRequestOK) Error

func (o *AcceptLoginRequestOK) Error() string

func (*AcceptLoginRequestOK) GetPayload

func (o *AcceptLoginRequestOK) GetPayload() *models.LoginAccepted

func (*AcceptLoginRequestOK) IsClientError

func (o *AcceptLoginRequestOK) IsClientError() bool

IsClientError returns true when this accept login request o k response has a 4xx status code

func (*AcceptLoginRequestOK) IsCode

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

IsCode returns true when this accept login request o k response a status code equal to that given

func (*AcceptLoginRequestOK) IsRedirect

func (o *AcceptLoginRequestOK) IsRedirect() bool

IsRedirect returns true when this accept login request o k response has a 3xx status code

func (*AcceptLoginRequestOK) IsServerError

func (o *AcceptLoginRequestOK) IsServerError() bool

IsServerError returns true when this accept login request o k response has a 5xx status code

func (*AcceptLoginRequestOK) IsSuccess

func (o *AcceptLoginRequestOK) IsSuccess() bool

IsSuccess returns true when this accept login request o k response has a 2xx status code

func (*AcceptLoginRequestOK) String

func (o *AcceptLoginRequestOK) String() string

type AcceptLoginRequestParams

type AcceptLoginRequestParams struct {

	// AcceptLogin.
	AcceptLogin *models.AcceptSession

	// Login.
	Login string

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

AcceptLoginRequestParams contains all the parameters to send to the API endpoint

for the accept login request operation.

Typically these are written to a http.Request.

func NewAcceptLoginRequestParams

func NewAcceptLoginRequestParams() *AcceptLoginRequestParams

NewAcceptLoginRequestParams creates a new AcceptLoginRequestParams 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 NewAcceptLoginRequestParamsWithContext

func NewAcceptLoginRequestParamsWithContext(ctx context.Context) *AcceptLoginRequestParams

NewAcceptLoginRequestParamsWithContext creates a new AcceptLoginRequestParams object with the ability to set a context for a request.

func NewAcceptLoginRequestParamsWithHTTPClient

func NewAcceptLoginRequestParamsWithHTTPClient(client *http.Client) *AcceptLoginRequestParams

NewAcceptLoginRequestParamsWithHTTPClient creates a new AcceptLoginRequestParams object with the ability to set a custom HTTPClient for a request.

func NewAcceptLoginRequestParamsWithTimeout

func NewAcceptLoginRequestParamsWithTimeout(timeout time.Duration) *AcceptLoginRequestParams

NewAcceptLoginRequestParamsWithTimeout creates a new AcceptLoginRequestParams object with the ability to set a timeout on a request.

func (*AcceptLoginRequestParams) SetAcceptLogin

func (o *AcceptLoginRequestParams) SetAcceptLogin(acceptLogin *models.AcceptSession)

SetAcceptLogin adds the acceptLogin to the accept login request params

func (*AcceptLoginRequestParams) SetContext

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

SetContext adds the context to the accept login request params

func (*AcceptLoginRequestParams) SetDefaults

func (o *AcceptLoginRequestParams) SetDefaults()

SetDefaults hydrates default values in the accept login request params (not the query body).

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

func (*AcceptLoginRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the accept login request params

func (*AcceptLoginRequestParams) SetLogin

func (o *AcceptLoginRequestParams) SetLogin(login string)

SetLogin adds the login to the accept login request params

func (*AcceptLoginRequestParams) SetTimeout

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

SetTimeout adds the timeout to the accept login request params

func (*AcceptLoginRequestParams) WithAcceptLogin

func (o *AcceptLoginRequestParams) WithAcceptLogin(acceptLogin *models.AcceptSession) *AcceptLoginRequestParams

WithAcceptLogin adds the acceptLogin to the accept login request params

func (*AcceptLoginRequestParams) WithContext

WithContext adds the context to the accept login request params

func (*AcceptLoginRequestParams) WithDefaults

WithDefaults hydrates default values in the accept login request params (not the query body).

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

func (*AcceptLoginRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the accept login request params

func (*AcceptLoginRequestParams) WithLogin

WithLogin adds the login to the accept login request params

func (*AcceptLoginRequestParams) WithTimeout

WithTimeout adds the timeout to the accept login request params

func (*AcceptLoginRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AcceptLoginRequestReader

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

AcceptLoginRequestReader is a Reader for the AcceptLoginRequest structure.

func (*AcceptLoginRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AcceptLoginRequestTooManyRequests

type AcceptLoginRequestTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewAcceptLoginRequestTooManyRequests

func NewAcceptLoginRequestTooManyRequests() *AcceptLoginRequestTooManyRequests

NewAcceptLoginRequestTooManyRequests creates a AcceptLoginRequestTooManyRequests with default headers values

func (*AcceptLoginRequestTooManyRequests) Code

Code gets the status code for the accept login request too many requests response

func (*AcceptLoginRequestTooManyRequests) Error

func (*AcceptLoginRequestTooManyRequests) GetPayload

func (*AcceptLoginRequestTooManyRequests) IsClientError

func (o *AcceptLoginRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this accept login request too many requests response has a 4xx status code

func (*AcceptLoginRequestTooManyRequests) IsCode

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

IsCode returns true when this accept login request too many requests response a status code equal to that given

func (*AcceptLoginRequestTooManyRequests) IsRedirect

func (o *AcceptLoginRequestTooManyRequests) IsRedirect() bool

IsRedirect returns true when this accept login request too many requests response has a 3xx status code

func (*AcceptLoginRequestTooManyRequests) IsServerError

func (o *AcceptLoginRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this accept login request too many requests response has a 5xx status code

func (*AcceptLoginRequestTooManyRequests) IsSuccess

func (o *AcceptLoginRequestTooManyRequests) IsSuccess() bool

IsSuccess returns true when this accept login request too many requests response has a 2xx status code

func (*AcceptLoginRequestTooManyRequests) String

type AcceptLoginRequestUnauthorized

type AcceptLoginRequestUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewAcceptLoginRequestUnauthorized

func NewAcceptLoginRequestUnauthorized() *AcceptLoginRequestUnauthorized

NewAcceptLoginRequestUnauthorized creates a AcceptLoginRequestUnauthorized with default headers values

func (*AcceptLoginRequestUnauthorized) Code

Code gets the status code for the accept login request unauthorized response

func (*AcceptLoginRequestUnauthorized) Error

func (*AcceptLoginRequestUnauthorized) GetPayload

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

func (*AcceptLoginRequestUnauthorized) IsClientError

func (o *AcceptLoginRequestUnauthorized) IsClientError() bool

IsClientError returns true when this accept login request unauthorized response has a 4xx status code

func (*AcceptLoginRequestUnauthorized) IsCode

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

IsCode returns true when this accept login request unauthorized response a status code equal to that given

func (*AcceptLoginRequestUnauthorized) IsRedirect

func (o *AcceptLoginRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this accept login request unauthorized response has a 3xx status code

func (*AcceptLoginRequestUnauthorized) IsServerError

func (o *AcceptLoginRequestUnauthorized) IsServerError() bool

IsServerError returns true when this accept login request unauthorized response has a 5xx status code

func (*AcceptLoginRequestUnauthorized) IsSuccess

func (o *AcceptLoginRequestUnauthorized) IsSuccess() bool

IsSuccess returns true when this accept login request unauthorized response has a 2xx status code

func (*AcceptLoginRequestUnauthorized) String

type AcceptScopeGrantRequestForbidden

type AcceptScopeGrantRequestForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewAcceptScopeGrantRequestForbidden

func NewAcceptScopeGrantRequestForbidden() *AcceptScopeGrantRequestForbidden

NewAcceptScopeGrantRequestForbidden creates a AcceptScopeGrantRequestForbidden with default headers values

func (*AcceptScopeGrantRequestForbidden) Code

Code gets the status code for the accept scope grant request forbidden response

func (*AcceptScopeGrantRequestForbidden) Error

func (*AcceptScopeGrantRequestForbidden) GetPayload

func (*AcceptScopeGrantRequestForbidden) IsClientError

func (o *AcceptScopeGrantRequestForbidden) IsClientError() bool

IsClientError returns true when this accept scope grant request forbidden response has a 4xx status code

func (*AcceptScopeGrantRequestForbidden) IsCode

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

IsCode returns true when this accept scope grant request forbidden response a status code equal to that given

func (*AcceptScopeGrantRequestForbidden) IsRedirect

func (o *AcceptScopeGrantRequestForbidden) IsRedirect() bool

IsRedirect returns true when this accept scope grant request forbidden response has a 3xx status code

func (*AcceptScopeGrantRequestForbidden) IsServerError

func (o *AcceptScopeGrantRequestForbidden) IsServerError() bool

IsServerError returns true when this accept scope grant request forbidden response has a 5xx status code

func (*AcceptScopeGrantRequestForbidden) IsSuccess

func (o *AcceptScopeGrantRequestForbidden) IsSuccess() bool

IsSuccess returns true when this accept scope grant request forbidden response has a 2xx status code

func (*AcceptScopeGrantRequestForbidden) String

type AcceptScopeGrantRequestNotFound

type AcceptScopeGrantRequestNotFound struct {
	Payload *models.Error
}

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

Not found

func NewAcceptScopeGrantRequestNotFound

func NewAcceptScopeGrantRequestNotFound() *AcceptScopeGrantRequestNotFound

NewAcceptScopeGrantRequestNotFound creates a AcceptScopeGrantRequestNotFound with default headers values

func (*AcceptScopeGrantRequestNotFound) Code

Code gets the status code for the accept scope grant request not found response

func (*AcceptScopeGrantRequestNotFound) Error

func (*AcceptScopeGrantRequestNotFound) GetPayload

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

func (*AcceptScopeGrantRequestNotFound) IsClientError

func (o *AcceptScopeGrantRequestNotFound) IsClientError() bool

IsClientError returns true when this accept scope grant request not found response has a 4xx status code

func (*AcceptScopeGrantRequestNotFound) IsCode

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

IsCode returns true when this accept scope grant request not found response a status code equal to that given

func (*AcceptScopeGrantRequestNotFound) IsRedirect

func (o *AcceptScopeGrantRequestNotFound) IsRedirect() bool

IsRedirect returns true when this accept scope grant request not found response has a 3xx status code

func (*AcceptScopeGrantRequestNotFound) IsServerError

func (o *AcceptScopeGrantRequestNotFound) IsServerError() bool

IsServerError returns true when this accept scope grant request not found response has a 5xx status code

func (*AcceptScopeGrantRequestNotFound) IsSuccess

func (o *AcceptScopeGrantRequestNotFound) IsSuccess() bool

IsSuccess returns true when this accept scope grant request not found response has a 2xx status code

func (*AcceptScopeGrantRequestNotFound) String

type AcceptScopeGrantRequestOK

type AcceptScopeGrantRequestOK struct {
	Payload *models.ScopeGrantAccepted
}

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

Scope grant accepted

func NewAcceptScopeGrantRequestOK

func NewAcceptScopeGrantRequestOK() *AcceptScopeGrantRequestOK

NewAcceptScopeGrantRequestOK creates a AcceptScopeGrantRequestOK with default headers values

func (*AcceptScopeGrantRequestOK) Code

func (o *AcceptScopeGrantRequestOK) Code() int

Code gets the status code for the accept scope grant request o k response

func (*AcceptScopeGrantRequestOK) Error

func (o *AcceptScopeGrantRequestOK) Error() string

func (*AcceptScopeGrantRequestOK) GetPayload

func (*AcceptScopeGrantRequestOK) IsClientError

func (o *AcceptScopeGrantRequestOK) IsClientError() bool

IsClientError returns true when this accept scope grant request o k response has a 4xx status code

func (*AcceptScopeGrantRequestOK) IsCode

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

IsCode returns true when this accept scope grant request o k response a status code equal to that given

func (*AcceptScopeGrantRequestOK) IsRedirect

func (o *AcceptScopeGrantRequestOK) IsRedirect() bool

IsRedirect returns true when this accept scope grant request o k response has a 3xx status code

func (*AcceptScopeGrantRequestOK) IsServerError

func (o *AcceptScopeGrantRequestOK) IsServerError() bool

IsServerError returns true when this accept scope grant request o k response has a 5xx status code

func (*AcceptScopeGrantRequestOK) IsSuccess

func (o *AcceptScopeGrantRequestOK) IsSuccess() bool

IsSuccess returns true when this accept scope grant request o k response has a 2xx status code

func (*AcceptScopeGrantRequestOK) String

func (o *AcceptScopeGrantRequestOK) String() string

type AcceptScopeGrantRequestParams

type AcceptScopeGrantRequestParams struct {

	// AcceptScopeGrant.
	AcceptScopeGrant *models.AcceptScopeGrant

	// Login.
	Login string

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

AcceptScopeGrantRequestParams contains all the parameters to send to the API endpoint

for the accept scope grant request operation.

Typically these are written to a http.Request.

func NewAcceptScopeGrantRequestParams

func NewAcceptScopeGrantRequestParams() *AcceptScopeGrantRequestParams

NewAcceptScopeGrantRequestParams creates a new AcceptScopeGrantRequestParams 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 NewAcceptScopeGrantRequestParamsWithContext

func NewAcceptScopeGrantRequestParamsWithContext(ctx context.Context) *AcceptScopeGrantRequestParams

NewAcceptScopeGrantRequestParamsWithContext creates a new AcceptScopeGrantRequestParams object with the ability to set a context for a request.

func NewAcceptScopeGrantRequestParamsWithHTTPClient

func NewAcceptScopeGrantRequestParamsWithHTTPClient(client *http.Client) *AcceptScopeGrantRequestParams

NewAcceptScopeGrantRequestParamsWithHTTPClient creates a new AcceptScopeGrantRequestParams object with the ability to set a custom HTTPClient for a request.

func NewAcceptScopeGrantRequestParamsWithTimeout

func NewAcceptScopeGrantRequestParamsWithTimeout(timeout time.Duration) *AcceptScopeGrantRequestParams

NewAcceptScopeGrantRequestParamsWithTimeout creates a new AcceptScopeGrantRequestParams object with the ability to set a timeout on a request.

func (*AcceptScopeGrantRequestParams) SetAcceptScopeGrant

func (o *AcceptScopeGrantRequestParams) SetAcceptScopeGrant(acceptScopeGrant *models.AcceptScopeGrant)

SetAcceptScopeGrant adds the acceptScopeGrant to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) SetContext

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

SetContext adds the context to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) SetDefaults

func (o *AcceptScopeGrantRequestParams) SetDefaults()

SetDefaults hydrates default values in the accept scope grant request params (not the query body).

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

func (*AcceptScopeGrantRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) SetLogin

func (o *AcceptScopeGrantRequestParams) SetLogin(login string)

SetLogin adds the login to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) SetTimeout

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

SetTimeout adds the timeout to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) WithAcceptScopeGrant

func (o *AcceptScopeGrantRequestParams) WithAcceptScopeGrant(acceptScopeGrant *models.AcceptScopeGrant) *AcceptScopeGrantRequestParams

WithAcceptScopeGrant adds the acceptScopeGrant to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) WithContext

WithContext adds the context to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) WithDefaults

WithDefaults hydrates default values in the accept scope grant request params (not the query body).

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

func (*AcceptScopeGrantRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) WithLogin

WithLogin adds the login to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) WithTimeout

WithTimeout adds the timeout to the accept scope grant request params

func (*AcceptScopeGrantRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AcceptScopeGrantRequestReader

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

AcceptScopeGrantRequestReader is a Reader for the AcceptScopeGrantRequest structure.

func (*AcceptScopeGrantRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AcceptScopeGrantRequestTooManyRequests

type AcceptScopeGrantRequestTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewAcceptScopeGrantRequestTooManyRequests

func NewAcceptScopeGrantRequestTooManyRequests() *AcceptScopeGrantRequestTooManyRequests

NewAcceptScopeGrantRequestTooManyRequests creates a AcceptScopeGrantRequestTooManyRequests with default headers values

func (*AcceptScopeGrantRequestTooManyRequests) Code

Code gets the status code for the accept scope grant request too many requests response

func (*AcceptScopeGrantRequestTooManyRequests) Error

func (*AcceptScopeGrantRequestTooManyRequests) GetPayload

func (*AcceptScopeGrantRequestTooManyRequests) IsClientError

func (o *AcceptScopeGrantRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this accept scope grant request too many requests response has a 4xx status code

func (*AcceptScopeGrantRequestTooManyRequests) IsCode

IsCode returns true when this accept scope grant request too many requests response a status code equal to that given

func (*AcceptScopeGrantRequestTooManyRequests) IsRedirect

IsRedirect returns true when this accept scope grant request too many requests response has a 3xx status code

func (*AcceptScopeGrantRequestTooManyRequests) IsServerError

func (o *AcceptScopeGrantRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this accept scope grant request too many requests response has a 5xx status code

func (*AcceptScopeGrantRequestTooManyRequests) IsSuccess

IsSuccess returns true when this accept scope grant request too many requests response has a 2xx status code

func (*AcceptScopeGrantRequestTooManyRequests) String

type AcceptScopeGrantRequestUnauthorized

type AcceptScopeGrantRequestUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewAcceptScopeGrantRequestUnauthorized

func NewAcceptScopeGrantRequestUnauthorized() *AcceptScopeGrantRequestUnauthorized

NewAcceptScopeGrantRequestUnauthorized creates a AcceptScopeGrantRequestUnauthorized with default headers values

func (*AcceptScopeGrantRequestUnauthorized) Code

Code gets the status code for the accept scope grant request unauthorized response

func (*AcceptScopeGrantRequestUnauthorized) Error

func (*AcceptScopeGrantRequestUnauthorized) GetPayload

func (*AcceptScopeGrantRequestUnauthorized) IsClientError

func (o *AcceptScopeGrantRequestUnauthorized) IsClientError() bool

IsClientError returns true when this accept scope grant request unauthorized response has a 4xx status code

func (*AcceptScopeGrantRequestUnauthorized) IsCode

IsCode returns true when this accept scope grant request unauthorized response a status code equal to that given

func (*AcceptScopeGrantRequestUnauthorized) IsRedirect

func (o *AcceptScopeGrantRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this accept scope grant request unauthorized response has a 3xx status code

func (*AcceptScopeGrantRequestUnauthorized) IsServerError

func (o *AcceptScopeGrantRequestUnauthorized) IsServerError() bool

IsServerError returns true when this accept scope grant request unauthorized response has a 5xx status code

func (*AcceptScopeGrantRequestUnauthorized) IsSuccess

IsSuccess returns true when this accept scope grant request unauthorized response has a 2xx status code

func (*AcceptScopeGrantRequestUnauthorized) String

type Client

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

Client for logins API

func (*Client) AcceptLoginRequest

func (a *Client) AcceptLoginRequest(params *AcceptLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptLoginRequestOK, error)

AcceptLoginRequest accepts login request

This API is used by a login page to notify ACP that user has successfully authenticated.

func (*Client) AcceptScopeGrantRequest

func (a *Client) AcceptScopeGrantRequest(params *AcceptScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptScopeGrantRequestOK, error)

AcceptScopeGrantRequest accepts scope grant

This API is used to notify ACP that user granted consent.

func (*Client) GetLoginRequest

func (a *Client) GetLoginRequest(params *GetLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoginRequestOK, error)

GetLoginRequest gets login request

This API is used by a login page to make a decision if user should authenticate.

func (*Client) GetScopeGrantRequest

func (a *Client) GetScopeGrantRequest(params *GetScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScopeGrantRequestOK, error)

GetScopeGrantRequest gets scope grants

This API is used by a consent page to display requested scopes.

func (*Client) RejectLoginRequest

func (a *Client) RejectLoginRequest(params *RejectLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectLoginRequestOK, error)

RejectLoginRequest rejects login request

This API is used by a login page to notify ACP that login has been rejected.

func (*Client) RejectScopeGrantRequest

func (a *Client) RejectScopeGrantRequest(params *RejectScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectScopeGrantRequestOK, error)

RejectScopeGrantRequest rejects scope grant

This API is used to notify ACP that scope grant has been rejected.

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 {
	AcceptLoginRequest(params *AcceptLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptLoginRequestOK, error)

	AcceptScopeGrantRequest(params *AcceptScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptScopeGrantRequestOK, error)

	GetLoginRequest(params *GetLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoginRequestOK, error)

	GetScopeGrantRequest(params *GetScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScopeGrantRequestOK, error)

	RejectLoginRequest(params *RejectLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectLoginRequestOK, error)

	RejectScopeGrantRequest(params *RejectScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectScopeGrantRequestOK, 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 logins API client.

type GetLoginRequestForbidden

type GetLoginRequestForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetLoginRequestForbidden

func NewGetLoginRequestForbidden() *GetLoginRequestForbidden

NewGetLoginRequestForbidden creates a GetLoginRequestForbidden with default headers values

func (*GetLoginRequestForbidden) Code

func (o *GetLoginRequestForbidden) Code() int

Code gets the status code for the get login request forbidden response

func (*GetLoginRequestForbidden) Error

func (o *GetLoginRequestForbidden) Error() string

func (*GetLoginRequestForbidden) GetPayload

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

func (*GetLoginRequestForbidden) IsClientError

func (o *GetLoginRequestForbidden) IsClientError() bool

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

func (*GetLoginRequestForbidden) IsCode

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

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

func (*GetLoginRequestForbidden) IsRedirect

func (o *GetLoginRequestForbidden) IsRedirect() bool

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

func (*GetLoginRequestForbidden) IsServerError

func (o *GetLoginRequestForbidden) IsServerError() bool

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

func (*GetLoginRequestForbidden) IsSuccess

func (o *GetLoginRequestForbidden) IsSuccess() bool

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

func (*GetLoginRequestForbidden) String

func (o *GetLoginRequestForbidden) String() string

type GetLoginRequestNotFound

type GetLoginRequestNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetLoginRequestNotFound

func NewGetLoginRequestNotFound() *GetLoginRequestNotFound

NewGetLoginRequestNotFound creates a GetLoginRequestNotFound with default headers values

func (*GetLoginRequestNotFound) Code

func (o *GetLoginRequestNotFound) Code() int

Code gets the status code for the get login request not found response

func (*GetLoginRequestNotFound) Error

func (o *GetLoginRequestNotFound) Error() string

func (*GetLoginRequestNotFound) GetPayload

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

func (*GetLoginRequestNotFound) IsClientError

func (o *GetLoginRequestNotFound) IsClientError() bool

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

func (*GetLoginRequestNotFound) IsCode

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

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

func (*GetLoginRequestNotFound) IsRedirect

func (o *GetLoginRequestNotFound) IsRedirect() bool

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

func (*GetLoginRequestNotFound) IsServerError

func (o *GetLoginRequestNotFound) IsServerError() bool

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

func (*GetLoginRequestNotFound) IsSuccess

func (o *GetLoginRequestNotFound) IsSuccess() bool

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

func (*GetLoginRequestNotFound) String

func (o *GetLoginRequestNotFound) String() string

type GetLoginRequestOK

type GetLoginRequestOK struct {
	Payload *models.LoginSessionResponse
}

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

Login session

func NewGetLoginRequestOK

func NewGetLoginRequestOK() *GetLoginRequestOK

NewGetLoginRequestOK creates a GetLoginRequestOK with default headers values

func (*GetLoginRequestOK) Code

func (o *GetLoginRequestOK) Code() int

Code gets the status code for the get login request o k response

func (*GetLoginRequestOK) Error

func (o *GetLoginRequestOK) Error() string

func (*GetLoginRequestOK) GetPayload

func (*GetLoginRequestOK) IsClientError

func (o *GetLoginRequestOK) IsClientError() bool

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

func (*GetLoginRequestOK) IsCode

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

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

func (*GetLoginRequestOK) IsRedirect

func (o *GetLoginRequestOK) IsRedirect() bool

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

func (*GetLoginRequestOK) IsServerError

func (o *GetLoginRequestOK) IsServerError() bool

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

func (*GetLoginRequestOK) IsSuccess

func (o *GetLoginRequestOK) IsSuccess() bool

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

func (*GetLoginRequestOK) String

func (o *GetLoginRequestOK) String() string

type GetLoginRequestParams

type GetLoginRequestParams struct {

	// Login.
	Login string

	// LoginState.
	LoginState *string

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

GetLoginRequestParams contains all the parameters to send to the API endpoint

for the get login request operation.

Typically these are written to a http.Request.

func NewGetLoginRequestParams

func NewGetLoginRequestParams() *GetLoginRequestParams

NewGetLoginRequestParams creates a new GetLoginRequestParams 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 NewGetLoginRequestParamsWithContext

func NewGetLoginRequestParamsWithContext(ctx context.Context) *GetLoginRequestParams

NewGetLoginRequestParamsWithContext creates a new GetLoginRequestParams object with the ability to set a context for a request.

func NewGetLoginRequestParamsWithHTTPClient

func NewGetLoginRequestParamsWithHTTPClient(client *http.Client) *GetLoginRequestParams

NewGetLoginRequestParamsWithHTTPClient creates a new GetLoginRequestParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoginRequestParamsWithTimeout

func NewGetLoginRequestParamsWithTimeout(timeout time.Duration) *GetLoginRequestParams

NewGetLoginRequestParamsWithTimeout creates a new GetLoginRequestParams object with the ability to set a timeout on a request.

func (*GetLoginRequestParams) SetContext

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

SetContext adds the context to the get login request params

func (*GetLoginRequestParams) SetDefaults

func (o *GetLoginRequestParams) SetDefaults()

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

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

func (*GetLoginRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get login request params

func (*GetLoginRequestParams) SetLogin

func (o *GetLoginRequestParams) SetLogin(login string)

SetLogin adds the login to the get login request params

func (*GetLoginRequestParams) SetLoginState

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

SetLoginState adds the loginState to the get login request params

func (*GetLoginRequestParams) SetTimeout

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

SetTimeout adds the timeout to the get login request params

func (*GetLoginRequestParams) WithContext

WithContext adds the context to the get login request params

func (*GetLoginRequestParams) WithDefaults

func (o *GetLoginRequestParams) WithDefaults() *GetLoginRequestParams

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

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

func (*GetLoginRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get login request params

func (*GetLoginRequestParams) WithLogin

func (o *GetLoginRequestParams) WithLogin(login string) *GetLoginRequestParams

WithLogin adds the login to the get login request params

func (*GetLoginRequestParams) WithLoginState

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

WithLoginState adds the loginState to the get login request params

func (*GetLoginRequestParams) WithTimeout

func (o *GetLoginRequestParams) WithTimeout(timeout time.Duration) *GetLoginRequestParams

WithTimeout adds the timeout to the get login request params

func (*GetLoginRequestParams) WriteToRequest

func (o *GetLoginRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLoginRequestReader

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

GetLoginRequestReader is a Reader for the GetLoginRequest structure.

func (*GetLoginRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLoginRequestTooManyRequests

type GetLoginRequestTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetLoginRequestTooManyRequests

func NewGetLoginRequestTooManyRequests() *GetLoginRequestTooManyRequests

NewGetLoginRequestTooManyRequests creates a GetLoginRequestTooManyRequests with default headers values

func (*GetLoginRequestTooManyRequests) Code

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

func (*GetLoginRequestTooManyRequests) Error

func (*GetLoginRequestTooManyRequests) GetPayload

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

func (*GetLoginRequestTooManyRequests) IsClientError

func (o *GetLoginRequestTooManyRequests) IsClientError() bool

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

func (*GetLoginRequestTooManyRequests) IsCode

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

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

func (*GetLoginRequestTooManyRequests) IsRedirect

func (o *GetLoginRequestTooManyRequests) IsRedirect() bool

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

func (*GetLoginRequestTooManyRequests) IsServerError

func (o *GetLoginRequestTooManyRequests) IsServerError() bool

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

func (*GetLoginRequestTooManyRequests) IsSuccess

func (o *GetLoginRequestTooManyRequests) IsSuccess() bool

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

func (*GetLoginRequestTooManyRequests) String

type GetLoginRequestUnauthorized

type GetLoginRequestUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetLoginRequestUnauthorized

func NewGetLoginRequestUnauthorized() *GetLoginRequestUnauthorized

NewGetLoginRequestUnauthorized creates a GetLoginRequestUnauthorized with default headers values

func (*GetLoginRequestUnauthorized) Code

func (o *GetLoginRequestUnauthorized) Code() int

Code gets the status code for the get login request unauthorized response

func (*GetLoginRequestUnauthorized) Error

func (*GetLoginRequestUnauthorized) GetPayload

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

func (*GetLoginRequestUnauthorized) IsClientError

func (o *GetLoginRequestUnauthorized) IsClientError() bool

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

func (*GetLoginRequestUnauthorized) IsCode

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

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

func (*GetLoginRequestUnauthorized) IsRedirect

func (o *GetLoginRequestUnauthorized) IsRedirect() bool

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

func (*GetLoginRequestUnauthorized) IsServerError

func (o *GetLoginRequestUnauthorized) IsServerError() bool

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

func (*GetLoginRequestUnauthorized) IsSuccess

func (o *GetLoginRequestUnauthorized) IsSuccess() bool

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

func (*GetLoginRequestUnauthorized) String

func (o *GetLoginRequestUnauthorized) String() string

type GetScopeGrantRequestForbidden

type GetScopeGrantRequestForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetScopeGrantRequestForbidden

func NewGetScopeGrantRequestForbidden() *GetScopeGrantRequestForbidden

NewGetScopeGrantRequestForbidden creates a GetScopeGrantRequestForbidden with default headers values

func (*GetScopeGrantRequestForbidden) Code

Code gets the status code for the get scope grant request forbidden response

func (*GetScopeGrantRequestForbidden) Error

func (*GetScopeGrantRequestForbidden) GetPayload

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

func (*GetScopeGrantRequestForbidden) IsClientError

func (o *GetScopeGrantRequestForbidden) IsClientError() bool

IsClientError returns true when this get scope grant request forbidden response has a 4xx status code

func (*GetScopeGrantRequestForbidden) IsCode

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

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

func (*GetScopeGrantRequestForbidden) IsRedirect

func (o *GetScopeGrantRequestForbidden) IsRedirect() bool

IsRedirect returns true when this get scope grant request forbidden response has a 3xx status code

func (*GetScopeGrantRequestForbidden) IsServerError

func (o *GetScopeGrantRequestForbidden) IsServerError() bool

IsServerError returns true when this get scope grant request forbidden response has a 5xx status code

func (*GetScopeGrantRequestForbidden) IsSuccess

func (o *GetScopeGrantRequestForbidden) IsSuccess() bool

IsSuccess returns true when this get scope grant request forbidden response has a 2xx status code

func (*GetScopeGrantRequestForbidden) String

type GetScopeGrantRequestNotFound

type GetScopeGrantRequestNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetScopeGrantRequestNotFound

func NewGetScopeGrantRequestNotFound() *GetScopeGrantRequestNotFound

NewGetScopeGrantRequestNotFound creates a GetScopeGrantRequestNotFound with default headers values

func (*GetScopeGrantRequestNotFound) Code

Code gets the status code for the get scope grant request not found response

func (*GetScopeGrantRequestNotFound) Error

func (*GetScopeGrantRequestNotFound) GetPayload

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

func (*GetScopeGrantRequestNotFound) IsClientError

func (o *GetScopeGrantRequestNotFound) IsClientError() bool

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

func (*GetScopeGrantRequestNotFound) IsCode

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

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

func (*GetScopeGrantRequestNotFound) IsRedirect

func (o *GetScopeGrantRequestNotFound) IsRedirect() bool

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

func (*GetScopeGrantRequestNotFound) IsServerError

func (o *GetScopeGrantRequestNotFound) IsServerError() bool

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

func (*GetScopeGrantRequestNotFound) IsSuccess

func (o *GetScopeGrantRequestNotFound) IsSuccess() bool

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

func (*GetScopeGrantRequestNotFound) String

type GetScopeGrantRequestOK

type GetScopeGrantRequestOK struct {
	Payload *models.ScopeGrantSessionResponse
}

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

Scope grant session

func NewGetScopeGrantRequestOK

func NewGetScopeGrantRequestOK() *GetScopeGrantRequestOK

NewGetScopeGrantRequestOK creates a GetScopeGrantRequestOK with default headers values

func (*GetScopeGrantRequestOK) Code

func (o *GetScopeGrantRequestOK) Code() int

Code gets the status code for the get scope grant request o k response

func (*GetScopeGrantRequestOK) Error

func (o *GetScopeGrantRequestOK) Error() string

func (*GetScopeGrantRequestOK) GetPayload

func (*GetScopeGrantRequestOK) IsClientError

func (o *GetScopeGrantRequestOK) IsClientError() bool

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

func (*GetScopeGrantRequestOK) IsCode

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

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

func (*GetScopeGrantRequestOK) IsRedirect

func (o *GetScopeGrantRequestOK) IsRedirect() bool

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

func (*GetScopeGrantRequestOK) IsServerError

func (o *GetScopeGrantRequestOK) IsServerError() bool

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

func (*GetScopeGrantRequestOK) IsSuccess

func (o *GetScopeGrantRequestOK) IsSuccess() bool

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

func (*GetScopeGrantRequestOK) String

func (o *GetScopeGrantRequestOK) String() string

type GetScopeGrantRequestParams

type GetScopeGrantRequestParams struct {

	// Login.
	Login string

	// LoginState.
	LoginState *string

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

GetScopeGrantRequestParams contains all the parameters to send to the API endpoint

for the get scope grant request operation.

Typically these are written to a http.Request.

func NewGetScopeGrantRequestParams

func NewGetScopeGrantRequestParams() *GetScopeGrantRequestParams

NewGetScopeGrantRequestParams creates a new GetScopeGrantRequestParams 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 NewGetScopeGrantRequestParamsWithContext

func NewGetScopeGrantRequestParamsWithContext(ctx context.Context) *GetScopeGrantRequestParams

NewGetScopeGrantRequestParamsWithContext creates a new GetScopeGrantRequestParams object with the ability to set a context for a request.

func NewGetScopeGrantRequestParamsWithHTTPClient

func NewGetScopeGrantRequestParamsWithHTTPClient(client *http.Client) *GetScopeGrantRequestParams

NewGetScopeGrantRequestParamsWithHTTPClient creates a new GetScopeGrantRequestParams object with the ability to set a custom HTTPClient for a request.

func NewGetScopeGrantRequestParamsWithTimeout

func NewGetScopeGrantRequestParamsWithTimeout(timeout time.Duration) *GetScopeGrantRequestParams

NewGetScopeGrantRequestParamsWithTimeout creates a new GetScopeGrantRequestParams object with the ability to set a timeout on a request.

func (*GetScopeGrantRequestParams) SetContext

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

SetContext adds the context to the get scope grant request params

func (*GetScopeGrantRequestParams) SetDefaults

func (o *GetScopeGrantRequestParams) SetDefaults()

SetDefaults hydrates default values in the get scope grant request params (not the query body).

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

func (*GetScopeGrantRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scope grant request params

func (*GetScopeGrantRequestParams) SetLogin

func (o *GetScopeGrantRequestParams) SetLogin(login string)

SetLogin adds the login to the get scope grant request params

func (*GetScopeGrantRequestParams) SetLoginState

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

SetLoginState adds the loginState to the get scope grant request params

func (*GetScopeGrantRequestParams) SetTimeout

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

SetTimeout adds the timeout to the get scope grant request params

func (*GetScopeGrantRequestParams) WithContext

WithContext adds the context to the get scope grant request params

func (*GetScopeGrantRequestParams) WithDefaults

WithDefaults hydrates default values in the get scope grant request params (not the query body).

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

func (*GetScopeGrantRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get scope grant request params

func (*GetScopeGrantRequestParams) WithLogin

WithLogin adds the login to the get scope grant request params

func (*GetScopeGrantRequestParams) WithLoginState

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

WithLoginState adds the loginState to the get scope grant request params

func (*GetScopeGrantRequestParams) WithTimeout

WithTimeout adds the timeout to the get scope grant request params

func (*GetScopeGrantRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScopeGrantRequestReader

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

GetScopeGrantRequestReader is a Reader for the GetScopeGrantRequest structure.

func (*GetScopeGrantRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScopeGrantRequestTooManyRequests

type GetScopeGrantRequestTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetScopeGrantRequestTooManyRequests

func NewGetScopeGrantRequestTooManyRequests() *GetScopeGrantRequestTooManyRequests

NewGetScopeGrantRequestTooManyRequests creates a GetScopeGrantRequestTooManyRequests with default headers values

func (*GetScopeGrantRequestTooManyRequests) Code

Code gets the status code for the get scope grant request too many requests response

func (*GetScopeGrantRequestTooManyRequests) Error

func (*GetScopeGrantRequestTooManyRequests) GetPayload

func (*GetScopeGrantRequestTooManyRequests) IsClientError

func (o *GetScopeGrantRequestTooManyRequests) IsClientError() bool

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

func (*GetScopeGrantRequestTooManyRequests) IsCode

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

func (*GetScopeGrantRequestTooManyRequests) IsRedirect

func (o *GetScopeGrantRequestTooManyRequests) IsRedirect() bool

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

func (*GetScopeGrantRequestTooManyRequests) IsServerError

func (o *GetScopeGrantRequestTooManyRequests) IsServerError() bool

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

func (*GetScopeGrantRequestTooManyRequests) IsSuccess

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

func (*GetScopeGrantRequestTooManyRequests) String

type GetScopeGrantRequestUnauthorized

type GetScopeGrantRequestUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetScopeGrantRequestUnauthorized

func NewGetScopeGrantRequestUnauthorized() *GetScopeGrantRequestUnauthorized

NewGetScopeGrantRequestUnauthorized creates a GetScopeGrantRequestUnauthorized with default headers values

func (*GetScopeGrantRequestUnauthorized) Code

Code gets the status code for the get scope grant request unauthorized response

func (*GetScopeGrantRequestUnauthorized) Error

func (*GetScopeGrantRequestUnauthorized) GetPayload

func (*GetScopeGrantRequestUnauthorized) IsClientError

func (o *GetScopeGrantRequestUnauthorized) IsClientError() bool

IsClientError returns true when this get scope grant request unauthorized response has a 4xx status code

func (*GetScopeGrantRequestUnauthorized) IsCode

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

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

func (*GetScopeGrantRequestUnauthorized) IsRedirect

func (o *GetScopeGrantRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this get scope grant request unauthorized response has a 3xx status code

func (*GetScopeGrantRequestUnauthorized) IsServerError

func (o *GetScopeGrantRequestUnauthorized) IsServerError() bool

IsServerError returns true when this get scope grant request unauthorized response has a 5xx status code

func (*GetScopeGrantRequestUnauthorized) IsSuccess

func (o *GetScopeGrantRequestUnauthorized) IsSuccess() bool

IsSuccess returns true when this get scope grant request unauthorized response has a 2xx status code

func (*GetScopeGrantRequestUnauthorized) String

type RejectLoginRequestForbidden

type RejectLoginRequestForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRejectLoginRequestForbidden

func NewRejectLoginRequestForbidden() *RejectLoginRequestForbidden

NewRejectLoginRequestForbidden creates a RejectLoginRequestForbidden with default headers values

func (*RejectLoginRequestForbidden) Code

func (o *RejectLoginRequestForbidden) Code() int

Code gets the status code for the reject login request forbidden response

func (*RejectLoginRequestForbidden) Error

func (*RejectLoginRequestForbidden) GetPayload

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

func (*RejectLoginRequestForbidden) IsClientError

func (o *RejectLoginRequestForbidden) IsClientError() bool

IsClientError returns true when this reject login request forbidden response has a 4xx status code

func (*RejectLoginRequestForbidden) IsCode

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

IsCode returns true when this reject login request forbidden response a status code equal to that given

func (*RejectLoginRequestForbidden) IsRedirect

func (o *RejectLoginRequestForbidden) IsRedirect() bool

IsRedirect returns true when this reject login request forbidden response has a 3xx status code

func (*RejectLoginRequestForbidden) IsServerError

func (o *RejectLoginRequestForbidden) IsServerError() bool

IsServerError returns true when this reject login request forbidden response has a 5xx status code

func (*RejectLoginRequestForbidden) IsSuccess

func (o *RejectLoginRequestForbidden) IsSuccess() bool

IsSuccess returns true when this reject login request forbidden response has a 2xx status code

func (*RejectLoginRequestForbidden) String

func (o *RejectLoginRequestForbidden) String() string

type RejectLoginRequestNotFound

type RejectLoginRequestNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRejectLoginRequestNotFound

func NewRejectLoginRequestNotFound() *RejectLoginRequestNotFound

NewRejectLoginRequestNotFound creates a RejectLoginRequestNotFound with default headers values

func (*RejectLoginRequestNotFound) Code

func (o *RejectLoginRequestNotFound) Code() int

Code gets the status code for the reject login request not found response

func (*RejectLoginRequestNotFound) Error

func (*RejectLoginRequestNotFound) GetPayload

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

func (*RejectLoginRequestNotFound) IsClientError

func (o *RejectLoginRequestNotFound) IsClientError() bool

IsClientError returns true when this reject login request not found response has a 4xx status code

func (*RejectLoginRequestNotFound) IsCode

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

IsCode returns true when this reject login request not found response a status code equal to that given

func (*RejectLoginRequestNotFound) IsRedirect

func (o *RejectLoginRequestNotFound) IsRedirect() bool

IsRedirect returns true when this reject login request not found response has a 3xx status code

func (*RejectLoginRequestNotFound) IsServerError

func (o *RejectLoginRequestNotFound) IsServerError() bool

IsServerError returns true when this reject login request not found response has a 5xx status code

func (*RejectLoginRequestNotFound) IsSuccess

func (o *RejectLoginRequestNotFound) IsSuccess() bool

IsSuccess returns true when this reject login request not found response has a 2xx status code

func (*RejectLoginRequestNotFound) String

func (o *RejectLoginRequestNotFound) String() string

type RejectLoginRequestOK

type RejectLoginRequestOK struct {
	Payload *models.LoginRejected
}

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

Login rejected

func NewRejectLoginRequestOK

func NewRejectLoginRequestOK() *RejectLoginRequestOK

NewRejectLoginRequestOK creates a RejectLoginRequestOK with default headers values

func (*RejectLoginRequestOK) Code

func (o *RejectLoginRequestOK) Code() int

Code gets the status code for the reject login request o k response

func (*RejectLoginRequestOK) Error

func (o *RejectLoginRequestOK) Error() string

func (*RejectLoginRequestOK) GetPayload

func (o *RejectLoginRequestOK) GetPayload() *models.LoginRejected

func (*RejectLoginRequestOK) IsClientError

func (o *RejectLoginRequestOK) IsClientError() bool

IsClientError returns true when this reject login request o k response has a 4xx status code

func (*RejectLoginRequestOK) IsCode

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

IsCode returns true when this reject login request o k response a status code equal to that given

func (*RejectLoginRequestOK) IsRedirect

func (o *RejectLoginRequestOK) IsRedirect() bool

IsRedirect returns true when this reject login request o k response has a 3xx status code

func (*RejectLoginRequestOK) IsServerError

func (o *RejectLoginRequestOK) IsServerError() bool

IsServerError returns true when this reject login request o k response has a 5xx status code

func (*RejectLoginRequestOK) IsSuccess

func (o *RejectLoginRequestOK) IsSuccess() bool

IsSuccess returns true when this reject login request o k response has a 2xx status code

func (*RejectLoginRequestOK) String

func (o *RejectLoginRequestOK) String() string

type RejectLoginRequestParams

type RejectLoginRequestParams struct {

	// RejectLogin.
	RejectLogin *models.RejectSession

	// Login.
	Login string

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

RejectLoginRequestParams contains all the parameters to send to the API endpoint

for the reject login request operation.

Typically these are written to a http.Request.

func NewRejectLoginRequestParams

func NewRejectLoginRequestParams() *RejectLoginRequestParams

NewRejectLoginRequestParams creates a new RejectLoginRequestParams 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 NewRejectLoginRequestParamsWithContext

func NewRejectLoginRequestParamsWithContext(ctx context.Context) *RejectLoginRequestParams

NewRejectLoginRequestParamsWithContext creates a new RejectLoginRequestParams object with the ability to set a context for a request.

func NewRejectLoginRequestParamsWithHTTPClient

func NewRejectLoginRequestParamsWithHTTPClient(client *http.Client) *RejectLoginRequestParams

NewRejectLoginRequestParamsWithHTTPClient creates a new RejectLoginRequestParams object with the ability to set a custom HTTPClient for a request.

func NewRejectLoginRequestParamsWithTimeout

func NewRejectLoginRequestParamsWithTimeout(timeout time.Duration) *RejectLoginRequestParams

NewRejectLoginRequestParamsWithTimeout creates a new RejectLoginRequestParams object with the ability to set a timeout on a request.

func (*RejectLoginRequestParams) SetContext

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

SetContext adds the context to the reject login request params

func (*RejectLoginRequestParams) SetDefaults

func (o *RejectLoginRequestParams) SetDefaults()

SetDefaults hydrates default values in the reject login request params (not the query body).

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

func (*RejectLoginRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reject login request params

func (*RejectLoginRequestParams) SetLogin

func (o *RejectLoginRequestParams) SetLogin(login string)

SetLogin adds the login to the reject login request params

func (*RejectLoginRequestParams) SetRejectLogin

func (o *RejectLoginRequestParams) SetRejectLogin(rejectLogin *models.RejectSession)

SetRejectLogin adds the rejectLogin to the reject login request params

func (*RejectLoginRequestParams) SetTimeout

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

SetTimeout adds the timeout to the reject login request params

func (*RejectLoginRequestParams) WithContext

WithContext adds the context to the reject login request params

func (*RejectLoginRequestParams) WithDefaults

WithDefaults hydrates default values in the reject login request params (not the query body).

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

func (*RejectLoginRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reject login request params

func (*RejectLoginRequestParams) WithLogin

WithLogin adds the login to the reject login request params

func (*RejectLoginRequestParams) WithRejectLogin

func (o *RejectLoginRequestParams) WithRejectLogin(rejectLogin *models.RejectSession) *RejectLoginRequestParams

WithRejectLogin adds the rejectLogin to the reject login request params

func (*RejectLoginRequestParams) WithTimeout

WithTimeout adds the timeout to the reject login request params

func (*RejectLoginRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RejectLoginRequestReader

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

RejectLoginRequestReader is a Reader for the RejectLoginRequest structure.

func (*RejectLoginRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RejectLoginRequestTooManyRequests

type RejectLoginRequestTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRejectLoginRequestTooManyRequests

func NewRejectLoginRequestTooManyRequests() *RejectLoginRequestTooManyRequests

NewRejectLoginRequestTooManyRequests creates a RejectLoginRequestTooManyRequests with default headers values

func (*RejectLoginRequestTooManyRequests) Code

Code gets the status code for the reject login request too many requests response

func (*RejectLoginRequestTooManyRequests) Error

func (*RejectLoginRequestTooManyRequests) GetPayload

func (*RejectLoginRequestTooManyRequests) IsClientError

func (o *RejectLoginRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this reject login request too many requests response has a 4xx status code

func (*RejectLoginRequestTooManyRequests) IsCode

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

IsCode returns true when this reject login request too many requests response a status code equal to that given

func (*RejectLoginRequestTooManyRequests) IsRedirect

func (o *RejectLoginRequestTooManyRequests) IsRedirect() bool

IsRedirect returns true when this reject login request too many requests response has a 3xx status code

func (*RejectLoginRequestTooManyRequests) IsServerError

func (o *RejectLoginRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this reject login request too many requests response has a 5xx status code

func (*RejectLoginRequestTooManyRequests) IsSuccess

func (o *RejectLoginRequestTooManyRequests) IsSuccess() bool

IsSuccess returns true when this reject login request too many requests response has a 2xx status code

func (*RejectLoginRequestTooManyRequests) String

type RejectLoginRequestUnauthorized

type RejectLoginRequestUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRejectLoginRequestUnauthorized

func NewRejectLoginRequestUnauthorized() *RejectLoginRequestUnauthorized

NewRejectLoginRequestUnauthorized creates a RejectLoginRequestUnauthorized with default headers values

func (*RejectLoginRequestUnauthorized) Code

Code gets the status code for the reject login request unauthorized response

func (*RejectLoginRequestUnauthorized) Error

func (*RejectLoginRequestUnauthorized) GetPayload

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

func (*RejectLoginRequestUnauthorized) IsClientError

func (o *RejectLoginRequestUnauthorized) IsClientError() bool

IsClientError returns true when this reject login request unauthorized response has a 4xx status code

func (*RejectLoginRequestUnauthorized) IsCode

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

IsCode returns true when this reject login request unauthorized response a status code equal to that given

func (*RejectLoginRequestUnauthorized) IsRedirect

func (o *RejectLoginRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this reject login request unauthorized response has a 3xx status code

func (*RejectLoginRequestUnauthorized) IsServerError

func (o *RejectLoginRequestUnauthorized) IsServerError() bool

IsServerError returns true when this reject login request unauthorized response has a 5xx status code

func (*RejectLoginRequestUnauthorized) IsSuccess

func (o *RejectLoginRequestUnauthorized) IsSuccess() bool

IsSuccess returns true when this reject login request unauthorized response has a 2xx status code

func (*RejectLoginRequestUnauthorized) String

type RejectScopeGrantRequestForbidden

type RejectScopeGrantRequestForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRejectScopeGrantRequestForbidden

func NewRejectScopeGrantRequestForbidden() *RejectScopeGrantRequestForbidden

NewRejectScopeGrantRequestForbidden creates a RejectScopeGrantRequestForbidden with default headers values

func (*RejectScopeGrantRequestForbidden) Code

Code gets the status code for the reject scope grant request forbidden response

func (*RejectScopeGrantRequestForbidden) Error

func (*RejectScopeGrantRequestForbidden) GetPayload

func (*RejectScopeGrantRequestForbidden) IsClientError

func (o *RejectScopeGrantRequestForbidden) IsClientError() bool

IsClientError returns true when this reject scope grant request forbidden response has a 4xx status code

func (*RejectScopeGrantRequestForbidden) IsCode

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

IsCode returns true when this reject scope grant request forbidden response a status code equal to that given

func (*RejectScopeGrantRequestForbidden) IsRedirect

func (o *RejectScopeGrantRequestForbidden) IsRedirect() bool

IsRedirect returns true when this reject scope grant request forbidden response has a 3xx status code

func (*RejectScopeGrantRequestForbidden) IsServerError

func (o *RejectScopeGrantRequestForbidden) IsServerError() bool

IsServerError returns true when this reject scope grant request forbidden response has a 5xx status code

func (*RejectScopeGrantRequestForbidden) IsSuccess

func (o *RejectScopeGrantRequestForbidden) IsSuccess() bool

IsSuccess returns true when this reject scope grant request forbidden response has a 2xx status code

func (*RejectScopeGrantRequestForbidden) String

type RejectScopeGrantRequestNotFound

type RejectScopeGrantRequestNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRejectScopeGrantRequestNotFound

func NewRejectScopeGrantRequestNotFound() *RejectScopeGrantRequestNotFound

NewRejectScopeGrantRequestNotFound creates a RejectScopeGrantRequestNotFound with default headers values

func (*RejectScopeGrantRequestNotFound) Code

Code gets the status code for the reject scope grant request not found response

func (*RejectScopeGrantRequestNotFound) Error

func (*RejectScopeGrantRequestNotFound) GetPayload

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

func (*RejectScopeGrantRequestNotFound) IsClientError

func (o *RejectScopeGrantRequestNotFound) IsClientError() bool

IsClientError returns true when this reject scope grant request not found response has a 4xx status code

func (*RejectScopeGrantRequestNotFound) IsCode

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

IsCode returns true when this reject scope grant request not found response a status code equal to that given

func (*RejectScopeGrantRequestNotFound) IsRedirect

func (o *RejectScopeGrantRequestNotFound) IsRedirect() bool

IsRedirect returns true when this reject scope grant request not found response has a 3xx status code

func (*RejectScopeGrantRequestNotFound) IsServerError

func (o *RejectScopeGrantRequestNotFound) IsServerError() bool

IsServerError returns true when this reject scope grant request not found response has a 5xx status code

func (*RejectScopeGrantRequestNotFound) IsSuccess

func (o *RejectScopeGrantRequestNotFound) IsSuccess() bool

IsSuccess returns true when this reject scope grant request not found response has a 2xx status code

func (*RejectScopeGrantRequestNotFound) String

type RejectScopeGrantRequestOK

type RejectScopeGrantRequestOK struct {
	Payload *models.ScopeGrantRejected
}

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

Scope grant rejected

func NewRejectScopeGrantRequestOK

func NewRejectScopeGrantRequestOK() *RejectScopeGrantRequestOK

NewRejectScopeGrantRequestOK creates a RejectScopeGrantRequestOK with default headers values

func (*RejectScopeGrantRequestOK) Code

func (o *RejectScopeGrantRequestOK) Code() int

Code gets the status code for the reject scope grant request o k response

func (*RejectScopeGrantRequestOK) Error

func (o *RejectScopeGrantRequestOK) Error() string

func (*RejectScopeGrantRequestOK) GetPayload

func (*RejectScopeGrantRequestOK) IsClientError

func (o *RejectScopeGrantRequestOK) IsClientError() bool

IsClientError returns true when this reject scope grant request o k response has a 4xx status code

func (*RejectScopeGrantRequestOK) IsCode

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

IsCode returns true when this reject scope grant request o k response a status code equal to that given

func (*RejectScopeGrantRequestOK) IsRedirect

func (o *RejectScopeGrantRequestOK) IsRedirect() bool

IsRedirect returns true when this reject scope grant request o k response has a 3xx status code

func (*RejectScopeGrantRequestOK) IsServerError

func (o *RejectScopeGrantRequestOK) IsServerError() bool

IsServerError returns true when this reject scope grant request o k response has a 5xx status code

func (*RejectScopeGrantRequestOK) IsSuccess

func (o *RejectScopeGrantRequestOK) IsSuccess() bool

IsSuccess returns true when this reject scope grant request o k response has a 2xx status code

func (*RejectScopeGrantRequestOK) String

func (o *RejectScopeGrantRequestOK) String() string

type RejectScopeGrantRequestParams

type RejectScopeGrantRequestParams struct {

	// RejectScopeGrant.
	RejectScopeGrant *models.RejectScopeGrant

	// Login.
	Login string

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

RejectScopeGrantRequestParams contains all the parameters to send to the API endpoint

for the reject scope grant request operation.

Typically these are written to a http.Request.

func NewRejectScopeGrantRequestParams

func NewRejectScopeGrantRequestParams() *RejectScopeGrantRequestParams

NewRejectScopeGrantRequestParams creates a new RejectScopeGrantRequestParams 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 NewRejectScopeGrantRequestParamsWithContext

func NewRejectScopeGrantRequestParamsWithContext(ctx context.Context) *RejectScopeGrantRequestParams

NewRejectScopeGrantRequestParamsWithContext creates a new RejectScopeGrantRequestParams object with the ability to set a context for a request.

func NewRejectScopeGrantRequestParamsWithHTTPClient

func NewRejectScopeGrantRequestParamsWithHTTPClient(client *http.Client) *RejectScopeGrantRequestParams

NewRejectScopeGrantRequestParamsWithHTTPClient creates a new RejectScopeGrantRequestParams object with the ability to set a custom HTTPClient for a request.

func NewRejectScopeGrantRequestParamsWithTimeout

func NewRejectScopeGrantRequestParamsWithTimeout(timeout time.Duration) *RejectScopeGrantRequestParams

NewRejectScopeGrantRequestParamsWithTimeout creates a new RejectScopeGrantRequestParams object with the ability to set a timeout on a request.

func (*RejectScopeGrantRequestParams) SetContext

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

SetContext adds the context to the reject scope grant request params

func (*RejectScopeGrantRequestParams) SetDefaults

func (o *RejectScopeGrantRequestParams) SetDefaults()

SetDefaults hydrates default values in the reject scope grant request params (not the query body).

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

func (*RejectScopeGrantRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reject scope grant request params

func (*RejectScopeGrantRequestParams) SetLogin

func (o *RejectScopeGrantRequestParams) SetLogin(login string)

SetLogin adds the login to the reject scope grant request params

func (*RejectScopeGrantRequestParams) SetRejectScopeGrant

func (o *RejectScopeGrantRequestParams) SetRejectScopeGrant(rejectScopeGrant *models.RejectScopeGrant)

SetRejectScopeGrant adds the rejectScopeGrant to the reject scope grant request params

func (*RejectScopeGrantRequestParams) SetTimeout

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

SetTimeout adds the timeout to the reject scope grant request params

func (*RejectScopeGrantRequestParams) WithContext

WithContext adds the context to the reject scope grant request params

func (*RejectScopeGrantRequestParams) WithDefaults

WithDefaults hydrates default values in the reject scope grant request params (not the query body).

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

func (*RejectScopeGrantRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reject scope grant request params

func (*RejectScopeGrantRequestParams) WithLogin

WithLogin adds the login to the reject scope grant request params

func (*RejectScopeGrantRequestParams) WithRejectScopeGrant

func (o *RejectScopeGrantRequestParams) WithRejectScopeGrant(rejectScopeGrant *models.RejectScopeGrant) *RejectScopeGrantRequestParams

WithRejectScopeGrant adds the rejectScopeGrant to the reject scope grant request params

func (*RejectScopeGrantRequestParams) WithTimeout

WithTimeout adds the timeout to the reject scope grant request params

func (*RejectScopeGrantRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RejectScopeGrantRequestReader

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

RejectScopeGrantRequestReader is a Reader for the RejectScopeGrantRequest structure.

func (*RejectScopeGrantRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RejectScopeGrantRequestTooManyRequests

type RejectScopeGrantRequestTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRejectScopeGrantRequestTooManyRequests

func NewRejectScopeGrantRequestTooManyRequests() *RejectScopeGrantRequestTooManyRequests

NewRejectScopeGrantRequestTooManyRequests creates a RejectScopeGrantRequestTooManyRequests with default headers values

func (*RejectScopeGrantRequestTooManyRequests) Code

Code gets the status code for the reject scope grant request too many requests response

func (*RejectScopeGrantRequestTooManyRequests) Error

func (*RejectScopeGrantRequestTooManyRequests) GetPayload

func (*RejectScopeGrantRequestTooManyRequests) IsClientError

func (o *RejectScopeGrantRequestTooManyRequests) IsClientError() bool

IsClientError returns true when this reject scope grant request too many requests response has a 4xx status code

func (*RejectScopeGrantRequestTooManyRequests) IsCode

IsCode returns true when this reject scope grant request too many requests response a status code equal to that given

func (*RejectScopeGrantRequestTooManyRequests) IsRedirect

IsRedirect returns true when this reject scope grant request too many requests response has a 3xx status code

func (*RejectScopeGrantRequestTooManyRequests) IsServerError

func (o *RejectScopeGrantRequestTooManyRequests) IsServerError() bool

IsServerError returns true when this reject scope grant request too many requests response has a 5xx status code

func (*RejectScopeGrantRequestTooManyRequests) IsSuccess

IsSuccess returns true when this reject scope grant request too many requests response has a 2xx status code

func (*RejectScopeGrantRequestTooManyRequests) String

type RejectScopeGrantRequestUnauthorized

type RejectScopeGrantRequestUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRejectScopeGrantRequestUnauthorized

func NewRejectScopeGrantRequestUnauthorized() *RejectScopeGrantRequestUnauthorized

NewRejectScopeGrantRequestUnauthorized creates a RejectScopeGrantRequestUnauthorized with default headers values

func (*RejectScopeGrantRequestUnauthorized) Code

Code gets the status code for the reject scope grant request unauthorized response

func (*RejectScopeGrantRequestUnauthorized) Error

func (*RejectScopeGrantRequestUnauthorized) GetPayload

func (*RejectScopeGrantRequestUnauthorized) IsClientError

func (o *RejectScopeGrantRequestUnauthorized) IsClientError() bool

IsClientError returns true when this reject scope grant request unauthorized response has a 4xx status code

func (*RejectScopeGrantRequestUnauthorized) IsCode

IsCode returns true when this reject scope grant request unauthorized response a status code equal to that given

func (*RejectScopeGrantRequestUnauthorized) IsRedirect

func (o *RejectScopeGrantRequestUnauthorized) IsRedirect() bool

IsRedirect returns true when this reject scope grant request unauthorized response has a 3xx status code

func (*RejectScopeGrantRequestUnauthorized) IsServerError

func (o *RejectScopeGrantRequestUnauthorized) IsServerError() bool

IsServerError returns true when this reject scope grant request unauthorized response has a 5xx status code

func (*RejectScopeGrantRequestUnauthorized) IsSuccess

IsSuccess returns true when this reject scope grant request unauthorized response has a 2xx status code

func (*RejectScopeGrantRequestUnauthorized) String

Jump to

Keyboard shortcuts

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