well_known

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

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

Code gets the status code for the get well known openid configuration internal server error response

func (*GetWellKnownOpenidConfigurationInternalServerError) Error

func (*GetWellKnownOpenidConfigurationInternalServerError) GetPayload

func (*GetWellKnownOpenidConfigurationInternalServerError) IsClientError added in v1.18.0

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

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

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

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

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

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

Code gets the status code for the get well known openid configuration not found response

func (*GetWellKnownOpenidConfigurationNotFound) Error

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

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

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

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

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

Code gets the status code for the get well known openid configuration o k response

func (*GetWellKnownOpenidConfigurationOK) Error

func (*GetWellKnownOpenidConfigurationOK) GetPayload

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

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

func (*GetWellKnownOpenidConfigurationOKBody) Validate

Validate validates this get well known openid configuration o k body

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

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

WithContext adds the context to the get well known openid configuration params

func (*GetWellKnownOpenidConfigurationParams) WithDefaults added in v1.18.0

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

WithHTTPClient adds the HTTPClient to the get well known openid configuration params

func (*GetWellKnownOpenidConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get well known openid configuration params

func (*GetWellKnownOpenidConfigurationParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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