well_known

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 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) (*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 ClientService

type ClientService interface {
	GetWellKnownOpenidConfiguration(params *GetWellKnownOpenidConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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) Error

func (*GetWellKnownOpenidConfigurationInternalServerError) GetPayload

type GetWellKnownOpenidConfigurationNotFound

type GetWellKnownOpenidConfigurationNotFound struct {
}

GetWellKnownOpenidConfigurationNotFound handles this case 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) Error

type GetWellKnownOpenidConfigurationOK

type GetWellKnownOpenidConfigurationOK struct {
	Payload *GetWellKnownOpenidConfigurationOKBody
}

GetWellKnownOpenidConfigurationOK handles this case with default header values.

Successful response, inspect body

func NewGetWellKnownOpenidConfigurationOK

func NewGetWellKnownOpenidConfigurationOK() *GetWellKnownOpenidConfigurationOK

NewGetWellKnownOpenidConfigurationOK creates a GetWellKnownOpenidConfigurationOK with default headers values

func (*GetWellKnownOpenidConfigurationOK) Error

func (*GetWellKnownOpenidConfigurationOK) GetPayload

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) 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 values initialized.

func NewGetWellKnownOpenidConfigurationParamsWithContext

func NewGetWellKnownOpenidConfigurationParamsWithContext(ctx context.Context) *GetWellKnownOpenidConfigurationParams

NewGetWellKnownOpenidConfigurationParamsWithContext creates a new GetWellKnownOpenidConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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