Documentation ¶
Index ¶
- type AcceptLoginRequestBadRequest
- func (o *AcceptLoginRequestBadRequest) Code() int
- func (o *AcceptLoginRequestBadRequest) Error() string
- func (o *AcceptLoginRequestBadRequest) GetPayload() *models.Error
- func (o *AcceptLoginRequestBadRequest) IsClientError() bool
- func (o *AcceptLoginRequestBadRequest) IsCode(code int) bool
- func (o *AcceptLoginRequestBadRequest) IsRedirect() bool
- func (o *AcceptLoginRequestBadRequest) IsServerError() bool
- func (o *AcceptLoginRequestBadRequest) IsSuccess() bool
- func (o *AcceptLoginRequestBadRequest) String() string
- type AcceptLoginRequestForbidden
- func (o *AcceptLoginRequestForbidden) Code() int
- func (o *AcceptLoginRequestForbidden) Error() string
- func (o *AcceptLoginRequestForbidden) GetPayload() *models.Error
- func (o *AcceptLoginRequestForbidden) IsClientError() bool
- func (o *AcceptLoginRequestForbidden) IsCode(code int) bool
- func (o *AcceptLoginRequestForbidden) IsRedirect() bool
- func (o *AcceptLoginRequestForbidden) IsServerError() bool
- func (o *AcceptLoginRequestForbidden) IsSuccess() bool
- func (o *AcceptLoginRequestForbidden) String() string
- type AcceptLoginRequestNotFound
- func (o *AcceptLoginRequestNotFound) Code() int
- func (o *AcceptLoginRequestNotFound) Error() string
- func (o *AcceptLoginRequestNotFound) GetPayload() *models.Error
- func (o *AcceptLoginRequestNotFound) IsClientError() bool
- func (o *AcceptLoginRequestNotFound) IsCode(code int) bool
- func (o *AcceptLoginRequestNotFound) IsRedirect() bool
- func (o *AcceptLoginRequestNotFound) IsServerError() bool
- func (o *AcceptLoginRequestNotFound) IsSuccess() bool
- func (o *AcceptLoginRequestNotFound) String() string
- type AcceptLoginRequestOK
- func (o *AcceptLoginRequestOK) Code() int
- func (o *AcceptLoginRequestOK) Error() string
- func (o *AcceptLoginRequestOK) GetPayload() *models.LoginAccepted
- func (o *AcceptLoginRequestOK) IsClientError() bool
- func (o *AcceptLoginRequestOK) IsCode(code int) bool
- func (o *AcceptLoginRequestOK) IsRedirect() bool
- func (o *AcceptLoginRequestOK) IsServerError() bool
- func (o *AcceptLoginRequestOK) IsSuccess() bool
- func (o *AcceptLoginRequestOK) String() string
- type AcceptLoginRequestParams
- func NewAcceptLoginRequestParams() *AcceptLoginRequestParams
- func NewAcceptLoginRequestParamsWithContext(ctx context.Context) *AcceptLoginRequestParams
- func NewAcceptLoginRequestParamsWithHTTPClient(client *http.Client) *AcceptLoginRequestParams
- func NewAcceptLoginRequestParamsWithTimeout(timeout time.Duration) *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) SetAcceptLogin(acceptLogin *models.AcceptSession)
- func (o *AcceptLoginRequestParams) SetContext(ctx context.Context)
- func (o *AcceptLoginRequestParams) SetDefaults()
- func (o *AcceptLoginRequestParams) SetHTTPClient(client *http.Client)
- func (o *AcceptLoginRequestParams) SetLogin(login string)
- func (o *AcceptLoginRequestParams) SetTimeout(timeout time.Duration)
- func (o *AcceptLoginRequestParams) WithAcceptLogin(acceptLogin *models.AcceptSession) *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) WithContext(ctx context.Context) *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) WithDefaults() *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) WithHTTPClient(client *http.Client) *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) WithLogin(login string) *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) WithTimeout(timeout time.Duration) *AcceptLoginRequestParams
- func (o *AcceptLoginRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AcceptLoginRequestReader
- type AcceptLoginRequestTooManyRequests
- func (o *AcceptLoginRequestTooManyRequests) Code() int
- func (o *AcceptLoginRequestTooManyRequests) Error() string
- func (o *AcceptLoginRequestTooManyRequests) GetPayload() *models.Error
- func (o *AcceptLoginRequestTooManyRequests) IsClientError() bool
- func (o *AcceptLoginRequestTooManyRequests) IsCode(code int) bool
- func (o *AcceptLoginRequestTooManyRequests) IsRedirect() bool
- func (o *AcceptLoginRequestTooManyRequests) IsServerError() bool
- func (o *AcceptLoginRequestTooManyRequests) IsSuccess() bool
- func (o *AcceptLoginRequestTooManyRequests) String() string
- type AcceptLoginRequestUnauthorized
- func (o *AcceptLoginRequestUnauthorized) Code() int
- func (o *AcceptLoginRequestUnauthorized) Error() string
- func (o *AcceptLoginRequestUnauthorized) GetPayload() *models.Error
- func (o *AcceptLoginRequestUnauthorized) IsClientError() bool
- func (o *AcceptLoginRequestUnauthorized) IsCode(code int) bool
- func (o *AcceptLoginRequestUnauthorized) IsRedirect() bool
- func (o *AcceptLoginRequestUnauthorized) IsServerError() bool
- func (o *AcceptLoginRequestUnauthorized) IsSuccess() bool
- func (o *AcceptLoginRequestUnauthorized) String() string
- type AcceptScopeGrantRequestForbidden
- func (o *AcceptScopeGrantRequestForbidden) Code() int
- func (o *AcceptScopeGrantRequestForbidden) Error() string
- func (o *AcceptScopeGrantRequestForbidden) GetPayload() *models.Error
- func (o *AcceptScopeGrantRequestForbidden) IsClientError() bool
- func (o *AcceptScopeGrantRequestForbidden) IsCode(code int) bool
- func (o *AcceptScopeGrantRequestForbidden) IsRedirect() bool
- func (o *AcceptScopeGrantRequestForbidden) IsServerError() bool
- func (o *AcceptScopeGrantRequestForbidden) IsSuccess() bool
- func (o *AcceptScopeGrantRequestForbidden) String() string
- type AcceptScopeGrantRequestNotFound
- func (o *AcceptScopeGrantRequestNotFound) Code() int
- func (o *AcceptScopeGrantRequestNotFound) Error() string
- func (o *AcceptScopeGrantRequestNotFound) GetPayload() *models.Error
- func (o *AcceptScopeGrantRequestNotFound) IsClientError() bool
- func (o *AcceptScopeGrantRequestNotFound) IsCode(code int) bool
- func (o *AcceptScopeGrantRequestNotFound) IsRedirect() bool
- func (o *AcceptScopeGrantRequestNotFound) IsServerError() bool
- func (o *AcceptScopeGrantRequestNotFound) IsSuccess() bool
- func (o *AcceptScopeGrantRequestNotFound) String() string
- type AcceptScopeGrantRequestOK
- func (o *AcceptScopeGrantRequestOK) Code() int
- func (o *AcceptScopeGrantRequestOK) Error() string
- func (o *AcceptScopeGrantRequestOK) GetPayload() *models.ScopeGrantAccepted
- func (o *AcceptScopeGrantRequestOK) IsClientError() bool
- func (o *AcceptScopeGrantRequestOK) IsCode(code int) bool
- func (o *AcceptScopeGrantRequestOK) IsRedirect() bool
- func (o *AcceptScopeGrantRequestOK) IsServerError() bool
- func (o *AcceptScopeGrantRequestOK) IsSuccess() bool
- func (o *AcceptScopeGrantRequestOK) String() string
- type AcceptScopeGrantRequestParams
- func NewAcceptScopeGrantRequestParams() *AcceptScopeGrantRequestParams
- func NewAcceptScopeGrantRequestParamsWithContext(ctx context.Context) *AcceptScopeGrantRequestParams
- func NewAcceptScopeGrantRequestParamsWithHTTPClient(client *http.Client) *AcceptScopeGrantRequestParams
- func NewAcceptScopeGrantRequestParamsWithTimeout(timeout time.Duration) *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) SetAcceptScopeGrant(acceptScopeGrant *models.AcceptScopeGrant)
- func (o *AcceptScopeGrantRequestParams) SetContext(ctx context.Context)
- func (o *AcceptScopeGrantRequestParams) SetDefaults()
- func (o *AcceptScopeGrantRequestParams) SetHTTPClient(client *http.Client)
- func (o *AcceptScopeGrantRequestParams) SetLogin(login string)
- func (o *AcceptScopeGrantRequestParams) SetTimeout(timeout time.Duration)
- func (o *AcceptScopeGrantRequestParams) WithAcceptScopeGrant(acceptScopeGrant *models.AcceptScopeGrant) *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) WithContext(ctx context.Context) *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) WithDefaults() *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) WithHTTPClient(client *http.Client) *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) WithLogin(login string) *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) WithTimeout(timeout time.Duration) *AcceptScopeGrantRequestParams
- func (o *AcceptScopeGrantRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AcceptScopeGrantRequestReader
- type AcceptScopeGrantRequestTooManyRequests
- func (o *AcceptScopeGrantRequestTooManyRequests) Code() int
- func (o *AcceptScopeGrantRequestTooManyRequests) Error() string
- func (o *AcceptScopeGrantRequestTooManyRequests) GetPayload() *models.Error
- func (o *AcceptScopeGrantRequestTooManyRequests) IsClientError() bool
- func (o *AcceptScopeGrantRequestTooManyRequests) IsCode(code int) bool
- func (o *AcceptScopeGrantRequestTooManyRequests) IsRedirect() bool
- func (o *AcceptScopeGrantRequestTooManyRequests) IsServerError() bool
- func (o *AcceptScopeGrantRequestTooManyRequests) IsSuccess() bool
- func (o *AcceptScopeGrantRequestTooManyRequests) String() string
- type AcceptScopeGrantRequestUnauthorized
- func (o *AcceptScopeGrantRequestUnauthorized) Code() int
- func (o *AcceptScopeGrantRequestUnauthorized) Error() string
- func (o *AcceptScopeGrantRequestUnauthorized) GetPayload() *models.Error
- func (o *AcceptScopeGrantRequestUnauthorized) IsClientError() bool
- func (o *AcceptScopeGrantRequestUnauthorized) IsCode(code int) bool
- func (o *AcceptScopeGrantRequestUnauthorized) IsRedirect() bool
- func (o *AcceptScopeGrantRequestUnauthorized) IsServerError() bool
- func (o *AcceptScopeGrantRequestUnauthorized) IsSuccess() bool
- func (o *AcceptScopeGrantRequestUnauthorized) String() string
- type Client
- func (a *Client) AcceptLoginRequest(params *AcceptLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AcceptLoginRequestOK, error)
- func (a *Client) AcceptScopeGrantRequest(params *AcceptScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AcceptScopeGrantRequestOK, error)
- func (a *Client) GetLoginRequest(params *GetLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLoginRequestOK, error)
- func (a *Client) GetScopeGrantRequest(params *GetScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScopeGrantRequestOK, error)
- func (a *Client) RejectLoginRequest(params *RejectLoginRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RejectLoginRequestOK, error)
- func (a *Client) RejectScopeGrantRequest(params *RejectScopeGrantRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RejectScopeGrantRequestOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetLoginRequestForbidden
- func (o *GetLoginRequestForbidden) Code() int
- func (o *GetLoginRequestForbidden) Error() string
- func (o *GetLoginRequestForbidden) GetPayload() *models.Error
- func (o *GetLoginRequestForbidden) IsClientError() bool
- func (o *GetLoginRequestForbidden) IsCode(code int) bool
- func (o *GetLoginRequestForbidden) IsRedirect() bool
- func (o *GetLoginRequestForbidden) IsServerError() bool
- func (o *GetLoginRequestForbidden) IsSuccess() bool
- func (o *GetLoginRequestForbidden) String() string
- type GetLoginRequestNotFound
- func (o *GetLoginRequestNotFound) Code() int
- func (o *GetLoginRequestNotFound) Error() string
- func (o *GetLoginRequestNotFound) GetPayload() *models.Error
- func (o *GetLoginRequestNotFound) IsClientError() bool
- func (o *GetLoginRequestNotFound) IsCode(code int) bool
- func (o *GetLoginRequestNotFound) IsRedirect() bool
- func (o *GetLoginRequestNotFound) IsServerError() bool
- func (o *GetLoginRequestNotFound) IsSuccess() bool
- func (o *GetLoginRequestNotFound) String() string
- type GetLoginRequestOK
- func (o *GetLoginRequestOK) Code() int
- func (o *GetLoginRequestOK) Error() string
- func (o *GetLoginRequestOK) GetPayload() *models.LoginSessionResponse
- func (o *GetLoginRequestOK) IsClientError() bool
- func (o *GetLoginRequestOK) IsCode(code int) bool
- func (o *GetLoginRequestOK) IsRedirect() bool
- func (o *GetLoginRequestOK) IsServerError() bool
- func (o *GetLoginRequestOK) IsSuccess() bool
- func (o *GetLoginRequestOK) String() string
- type GetLoginRequestParams
- func NewGetLoginRequestParams() *GetLoginRequestParams
- func NewGetLoginRequestParamsWithContext(ctx context.Context) *GetLoginRequestParams
- func NewGetLoginRequestParamsWithHTTPClient(client *http.Client) *GetLoginRequestParams
- func NewGetLoginRequestParamsWithTimeout(timeout time.Duration) *GetLoginRequestParams
- func (o *GetLoginRequestParams) SetContext(ctx context.Context)
- func (o *GetLoginRequestParams) SetDefaults()
- func (o *GetLoginRequestParams) SetHTTPClient(client *http.Client)
- func (o *GetLoginRequestParams) SetLogin(login string)
- func (o *GetLoginRequestParams) SetLoginState(loginState *string)
- func (o *GetLoginRequestParams) SetTimeout(timeout time.Duration)
- func (o *GetLoginRequestParams) WithContext(ctx context.Context) *GetLoginRequestParams
- func (o *GetLoginRequestParams) WithDefaults() *GetLoginRequestParams
- func (o *GetLoginRequestParams) WithHTTPClient(client *http.Client) *GetLoginRequestParams
- func (o *GetLoginRequestParams) WithLogin(login string) *GetLoginRequestParams
- func (o *GetLoginRequestParams) WithLoginState(loginState *string) *GetLoginRequestParams
- func (o *GetLoginRequestParams) WithTimeout(timeout time.Duration) *GetLoginRequestParams
- func (o *GetLoginRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoginRequestReader
- type GetLoginRequestTooManyRequests
- func (o *GetLoginRequestTooManyRequests) Code() int
- func (o *GetLoginRequestTooManyRequests) Error() string
- func (o *GetLoginRequestTooManyRequests) GetPayload() *models.Error
- func (o *GetLoginRequestTooManyRequests) IsClientError() bool
- func (o *GetLoginRequestTooManyRequests) IsCode(code int) bool
- func (o *GetLoginRequestTooManyRequests) IsRedirect() bool
- func (o *GetLoginRequestTooManyRequests) IsServerError() bool
- func (o *GetLoginRequestTooManyRequests) IsSuccess() bool
- func (o *GetLoginRequestTooManyRequests) String() string
- type GetLoginRequestUnauthorized
- func (o *GetLoginRequestUnauthorized) Code() int
- func (o *GetLoginRequestUnauthorized) Error() string
- func (o *GetLoginRequestUnauthorized) GetPayload() *models.Error
- func (o *GetLoginRequestUnauthorized) IsClientError() bool
- func (o *GetLoginRequestUnauthorized) IsCode(code int) bool
- func (o *GetLoginRequestUnauthorized) IsRedirect() bool
- func (o *GetLoginRequestUnauthorized) IsServerError() bool
- func (o *GetLoginRequestUnauthorized) IsSuccess() bool
- func (o *GetLoginRequestUnauthorized) String() string
- type GetScopeGrantRequestForbidden
- func (o *GetScopeGrantRequestForbidden) Code() int
- func (o *GetScopeGrantRequestForbidden) Error() string
- func (o *GetScopeGrantRequestForbidden) GetPayload() *models.Error
- func (o *GetScopeGrantRequestForbidden) IsClientError() bool
- func (o *GetScopeGrantRequestForbidden) IsCode(code int) bool
- func (o *GetScopeGrantRequestForbidden) IsRedirect() bool
- func (o *GetScopeGrantRequestForbidden) IsServerError() bool
- func (o *GetScopeGrantRequestForbidden) IsSuccess() bool
- func (o *GetScopeGrantRequestForbidden) String() string
- type GetScopeGrantRequestNotFound
- func (o *GetScopeGrantRequestNotFound) Code() int
- func (o *GetScopeGrantRequestNotFound) Error() string
- func (o *GetScopeGrantRequestNotFound) GetPayload() *models.Error
- func (o *GetScopeGrantRequestNotFound) IsClientError() bool
- func (o *GetScopeGrantRequestNotFound) IsCode(code int) bool
- func (o *GetScopeGrantRequestNotFound) IsRedirect() bool
- func (o *GetScopeGrantRequestNotFound) IsServerError() bool
- func (o *GetScopeGrantRequestNotFound) IsSuccess() bool
- func (o *GetScopeGrantRequestNotFound) String() string
- type GetScopeGrantRequestOK
- func (o *GetScopeGrantRequestOK) Code() int
- func (o *GetScopeGrantRequestOK) Error() string
- func (o *GetScopeGrantRequestOK) GetPayload() *models.ScopeGrantSessionResponse
- func (o *GetScopeGrantRequestOK) IsClientError() bool
- func (o *GetScopeGrantRequestOK) IsCode(code int) bool
- func (o *GetScopeGrantRequestOK) IsRedirect() bool
- func (o *GetScopeGrantRequestOK) IsServerError() bool
- func (o *GetScopeGrantRequestOK) IsSuccess() bool
- func (o *GetScopeGrantRequestOK) String() string
- type GetScopeGrantRequestParams
- func NewGetScopeGrantRequestParams() *GetScopeGrantRequestParams
- func NewGetScopeGrantRequestParamsWithContext(ctx context.Context) *GetScopeGrantRequestParams
- func NewGetScopeGrantRequestParamsWithHTTPClient(client *http.Client) *GetScopeGrantRequestParams
- func NewGetScopeGrantRequestParamsWithTimeout(timeout time.Duration) *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) SetContext(ctx context.Context)
- func (o *GetScopeGrantRequestParams) SetDefaults()
- func (o *GetScopeGrantRequestParams) SetHTTPClient(client *http.Client)
- func (o *GetScopeGrantRequestParams) SetLogin(login string)
- func (o *GetScopeGrantRequestParams) SetLoginState(loginState *string)
- func (o *GetScopeGrantRequestParams) SetTimeout(timeout time.Duration)
- func (o *GetScopeGrantRequestParams) WithContext(ctx context.Context) *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) WithDefaults() *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) WithHTTPClient(client *http.Client) *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) WithLogin(login string) *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) WithLoginState(loginState *string) *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) WithTimeout(timeout time.Duration) *GetScopeGrantRequestParams
- func (o *GetScopeGrantRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScopeGrantRequestReader
- type GetScopeGrantRequestTooManyRequests
- func (o *GetScopeGrantRequestTooManyRequests) Code() int
- func (o *GetScopeGrantRequestTooManyRequests) Error() string
- func (o *GetScopeGrantRequestTooManyRequests) GetPayload() *models.Error
- func (o *GetScopeGrantRequestTooManyRequests) IsClientError() bool
- func (o *GetScopeGrantRequestTooManyRequests) IsCode(code int) bool
- func (o *GetScopeGrantRequestTooManyRequests) IsRedirect() bool
- func (o *GetScopeGrantRequestTooManyRequests) IsServerError() bool
- func (o *GetScopeGrantRequestTooManyRequests) IsSuccess() bool
- func (o *GetScopeGrantRequestTooManyRequests) String() string
- type GetScopeGrantRequestUnauthorized
- func (o *GetScopeGrantRequestUnauthorized) Code() int
- func (o *GetScopeGrantRequestUnauthorized) Error() string
- func (o *GetScopeGrantRequestUnauthorized) GetPayload() *models.Error
- func (o *GetScopeGrantRequestUnauthorized) IsClientError() bool
- func (o *GetScopeGrantRequestUnauthorized) IsCode(code int) bool
- func (o *GetScopeGrantRequestUnauthorized) IsRedirect() bool
- func (o *GetScopeGrantRequestUnauthorized) IsServerError() bool
- func (o *GetScopeGrantRequestUnauthorized) IsSuccess() bool
- func (o *GetScopeGrantRequestUnauthorized) String() string
- type RejectLoginRequestForbidden
- func (o *RejectLoginRequestForbidden) Code() int
- func (o *RejectLoginRequestForbidden) Error() string
- func (o *RejectLoginRequestForbidden) GetPayload() *models.Error
- func (o *RejectLoginRequestForbidden) IsClientError() bool
- func (o *RejectLoginRequestForbidden) IsCode(code int) bool
- func (o *RejectLoginRequestForbidden) IsRedirect() bool
- func (o *RejectLoginRequestForbidden) IsServerError() bool
- func (o *RejectLoginRequestForbidden) IsSuccess() bool
- func (o *RejectLoginRequestForbidden) String() string
- type RejectLoginRequestNotFound
- func (o *RejectLoginRequestNotFound) Code() int
- func (o *RejectLoginRequestNotFound) Error() string
- func (o *RejectLoginRequestNotFound) GetPayload() *models.Error
- func (o *RejectLoginRequestNotFound) IsClientError() bool
- func (o *RejectLoginRequestNotFound) IsCode(code int) bool
- func (o *RejectLoginRequestNotFound) IsRedirect() bool
- func (o *RejectLoginRequestNotFound) IsServerError() bool
- func (o *RejectLoginRequestNotFound) IsSuccess() bool
- func (o *RejectLoginRequestNotFound) String() string
- type RejectLoginRequestOK
- func (o *RejectLoginRequestOK) Code() int
- func (o *RejectLoginRequestOK) Error() string
- func (o *RejectLoginRequestOK) GetPayload() *models.LoginRejected
- func (o *RejectLoginRequestOK) IsClientError() bool
- func (o *RejectLoginRequestOK) IsCode(code int) bool
- func (o *RejectLoginRequestOK) IsRedirect() bool
- func (o *RejectLoginRequestOK) IsServerError() bool
- func (o *RejectLoginRequestOK) IsSuccess() bool
- func (o *RejectLoginRequestOK) String() string
- type RejectLoginRequestParams
- func NewRejectLoginRequestParams() *RejectLoginRequestParams
- func NewRejectLoginRequestParamsWithContext(ctx context.Context) *RejectLoginRequestParams
- func NewRejectLoginRequestParamsWithHTTPClient(client *http.Client) *RejectLoginRequestParams
- func NewRejectLoginRequestParamsWithTimeout(timeout time.Duration) *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) SetContext(ctx context.Context)
- func (o *RejectLoginRequestParams) SetDefaults()
- func (o *RejectLoginRequestParams) SetHTTPClient(client *http.Client)
- func (o *RejectLoginRequestParams) SetLogin(login string)
- func (o *RejectLoginRequestParams) SetRejectLogin(rejectLogin *models.RejectSession)
- func (o *RejectLoginRequestParams) SetTimeout(timeout time.Duration)
- func (o *RejectLoginRequestParams) WithContext(ctx context.Context) *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) WithDefaults() *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) WithHTTPClient(client *http.Client) *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) WithLogin(login string) *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) WithRejectLogin(rejectLogin *models.RejectSession) *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) WithTimeout(timeout time.Duration) *RejectLoginRequestParams
- func (o *RejectLoginRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RejectLoginRequestReader
- type RejectLoginRequestTooManyRequests
- func (o *RejectLoginRequestTooManyRequests) Code() int
- func (o *RejectLoginRequestTooManyRequests) Error() string
- func (o *RejectLoginRequestTooManyRequests) GetPayload() *models.Error
- func (o *RejectLoginRequestTooManyRequests) IsClientError() bool
- func (o *RejectLoginRequestTooManyRequests) IsCode(code int) bool
- func (o *RejectLoginRequestTooManyRequests) IsRedirect() bool
- func (o *RejectLoginRequestTooManyRequests) IsServerError() bool
- func (o *RejectLoginRequestTooManyRequests) IsSuccess() bool
- func (o *RejectLoginRequestTooManyRequests) String() string
- type RejectLoginRequestUnauthorized
- func (o *RejectLoginRequestUnauthorized) Code() int
- func (o *RejectLoginRequestUnauthorized) Error() string
- func (o *RejectLoginRequestUnauthorized) GetPayload() *models.Error
- func (o *RejectLoginRequestUnauthorized) IsClientError() bool
- func (o *RejectLoginRequestUnauthorized) IsCode(code int) bool
- func (o *RejectLoginRequestUnauthorized) IsRedirect() bool
- func (o *RejectLoginRequestUnauthorized) IsServerError() bool
- func (o *RejectLoginRequestUnauthorized) IsSuccess() bool
- func (o *RejectLoginRequestUnauthorized) String() string
- type RejectScopeGrantRequestForbidden
- func (o *RejectScopeGrantRequestForbidden) Code() int
- func (o *RejectScopeGrantRequestForbidden) Error() string
- func (o *RejectScopeGrantRequestForbidden) GetPayload() *models.Error
- func (o *RejectScopeGrantRequestForbidden) IsClientError() bool
- func (o *RejectScopeGrantRequestForbidden) IsCode(code int) bool
- func (o *RejectScopeGrantRequestForbidden) IsRedirect() bool
- func (o *RejectScopeGrantRequestForbidden) IsServerError() bool
- func (o *RejectScopeGrantRequestForbidden) IsSuccess() bool
- func (o *RejectScopeGrantRequestForbidden) String() string
- type RejectScopeGrantRequestNotFound
- func (o *RejectScopeGrantRequestNotFound) Code() int
- func (o *RejectScopeGrantRequestNotFound) Error() string
- func (o *RejectScopeGrantRequestNotFound) GetPayload() *models.Error
- func (o *RejectScopeGrantRequestNotFound) IsClientError() bool
- func (o *RejectScopeGrantRequestNotFound) IsCode(code int) bool
- func (o *RejectScopeGrantRequestNotFound) IsRedirect() bool
- func (o *RejectScopeGrantRequestNotFound) IsServerError() bool
- func (o *RejectScopeGrantRequestNotFound) IsSuccess() bool
- func (o *RejectScopeGrantRequestNotFound) String() string
- type RejectScopeGrantRequestOK
- func (o *RejectScopeGrantRequestOK) Code() int
- func (o *RejectScopeGrantRequestOK) Error() string
- func (o *RejectScopeGrantRequestOK) GetPayload() *models.ScopeGrantRejected
- func (o *RejectScopeGrantRequestOK) IsClientError() bool
- func (o *RejectScopeGrantRequestOK) IsCode(code int) bool
- func (o *RejectScopeGrantRequestOK) IsRedirect() bool
- func (o *RejectScopeGrantRequestOK) IsServerError() bool
- func (o *RejectScopeGrantRequestOK) IsSuccess() bool
- func (o *RejectScopeGrantRequestOK) String() string
- type RejectScopeGrantRequestParams
- func NewRejectScopeGrantRequestParams() *RejectScopeGrantRequestParams
- func NewRejectScopeGrantRequestParamsWithContext(ctx context.Context) *RejectScopeGrantRequestParams
- func NewRejectScopeGrantRequestParamsWithHTTPClient(client *http.Client) *RejectScopeGrantRequestParams
- func NewRejectScopeGrantRequestParamsWithTimeout(timeout time.Duration) *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) SetContext(ctx context.Context)
- func (o *RejectScopeGrantRequestParams) SetDefaults()
- func (o *RejectScopeGrantRequestParams) SetHTTPClient(client *http.Client)
- func (o *RejectScopeGrantRequestParams) SetLogin(login string)
- func (o *RejectScopeGrantRequestParams) SetRejectScopeGrant(rejectScopeGrant *models.RejectScopeGrant)
- func (o *RejectScopeGrantRequestParams) SetTimeout(timeout time.Duration)
- func (o *RejectScopeGrantRequestParams) WithContext(ctx context.Context) *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) WithDefaults() *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) WithHTTPClient(client *http.Client) *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) WithLogin(login string) *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) WithRejectScopeGrant(rejectScopeGrant *models.RejectScopeGrant) *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) WithTimeout(timeout time.Duration) *RejectScopeGrantRequestParams
- func (o *RejectScopeGrantRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RejectScopeGrantRequestReader
- type RejectScopeGrantRequestTooManyRequests
- func (o *RejectScopeGrantRequestTooManyRequests) Code() int
- func (o *RejectScopeGrantRequestTooManyRequests) Error() string
- func (o *RejectScopeGrantRequestTooManyRequests) GetPayload() *models.Error
- func (o *RejectScopeGrantRequestTooManyRequests) IsClientError() bool
- func (o *RejectScopeGrantRequestTooManyRequests) IsCode(code int) bool
- func (o *RejectScopeGrantRequestTooManyRequests) IsRedirect() bool
- func (o *RejectScopeGrantRequestTooManyRequests) IsServerError() bool
- func (o *RejectScopeGrantRequestTooManyRequests) IsSuccess() bool
- func (o *RejectScopeGrantRequestTooManyRequests) String() string
- type RejectScopeGrantRequestUnauthorized
- func (o *RejectScopeGrantRequestUnauthorized) Code() int
- func (o *RejectScopeGrantRequestUnauthorized) Error() string
- func (o *RejectScopeGrantRequestUnauthorized) GetPayload() *models.Error
- func (o *RejectScopeGrantRequestUnauthorized) IsClientError() bool
- func (o *RejectScopeGrantRequestUnauthorized) IsCode(code int) bool
- func (o *RejectScopeGrantRequestUnauthorized) IsRedirect() bool
- func (o *RejectScopeGrantRequestUnauthorized) IsServerError() bool
- func (o *RejectScopeGrantRequestUnauthorized) IsSuccess() bool
- func (o *RejectScopeGrantRequestUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptLoginRequestBadRequest ¶
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 ¶
func (o *AcceptLoginRequestBadRequest) Code() int
Code gets the status code for the accept login request bad request response
func (*AcceptLoginRequestBadRequest) Error ¶
func (o *AcceptLoginRequestBadRequest) Error() string
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 ¶
func (o *AcceptLoginRequestBadRequest) String() string
type AcceptLoginRequestForbidden ¶
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 (o *AcceptLoginRequestForbidden) Error() string
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 ¶
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 (o *AcceptLoginRequestNotFound) Error() string
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 ¶
func (o *AcceptLoginRequestParams) WithContext(ctx context.Context) *AcceptLoginRequestParams
WithContext adds the context to the accept login request params
func (*AcceptLoginRequestParams) WithDefaults ¶
func (o *AcceptLoginRequestParams) WithDefaults() *AcceptLoginRequestParams
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 ¶
func (o *AcceptLoginRequestParams) WithLogin(login string) *AcceptLoginRequestParams
WithLogin adds the login to the accept login request params
func (*AcceptLoginRequestParams) WithTimeout ¶
func (o *AcceptLoginRequestParams) WithTimeout(timeout time.Duration) *AcceptLoginRequestParams
WithTimeout adds the timeout to the accept login request params
func (*AcceptLoginRequestParams) WriteToRequest ¶
func (o *AcceptLoginRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *AcceptLoginRequestTooManyRequests) Code() int
Code gets the status code for the accept login request too many requests response
func (*AcceptLoginRequestTooManyRequests) Error ¶
func (o *AcceptLoginRequestTooManyRequests) Error() string
func (*AcceptLoginRequestTooManyRequests) GetPayload ¶
func (o *AcceptLoginRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *AcceptLoginRequestTooManyRequests) String() string
type AcceptLoginRequestUnauthorized ¶
type AcceptLoginRequestUnauthorized struct {
}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 ¶
func (o *AcceptLoginRequestUnauthorized) Code() int
Code gets the status code for the accept login request unauthorized response
func (*AcceptLoginRequestUnauthorized) Error ¶
func (o *AcceptLoginRequestUnauthorized) Error() string
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 ¶
func (o *AcceptLoginRequestUnauthorized) String() string
type AcceptScopeGrantRequestForbidden ¶
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 ¶
func (o *AcceptScopeGrantRequestForbidden) Code() int
Code gets the status code for the accept scope grant request forbidden response
func (*AcceptScopeGrantRequestForbidden) Error ¶
func (o *AcceptScopeGrantRequestForbidden) Error() string
func (*AcceptScopeGrantRequestForbidden) GetPayload ¶
func (o *AcceptScopeGrantRequestForbidden) GetPayload() *models.Error
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 ¶
func (o *AcceptScopeGrantRequestForbidden) String() string
type AcceptScopeGrantRequestNotFound ¶
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 ¶
func (o *AcceptScopeGrantRequestNotFound) Code() int
Code gets the status code for the accept scope grant request not found response
func (*AcceptScopeGrantRequestNotFound) Error ¶
func (o *AcceptScopeGrantRequestNotFound) Error() string
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 ¶
func (o *AcceptScopeGrantRequestNotFound) String() 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 (o *AcceptScopeGrantRequestOK) GetPayload() *models.ScopeGrantAccepted
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 ¶
func (o *AcceptScopeGrantRequestParams) WithContext(ctx context.Context) *AcceptScopeGrantRequestParams
WithContext adds the context to the accept scope grant request params
func (*AcceptScopeGrantRequestParams) WithDefaults ¶
func (o *AcceptScopeGrantRequestParams) WithDefaults() *AcceptScopeGrantRequestParams
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 ¶
func (o *AcceptScopeGrantRequestParams) WithHTTPClient(client *http.Client) *AcceptScopeGrantRequestParams
WithHTTPClient adds the HTTPClient to the accept scope grant request params
func (*AcceptScopeGrantRequestParams) WithLogin ¶
func (o *AcceptScopeGrantRequestParams) WithLogin(login string) *AcceptScopeGrantRequestParams
WithLogin adds the login to the accept scope grant request params
func (*AcceptScopeGrantRequestParams) WithTimeout ¶
func (o *AcceptScopeGrantRequestParams) WithTimeout(timeout time.Duration) *AcceptScopeGrantRequestParams
WithTimeout adds the timeout to the accept scope grant request params
func (*AcceptScopeGrantRequestParams) WriteToRequest ¶
func (o *AcceptScopeGrantRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *AcceptScopeGrantRequestTooManyRequests) Code() int
Code gets the status code for the accept scope grant request too many requests response
func (*AcceptScopeGrantRequestTooManyRequests) Error ¶
func (o *AcceptScopeGrantRequestTooManyRequests) Error() string
func (*AcceptScopeGrantRequestTooManyRequests) GetPayload ¶
func (o *AcceptScopeGrantRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *AcceptScopeGrantRequestTooManyRequests) IsCode(code int) bool
IsCode returns true when this accept scope grant request too many requests response a status code equal to that given
func (*AcceptScopeGrantRequestTooManyRequests) IsRedirect ¶
func (o *AcceptScopeGrantRequestTooManyRequests) IsRedirect() bool
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 ¶
func (o *AcceptScopeGrantRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this accept scope grant request too many requests response has a 2xx status code
func (*AcceptScopeGrantRequestTooManyRequests) String ¶
func (o *AcceptScopeGrantRequestTooManyRequests) String() string
type AcceptScopeGrantRequestUnauthorized ¶
type AcceptScopeGrantRequestUnauthorized struct {
}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 ¶
func (o *AcceptScopeGrantRequestUnauthorized) Code() int
Code gets the status code for the accept scope grant request unauthorized response
func (*AcceptScopeGrantRequestUnauthorized) Error ¶
func (o *AcceptScopeGrantRequestUnauthorized) Error() string
func (*AcceptScopeGrantRequestUnauthorized) GetPayload ¶
func (o *AcceptScopeGrantRequestUnauthorized) GetPayload() *models.Error
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 ¶
func (o *AcceptScopeGrantRequestUnauthorized) IsCode(code int) bool
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 ¶
func (o *AcceptScopeGrantRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this accept scope grant request unauthorized response has a 2xx status code
func (*AcceptScopeGrantRequestUnauthorized) String ¶
func (o *AcceptScopeGrantRequestUnauthorized) String() 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 ¶
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 ¶
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 (o *GetLoginRequestOK) GetPayload() *models.LoginSessionResponse
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 ¶
func (o *GetLoginRequestParams) WithContext(ctx context.Context) *GetLoginRequestParams
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 ¶
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 ¶
func (o *GetLoginRequestTooManyRequests) Code() int
Code gets the status code for the get login request too many requests response
func (*GetLoginRequestTooManyRequests) Error ¶
func (o *GetLoginRequestTooManyRequests) Error() string
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 ¶
func (o *GetLoginRequestTooManyRequests) String() string
type GetLoginRequestUnauthorized ¶
type GetLoginRequestUnauthorized struct {
}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 (o *GetLoginRequestUnauthorized) Error() string
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 ¶
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 ¶
func (o *GetScopeGrantRequestForbidden) Code() int
Code gets the status code for the get scope grant request forbidden response
func (*GetScopeGrantRequestForbidden) Error ¶
func (o *GetScopeGrantRequestForbidden) Error() string
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 ¶
func (o *GetScopeGrantRequestForbidden) String() string
type GetScopeGrantRequestNotFound ¶
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 ¶
func (o *GetScopeGrantRequestNotFound) Code() int
Code gets the status code for the get scope grant request not found response
func (*GetScopeGrantRequestNotFound) Error ¶
func (o *GetScopeGrantRequestNotFound) Error() string
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 ¶
func (o *GetScopeGrantRequestNotFound) String() 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 (o *GetScopeGrantRequestOK) GetPayload() *models.ScopeGrantSessionResponse
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 ¶
func (o *GetScopeGrantRequestParams) WithContext(ctx context.Context) *GetScopeGrantRequestParams
WithContext adds the context to the get scope grant request params
func (*GetScopeGrantRequestParams) WithDefaults ¶
func (o *GetScopeGrantRequestParams) WithDefaults() *GetScopeGrantRequestParams
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 ¶
func (o *GetScopeGrantRequestParams) WithHTTPClient(client *http.Client) *GetScopeGrantRequestParams
WithHTTPClient adds the HTTPClient to the get scope grant request params
func (*GetScopeGrantRequestParams) WithLogin ¶
func (o *GetScopeGrantRequestParams) WithLogin(login string) *GetScopeGrantRequestParams
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 ¶
func (o *GetScopeGrantRequestParams) WithTimeout(timeout time.Duration) *GetScopeGrantRequestParams
WithTimeout adds the timeout to the get scope grant request params
func (*GetScopeGrantRequestParams) WriteToRequest ¶
func (o *GetScopeGrantRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetScopeGrantRequestTooManyRequests) Code() int
Code gets the status code for the get scope grant request too many requests response
func (*GetScopeGrantRequestTooManyRequests) Error ¶
func (o *GetScopeGrantRequestTooManyRequests) Error() string
func (*GetScopeGrantRequestTooManyRequests) GetPayload ¶
func (o *GetScopeGrantRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *GetScopeGrantRequestTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetScopeGrantRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get scope grant request too many requests response has a 2xx status code
func (*GetScopeGrantRequestTooManyRequests) String ¶
func (o *GetScopeGrantRequestTooManyRequests) String() string
type GetScopeGrantRequestUnauthorized ¶
type GetScopeGrantRequestUnauthorized struct {
}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 ¶
func (o *GetScopeGrantRequestUnauthorized) Code() int
Code gets the status code for the get scope grant request unauthorized response
func (*GetScopeGrantRequestUnauthorized) Error ¶
func (o *GetScopeGrantRequestUnauthorized) Error() string
func (*GetScopeGrantRequestUnauthorized) GetPayload ¶
func (o *GetScopeGrantRequestUnauthorized) GetPayload() *models.Error
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 ¶
func (o *GetScopeGrantRequestUnauthorized) String() string
type RejectLoginRequestForbidden ¶
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 (o *RejectLoginRequestForbidden) Error() string
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 ¶
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 (o *RejectLoginRequestNotFound) Error() string
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 ¶
func (o *RejectLoginRequestParams) WithContext(ctx context.Context) *RejectLoginRequestParams
WithContext adds the context to the reject login request params
func (*RejectLoginRequestParams) WithDefaults ¶
func (o *RejectLoginRequestParams) WithDefaults() *RejectLoginRequestParams
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 ¶
func (o *RejectLoginRequestParams) WithLogin(login string) *RejectLoginRequestParams
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 ¶
func (o *RejectLoginRequestParams) WithTimeout(timeout time.Duration) *RejectLoginRequestParams
WithTimeout adds the timeout to the reject login request params
func (*RejectLoginRequestParams) WriteToRequest ¶
func (o *RejectLoginRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *RejectLoginRequestTooManyRequests) Code() int
Code gets the status code for the reject login request too many requests response
func (*RejectLoginRequestTooManyRequests) Error ¶
func (o *RejectLoginRequestTooManyRequests) Error() string
func (*RejectLoginRequestTooManyRequests) GetPayload ¶
func (o *RejectLoginRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *RejectLoginRequestTooManyRequests) String() string
type RejectLoginRequestUnauthorized ¶
type RejectLoginRequestUnauthorized struct {
}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 ¶
func (o *RejectLoginRequestUnauthorized) Code() int
Code gets the status code for the reject login request unauthorized response
func (*RejectLoginRequestUnauthorized) Error ¶
func (o *RejectLoginRequestUnauthorized) Error() string
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 ¶
func (o *RejectLoginRequestUnauthorized) String() string
type RejectScopeGrantRequestForbidden ¶
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 ¶
func (o *RejectScopeGrantRequestForbidden) Code() int
Code gets the status code for the reject scope grant request forbidden response
func (*RejectScopeGrantRequestForbidden) Error ¶
func (o *RejectScopeGrantRequestForbidden) Error() string
func (*RejectScopeGrantRequestForbidden) GetPayload ¶
func (o *RejectScopeGrantRequestForbidden) GetPayload() *models.Error
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 ¶
func (o *RejectScopeGrantRequestForbidden) String() string
type RejectScopeGrantRequestNotFound ¶
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 ¶
func (o *RejectScopeGrantRequestNotFound) Code() int
Code gets the status code for the reject scope grant request not found response
func (*RejectScopeGrantRequestNotFound) Error ¶
func (o *RejectScopeGrantRequestNotFound) Error() string
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 ¶
func (o *RejectScopeGrantRequestNotFound) String() 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 (o *RejectScopeGrantRequestOK) GetPayload() *models.ScopeGrantRejected
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 ¶
func (o *RejectScopeGrantRequestParams) WithContext(ctx context.Context) *RejectScopeGrantRequestParams
WithContext adds the context to the reject scope grant request params
func (*RejectScopeGrantRequestParams) WithDefaults ¶
func (o *RejectScopeGrantRequestParams) WithDefaults() *RejectScopeGrantRequestParams
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 ¶
func (o *RejectScopeGrantRequestParams) WithHTTPClient(client *http.Client) *RejectScopeGrantRequestParams
WithHTTPClient adds the HTTPClient to the reject scope grant request params
func (*RejectScopeGrantRequestParams) WithLogin ¶
func (o *RejectScopeGrantRequestParams) WithLogin(login string) *RejectScopeGrantRequestParams
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 ¶
func (o *RejectScopeGrantRequestParams) WithTimeout(timeout time.Duration) *RejectScopeGrantRequestParams
WithTimeout adds the timeout to the reject scope grant request params
func (*RejectScopeGrantRequestParams) WriteToRequest ¶
func (o *RejectScopeGrantRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *RejectScopeGrantRequestTooManyRequests) Code() int
Code gets the status code for the reject scope grant request too many requests response
func (*RejectScopeGrantRequestTooManyRequests) Error ¶
func (o *RejectScopeGrantRequestTooManyRequests) Error() string
func (*RejectScopeGrantRequestTooManyRequests) GetPayload ¶
func (o *RejectScopeGrantRequestTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *RejectScopeGrantRequestTooManyRequests) IsCode(code int) bool
IsCode returns true when this reject scope grant request too many requests response a status code equal to that given
func (*RejectScopeGrantRequestTooManyRequests) IsRedirect ¶
func (o *RejectScopeGrantRequestTooManyRequests) IsRedirect() bool
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 ¶
func (o *RejectScopeGrantRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this reject scope grant request too many requests response has a 2xx status code
func (*RejectScopeGrantRequestTooManyRequests) String ¶
func (o *RejectScopeGrantRequestTooManyRequests) String() string
type RejectScopeGrantRequestUnauthorized ¶
type RejectScopeGrantRequestUnauthorized struct {
}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 ¶
func (o *RejectScopeGrantRequestUnauthorized) Code() int
Code gets the status code for the reject scope grant request unauthorized response
func (*RejectScopeGrantRequestUnauthorized) Error ¶
func (o *RejectScopeGrantRequestUnauthorized) Error() string
func (*RejectScopeGrantRequestUnauthorized) GetPayload ¶
func (o *RejectScopeGrantRequestUnauthorized) GetPayload() *models.Error
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 ¶
func (o *RejectScopeGrantRequestUnauthorized) IsCode(code int) bool
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 ¶
func (o *RejectScopeGrantRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this reject scope grant request unauthorized response has a 2xx status code
func (*RejectScopeGrantRequestUnauthorized) String ¶
func (o *RejectScopeGrantRequestUnauthorized) String() string
Source Files ¶
- accept_login_request_parameters.go
- accept_login_request_responses.go
- accept_scope_grant_request_parameters.go
- accept_scope_grant_request_responses.go
- get_login_request_parameters.go
- get_login_request_responses.go
- get_scope_grant_request_parameters.go
- get_scope_grant_request_responses.go
- logins_client.go
- reject_login_request_parameters.go
- reject_login_request_responses.go
- reject_scope_grant_request_parameters.go
- reject_scope_grant_request_responses.go