Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type RetrieveJWKSInternalServerError
- func (o *RetrieveJWKSInternalServerError) Code() int
- func (o *RetrieveJWKSInternalServerError) Error() string
- func (o *RetrieveJWKSInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *RetrieveJWKSInternalServerError) IsClientError() bool
- func (o *RetrieveJWKSInternalServerError) IsCode(code int) bool
- func (o *RetrieveJWKSInternalServerError) IsRedirect() bool
- func (o *RetrieveJWKSInternalServerError) IsServerError() bool
- func (o *RetrieveJWKSInternalServerError) IsSuccess() bool
- func (o *RetrieveJWKSInternalServerError) String() string
- type RetrieveJWKSOK
- func (o *RetrieveJWKSOK) Code() int
- func (o *RetrieveJWKSOK) Error() string
- func (o *RetrieveJWKSOK) GetPayload() *models.RetrieveJWKSOKBody
- func (o *RetrieveJWKSOK) IsClientError() bool
- func (o *RetrieveJWKSOK) IsCode(code int) bool
- func (o *RetrieveJWKSOK) IsRedirect() bool
- func (o *RetrieveJWKSOK) IsServerError() bool
- func (o *RetrieveJWKSOK) IsSuccess() bool
- func (o *RetrieveJWKSOK) String() string
- type RetrieveJWKSParams
- func (o *RetrieveJWKSParams) SetContext(ctx context.Context)
- func (o *RetrieveJWKSParams) SetDefaults()
- func (o *RetrieveJWKSParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveJWKSParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveJWKSParams) WithContext(ctx context.Context) *RetrieveJWKSParams
- func (o *RetrieveJWKSParams) WithDefaults() *RetrieveJWKSParams
- func (o *RetrieveJWKSParams) WithHTTPClient(client *http.Client) *RetrieveJWKSParams
- func (o *RetrieveJWKSParams) WithTimeout(timeout time.Duration) *RetrieveJWKSParams
- func (o *RetrieveJWKSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveJWKSReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for signing keys API
func (*Client) RetrieveJWKS ¶
func (a *Client) RetrieveJWKS(opts ...ClientOption) (*RetrieveJWKSOK, error)
RetrieveJWKS gets JSON web key set j w k s with all the keys that can be used to verify tokens public keys
Required permissions None
func (*Client) RetrieveJWKSWithParams ¶
func (a *Client) RetrieveJWKSWithParams(params *RetrieveJWKSParams, opts ...ClientOption) (*RetrieveJWKSOK, error)
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
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { RetrieveJWKS(opts ...ClientOption) (*RetrieveJWKSOK, error) RetrieveJWKSWithParams(params *RetrieveJWKSParams, opts ...ClientOption) (*RetrieveJWKSOK, 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 signing keys API client.
type RetrieveJWKSInternalServerError ¶
type RetrieveJWKSInternalServerError struct {
Payload *models.ErrorResponseBody
}
RetrieveJWKSInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRetrieveJWKSInternalServerError ¶
func NewRetrieveJWKSInternalServerError() *RetrieveJWKSInternalServerError
NewRetrieveJWKSInternalServerError creates a RetrieveJWKSInternalServerError with default headers values
func (*RetrieveJWKSInternalServerError) Code ¶
func (o *RetrieveJWKSInternalServerError) Code() int
Code gets the status code for the retrieve j w k s internal server error response
func (*RetrieveJWKSInternalServerError) Error ¶
func (o *RetrieveJWKSInternalServerError) Error() string
func (*RetrieveJWKSInternalServerError) GetPayload ¶
func (o *RetrieveJWKSInternalServerError) GetPayload() *models.ErrorResponseBody
func (*RetrieveJWKSInternalServerError) IsClientError ¶
func (o *RetrieveJWKSInternalServerError) IsClientError() bool
IsClientError returns true when this retrieve j w k s internal server error response has a 4xx status code
func (*RetrieveJWKSInternalServerError) IsCode ¶
func (o *RetrieveJWKSInternalServerError) IsCode(code int) bool
IsCode returns true when this retrieve j w k s internal server error response a status code equal to that given
func (*RetrieveJWKSInternalServerError) IsRedirect ¶
func (o *RetrieveJWKSInternalServerError) IsRedirect() bool
IsRedirect returns true when this retrieve j w k s internal server error response has a 3xx status code
func (*RetrieveJWKSInternalServerError) IsServerError ¶
func (o *RetrieveJWKSInternalServerError) IsServerError() bool
IsServerError returns true when this retrieve j w k s internal server error response has a 5xx status code
func (*RetrieveJWKSInternalServerError) IsSuccess ¶
func (o *RetrieveJWKSInternalServerError) IsSuccess() bool
IsSuccess returns true when this retrieve j w k s internal server error response has a 2xx status code
func (*RetrieveJWKSInternalServerError) String ¶
func (o *RetrieveJWKSInternalServerError) String() string
type RetrieveJWKSOK ¶
type RetrieveJWKSOK struct {
Payload *models.RetrieveJWKSOKBody
}
RetrieveJWKSOK describes a response with status code 200, with default header values.
(empty)
func NewRetrieveJWKSOK ¶
func NewRetrieveJWKSOK() *RetrieveJWKSOK
NewRetrieveJWKSOK creates a RetrieveJWKSOK with default headers values
func (*RetrieveJWKSOK) Code ¶
func (o *RetrieveJWKSOK) Code() int
Code gets the status code for the retrieve j w k s Ok response
func (*RetrieveJWKSOK) Error ¶
func (o *RetrieveJWKSOK) Error() string
func (*RetrieveJWKSOK) GetPayload ¶
func (o *RetrieveJWKSOK) GetPayload() *models.RetrieveJWKSOKBody
func (*RetrieveJWKSOK) IsClientError ¶
func (o *RetrieveJWKSOK) IsClientError() bool
IsClientError returns true when this retrieve j w k s Ok response has a 4xx status code
func (*RetrieveJWKSOK) IsCode ¶
func (o *RetrieveJWKSOK) IsCode(code int) bool
IsCode returns true when this retrieve j w k s Ok response a status code equal to that given
func (*RetrieveJWKSOK) IsRedirect ¶
func (o *RetrieveJWKSOK) IsRedirect() bool
IsRedirect returns true when this retrieve j w k s Ok response has a 3xx status code
func (*RetrieveJWKSOK) IsServerError ¶
func (o *RetrieveJWKSOK) IsServerError() bool
IsServerError returns true when this retrieve j w k s Ok response has a 5xx status code
func (*RetrieveJWKSOK) IsSuccess ¶
func (o *RetrieveJWKSOK) IsSuccess() bool
IsSuccess returns true when this retrieve j w k s Ok response has a 2xx status code
func (*RetrieveJWKSOK) String ¶
func (o *RetrieveJWKSOK) String() string
type RetrieveJWKSParams ¶
type RetrieveJWKSParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveJWKSParams contains all the parameters to send to the API endpoint
for the retrieve j w k s operation. Typically these are written to a http.Request.
func NewRetrieveJWKSParams ¶
func NewRetrieveJWKSParams() *RetrieveJWKSParams
NewRetrieveJWKSParams creates a new RetrieveJWKSParams 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 NewRetrieveJWKSParamsWithContext ¶
func NewRetrieveJWKSParamsWithContext(ctx context.Context) *RetrieveJWKSParams
NewRetrieveJWKSParamsWithContext creates a new RetrieveJWKSParams object with the ability to set a context for a request.
func NewRetrieveJWKSParamsWithHTTPClient ¶
func NewRetrieveJWKSParamsWithHTTPClient(client *http.Client) *RetrieveJWKSParams
NewRetrieveJWKSParamsWithHTTPClient creates a new RetrieveJWKSParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveJWKSParamsWithTimeout ¶
func NewRetrieveJWKSParamsWithTimeout(timeout time.Duration) *RetrieveJWKSParams
NewRetrieveJWKSParamsWithTimeout creates a new RetrieveJWKSParams object with the ability to set a timeout on a request.
func (*RetrieveJWKSParams) SetContext ¶
func (o *RetrieveJWKSParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve j w k s params
func (*RetrieveJWKSParams) SetDefaults ¶
func (o *RetrieveJWKSParams) SetDefaults()
SetDefaults hydrates default values in the retrieve j w k s params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveJWKSParams) SetHTTPClient ¶
func (o *RetrieveJWKSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve j w k s params
func (*RetrieveJWKSParams) SetTimeout ¶
func (o *RetrieveJWKSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve j w k s params
func (*RetrieveJWKSParams) WithContext ¶
func (o *RetrieveJWKSParams) WithContext(ctx context.Context) *RetrieveJWKSParams
WithContext adds the context to the retrieve j w k s params
func (*RetrieveJWKSParams) WithDefaults ¶
func (o *RetrieveJWKSParams) WithDefaults() *RetrieveJWKSParams
WithDefaults hydrates default values in the retrieve j w k s params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveJWKSParams) WithHTTPClient ¶
func (o *RetrieveJWKSParams) WithHTTPClient(client *http.Client) *RetrieveJWKSParams
WithHTTPClient adds the HTTPClient to the retrieve j w k s params
func (*RetrieveJWKSParams) WithTimeout ¶
func (o *RetrieveJWKSParams) WithTimeout(timeout time.Duration) *RetrieveJWKSParams
WithTimeout adds the timeout to the retrieve j w k s params
func (*RetrieveJWKSParams) WriteToRequest ¶
func (o *RetrieveJWKSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveJWKSReader ¶
type RetrieveJWKSReader struct {
// contains filtered or unexported fields
}
RetrieveJWKSReader is a Reader for the RetrieveJWKS structure.
func (*RetrieveJWKSReader) ReadResponse ¶
func (o *RetrieveJWKSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.