Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetWellKnownOpenidConfigurationInternalServerError
- func (o *GetWellKnownOpenidConfigurationInternalServerError) Code() int
- func (o *GetWellKnownOpenidConfigurationInternalServerError) Error() string
- func (o *GetWellKnownOpenidConfigurationInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetWellKnownOpenidConfigurationInternalServerError) IsClientError() bool
- func (o *GetWellKnownOpenidConfigurationInternalServerError) IsCode(code int) bool
- func (o *GetWellKnownOpenidConfigurationInternalServerError) IsRedirect() bool
- func (o *GetWellKnownOpenidConfigurationInternalServerError) IsServerError() bool
- func (o *GetWellKnownOpenidConfigurationInternalServerError) IsSuccess() bool
- func (o *GetWellKnownOpenidConfigurationInternalServerError) String() string
- type GetWellKnownOpenidConfigurationNotFound
- func (o *GetWellKnownOpenidConfigurationNotFound) Code() int
- func (o *GetWellKnownOpenidConfigurationNotFound) Error() string
- func (o *GetWellKnownOpenidConfigurationNotFound) IsClientError() bool
- func (o *GetWellKnownOpenidConfigurationNotFound) IsCode(code int) bool
- func (o *GetWellKnownOpenidConfigurationNotFound) IsRedirect() bool
- func (o *GetWellKnownOpenidConfigurationNotFound) IsServerError() bool
- func (o *GetWellKnownOpenidConfigurationNotFound) IsSuccess() bool
- func (o *GetWellKnownOpenidConfigurationNotFound) String() string
- type GetWellKnownOpenidConfigurationOK
- func (o *GetWellKnownOpenidConfigurationOK) Code() int
- func (o *GetWellKnownOpenidConfigurationOK) Error() string
- func (o *GetWellKnownOpenidConfigurationOK) GetPayload() *GetWellKnownOpenidConfigurationOKBody
- func (o *GetWellKnownOpenidConfigurationOK) IsClientError() bool
- func (o *GetWellKnownOpenidConfigurationOK) IsCode(code int) bool
- func (o *GetWellKnownOpenidConfigurationOK) IsRedirect() bool
- func (o *GetWellKnownOpenidConfigurationOK) IsServerError() bool
- func (o *GetWellKnownOpenidConfigurationOK) IsSuccess() bool
- func (o *GetWellKnownOpenidConfigurationOK) String() string
- type GetWellKnownOpenidConfigurationOKBody
- func (o *GetWellKnownOpenidConfigurationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetWellKnownOpenidConfigurationOKBody) MarshalBinary() ([]byte, error)
- func (o *GetWellKnownOpenidConfigurationOKBody) UnmarshalBinary(b []byte) error
- func (o *GetWellKnownOpenidConfigurationOKBody) Validate(formats strfmt.Registry) error
- type GetWellKnownOpenidConfigurationParams
- func NewGetWellKnownOpenidConfigurationParams() *GetWellKnownOpenidConfigurationParams
- func NewGetWellKnownOpenidConfigurationParamsWithContext(ctx context.Context) *GetWellKnownOpenidConfigurationParams
- func NewGetWellKnownOpenidConfigurationParamsWithHTTPClient(client *http.Client) *GetWellKnownOpenidConfigurationParams
- func NewGetWellKnownOpenidConfigurationParamsWithTimeout(timeout time.Duration) *GetWellKnownOpenidConfigurationParams
- func (o *GetWellKnownOpenidConfigurationParams) SetContext(ctx context.Context)
- func (o *GetWellKnownOpenidConfigurationParams) SetDefaults()
- func (o *GetWellKnownOpenidConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetWellKnownOpenidConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetWellKnownOpenidConfigurationParams) WithContext(ctx context.Context) *GetWellKnownOpenidConfigurationParams
- func (o *GetWellKnownOpenidConfigurationParams) WithDefaults() *GetWellKnownOpenidConfigurationParams
- func (o *GetWellKnownOpenidConfigurationParams) WithHTTPClient(client *http.Client) *GetWellKnownOpenidConfigurationParams
- func (o *GetWellKnownOpenidConfigurationParams) WithTimeout(timeout time.Duration) *GetWellKnownOpenidConfigurationParams
- func (o *GetWellKnownOpenidConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWellKnownOpenidConfigurationReader
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 well known API
func (*Client) GetWellKnownOpenidConfiguration ¶
func (a *Client) GetWellKnownOpenidConfiguration(params *GetWellKnownOpenidConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWellKnownOpenidConfigurationOK, error)
GetWellKnownOpenidConfiguration os ID c discovery information if o ID c auth is enabled
OIDC Discovery page, redirects to the token issuer if one is configured
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetWellKnownOpenidConfiguration(params *GetWellKnownOpenidConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWellKnownOpenidConfigurationOK, 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 well known API client.
type GetWellKnownOpenidConfigurationInternalServerError ¶
type GetWellKnownOpenidConfigurationInternalServerError struct {
Payload *models.ErrorResponse
}
GetWellKnownOpenidConfigurationInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewGetWellKnownOpenidConfigurationInternalServerError ¶
func NewGetWellKnownOpenidConfigurationInternalServerError() *GetWellKnownOpenidConfigurationInternalServerError
NewGetWellKnownOpenidConfigurationInternalServerError creates a GetWellKnownOpenidConfigurationInternalServerError with default headers values
func (*GetWellKnownOpenidConfigurationInternalServerError) Code ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) Code() int
Code gets the status code for the get well known openid configuration internal server error response
func (*GetWellKnownOpenidConfigurationInternalServerError) Error ¶
func (o *GetWellKnownOpenidConfigurationInternalServerError) Error() string
func (*GetWellKnownOpenidConfigurationInternalServerError) GetPayload ¶
func (o *GetWellKnownOpenidConfigurationInternalServerError) GetPayload() *models.ErrorResponse
func (*GetWellKnownOpenidConfigurationInternalServerError) IsClientError ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) IsClientError() bool
IsClientError returns true when this get well known openid configuration internal server error response has a 4xx status code
func (*GetWellKnownOpenidConfigurationInternalServerError) IsCode ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) IsCode(code int) bool
IsCode returns true when this get well known openid configuration internal server error response a status code equal to that given
func (*GetWellKnownOpenidConfigurationInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) IsRedirect() bool
IsRedirect returns true when this get well known openid configuration internal server error response has a 3xx status code
func (*GetWellKnownOpenidConfigurationInternalServerError) IsServerError ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) IsServerError() bool
IsServerError returns true when this get well known openid configuration internal server error response has a 5xx status code
func (*GetWellKnownOpenidConfigurationInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) IsSuccess() bool
IsSuccess returns true when this get well known openid configuration internal server error response has a 2xx status code
func (*GetWellKnownOpenidConfigurationInternalServerError) String ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationInternalServerError) String() string
type GetWellKnownOpenidConfigurationNotFound ¶
type GetWellKnownOpenidConfigurationNotFound struct { }
GetWellKnownOpenidConfigurationNotFound describes a response with status code 404, with default header values.
Not found, no oidc provider present
func NewGetWellKnownOpenidConfigurationNotFound ¶
func NewGetWellKnownOpenidConfigurationNotFound() *GetWellKnownOpenidConfigurationNotFound
NewGetWellKnownOpenidConfigurationNotFound creates a GetWellKnownOpenidConfigurationNotFound with default headers values
func (*GetWellKnownOpenidConfigurationNotFound) Code ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) Code() int
Code gets the status code for the get well known openid configuration not found response
func (*GetWellKnownOpenidConfigurationNotFound) Error ¶
func (o *GetWellKnownOpenidConfigurationNotFound) Error() string
func (*GetWellKnownOpenidConfigurationNotFound) IsClientError ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) IsClientError() bool
IsClientError returns true when this get well known openid configuration not found response has a 4xx status code
func (*GetWellKnownOpenidConfigurationNotFound) IsCode ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this get well known openid configuration not found response a status code equal to that given
func (*GetWellKnownOpenidConfigurationNotFound) IsRedirect ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this get well known openid configuration not found response has a 3xx status code
func (*GetWellKnownOpenidConfigurationNotFound) IsServerError ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) IsServerError() bool
IsServerError returns true when this get well known openid configuration not found response has a 5xx status code
func (*GetWellKnownOpenidConfigurationNotFound) IsSuccess ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this get well known openid configuration not found response has a 2xx status code
func (*GetWellKnownOpenidConfigurationNotFound) String ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationNotFound) String() string
type GetWellKnownOpenidConfigurationOK ¶
type GetWellKnownOpenidConfigurationOK struct {
Payload *GetWellKnownOpenidConfigurationOKBody
}
GetWellKnownOpenidConfigurationOK describes a response with status code 200, with default header values.
Successful response, inspect body
func NewGetWellKnownOpenidConfigurationOK ¶
func NewGetWellKnownOpenidConfigurationOK() *GetWellKnownOpenidConfigurationOK
NewGetWellKnownOpenidConfigurationOK creates a GetWellKnownOpenidConfigurationOK with default headers values
func (*GetWellKnownOpenidConfigurationOK) Code ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) Code() int
Code gets the status code for the get well known openid configuration o k response
func (*GetWellKnownOpenidConfigurationOK) Error ¶
func (o *GetWellKnownOpenidConfigurationOK) Error() string
func (*GetWellKnownOpenidConfigurationOK) GetPayload ¶
func (o *GetWellKnownOpenidConfigurationOK) GetPayload() *GetWellKnownOpenidConfigurationOKBody
func (*GetWellKnownOpenidConfigurationOK) IsClientError ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) IsClientError() bool
IsClientError returns true when this get well known openid configuration o k response has a 4xx status code
func (*GetWellKnownOpenidConfigurationOK) IsCode ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) IsCode(code int) bool
IsCode returns true when this get well known openid configuration o k response a status code equal to that given
func (*GetWellKnownOpenidConfigurationOK) IsRedirect ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) IsRedirect() bool
IsRedirect returns true when this get well known openid configuration o k response has a 3xx status code
func (*GetWellKnownOpenidConfigurationOK) IsServerError ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) IsServerError() bool
IsServerError returns true when this get well known openid configuration o k response has a 5xx status code
func (*GetWellKnownOpenidConfigurationOK) IsSuccess ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) IsSuccess() bool
IsSuccess returns true when this get well known openid configuration o k response has a 2xx status code
func (*GetWellKnownOpenidConfigurationOK) String ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOK) String() string
type GetWellKnownOpenidConfigurationOKBody ¶
type GetWellKnownOpenidConfigurationOKBody struct { // OAuth Client ID ClientID string `json:"clientId,omitempty"` // The Location to redirect to Href string `json:"href,omitempty"` // OAuth Scopes Scopes []string `json:"scopes,omitempty"` }
GetWellKnownOpenidConfigurationOKBody get well known openid configuration o k body swagger:model GetWellKnownOpenidConfigurationOKBody
func (*GetWellKnownOpenidConfigurationOKBody) ContextValidate ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get well known openid configuration o k body based on context it is used
func (*GetWellKnownOpenidConfigurationOKBody) MarshalBinary ¶
func (o *GetWellKnownOpenidConfigurationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWellKnownOpenidConfigurationOKBody) UnmarshalBinary ¶
func (o *GetWellKnownOpenidConfigurationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWellKnownOpenidConfigurationParams ¶
type GetWellKnownOpenidConfigurationParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWellKnownOpenidConfigurationParams contains all the parameters to send to the API endpoint
for the get well known openid configuration operation. Typically these are written to a http.Request.
func NewGetWellKnownOpenidConfigurationParams ¶
func NewGetWellKnownOpenidConfigurationParams() *GetWellKnownOpenidConfigurationParams
NewGetWellKnownOpenidConfigurationParams creates a new GetWellKnownOpenidConfigurationParams 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 NewGetWellKnownOpenidConfigurationParamsWithContext ¶
func NewGetWellKnownOpenidConfigurationParamsWithContext(ctx context.Context) *GetWellKnownOpenidConfigurationParams
NewGetWellKnownOpenidConfigurationParamsWithContext creates a new GetWellKnownOpenidConfigurationParams object with the ability to set a context for a request.
func NewGetWellKnownOpenidConfigurationParamsWithHTTPClient ¶
func NewGetWellKnownOpenidConfigurationParamsWithHTTPClient(client *http.Client) *GetWellKnownOpenidConfigurationParams
NewGetWellKnownOpenidConfigurationParamsWithHTTPClient creates a new GetWellKnownOpenidConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewGetWellKnownOpenidConfigurationParamsWithTimeout ¶
func NewGetWellKnownOpenidConfigurationParamsWithTimeout(timeout time.Duration) *GetWellKnownOpenidConfigurationParams
NewGetWellKnownOpenidConfigurationParamsWithTimeout creates a new GetWellKnownOpenidConfigurationParams object with the ability to set a timeout on a request.
func (*GetWellKnownOpenidConfigurationParams) SetContext ¶
func (o *GetWellKnownOpenidConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get well known openid configuration params
func (*GetWellKnownOpenidConfigurationParams) SetDefaults ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the get well known openid configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetWellKnownOpenidConfigurationParams) SetHTTPClient ¶
func (o *GetWellKnownOpenidConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get well known openid configuration params
func (*GetWellKnownOpenidConfigurationParams) SetTimeout ¶
func (o *GetWellKnownOpenidConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get well known openid configuration params
func (*GetWellKnownOpenidConfigurationParams) WithContext ¶
func (o *GetWellKnownOpenidConfigurationParams) WithContext(ctx context.Context) *GetWellKnownOpenidConfigurationParams
WithContext adds the context to the get well known openid configuration params
func (*GetWellKnownOpenidConfigurationParams) WithDefaults ¶ added in v1.18.0
func (o *GetWellKnownOpenidConfigurationParams) WithDefaults() *GetWellKnownOpenidConfigurationParams
WithDefaults hydrates default values in the get well known openid configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetWellKnownOpenidConfigurationParams) WithHTTPClient ¶
func (o *GetWellKnownOpenidConfigurationParams) WithHTTPClient(client *http.Client) *GetWellKnownOpenidConfigurationParams
WithHTTPClient adds the HTTPClient to the get well known openid configuration params
func (*GetWellKnownOpenidConfigurationParams) WithTimeout ¶
func (o *GetWellKnownOpenidConfigurationParams) WithTimeout(timeout time.Duration) *GetWellKnownOpenidConfigurationParams
WithTimeout adds the timeout to the get well known openid configuration params
func (*GetWellKnownOpenidConfigurationParams) WriteToRequest ¶
func (o *GetWellKnownOpenidConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWellKnownOpenidConfigurationReader ¶
type GetWellKnownOpenidConfigurationReader struct {
// contains filtered or unexported fields
}
GetWellKnownOpenidConfigurationReader is a Reader for the GetWellKnownOpenidConfiguration structure.
func (*GetWellKnownOpenidConfigurationReader) ReadResponse ¶
func (o *GetWellKnownOpenidConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.