Documentation ¶
Index ¶
- Constants
- type GetWellKnownOpenidConfiguration
- type GetWellKnownOpenidConfigurationHandler
- type GetWellKnownOpenidConfigurationHandlerFunc
- type GetWellKnownOpenidConfigurationInternalServerError
- func (o *GetWellKnownOpenidConfigurationInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetWellKnownOpenidConfigurationInternalServerError) WithPayload(payload *models.ErrorResponse) *GetWellKnownOpenidConfigurationInternalServerError
- func (o *GetWellKnownOpenidConfigurationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetWellKnownOpenidConfigurationNotFound
- type GetWellKnownOpenidConfigurationOK
- func (o *GetWellKnownOpenidConfigurationOK) SetPayload(payload *GetWellKnownOpenidConfigurationOKBody)
- func (o *GetWellKnownOpenidConfigurationOK) WithPayload(payload *GetWellKnownOpenidConfigurationOKBody) *GetWellKnownOpenidConfigurationOK
- func (o *GetWellKnownOpenidConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- 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
- type GetWellKnownOpenidConfigurationURL
- func (o *GetWellKnownOpenidConfigurationURL) Build() (*url.URL, error)
- func (o *GetWellKnownOpenidConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetWellKnownOpenidConfigurationURL) Must(u *url.URL, err error) *url.URL
- func (o *GetWellKnownOpenidConfigurationURL) SetBasePath(bp string)
- func (o *GetWellKnownOpenidConfigurationURL) String() string
- func (o *GetWellKnownOpenidConfigurationURL) StringFull(scheme, host string) string
- func (o *GetWellKnownOpenidConfigurationURL) WithBasePath(bp string) *GetWellKnownOpenidConfigurationURL
Constants ¶
const GetWellKnownOpenidConfigurationInternalServerErrorCode int = 500
GetWellKnownOpenidConfigurationInternalServerErrorCode is the HTTP code returned for type GetWellKnownOpenidConfigurationInternalServerError
const GetWellKnownOpenidConfigurationNotFoundCode int = 404
GetWellKnownOpenidConfigurationNotFoundCode is the HTTP code returned for type GetWellKnownOpenidConfigurationNotFound
const GetWellKnownOpenidConfigurationOKCode int = 200
GetWellKnownOpenidConfigurationOKCode is the HTTP code returned for type GetWellKnownOpenidConfigurationOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetWellKnownOpenidConfiguration ¶
type GetWellKnownOpenidConfiguration struct { Context *middleware.Context Handler GetWellKnownOpenidConfigurationHandler }
GetWellKnownOpenidConfiguration swagger:route GET /.well-known/openid-configuration well-known oidc discovery getWellKnownOpenidConfiguration
OIDC discovery information if OIDC auth is enabled ¶
OIDC Discovery page, redirects to the token issuer if one is configured
func NewGetWellKnownOpenidConfiguration ¶
func NewGetWellKnownOpenidConfiguration(ctx *middleware.Context, handler GetWellKnownOpenidConfigurationHandler) *GetWellKnownOpenidConfiguration
NewGetWellKnownOpenidConfiguration creates a new http.Handler for the get well known openid configuration operation
func (*GetWellKnownOpenidConfiguration) ServeHTTP ¶
func (o *GetWellKnownOpenidConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetWellKnownOpenidConfigurationHandler ¶
type GetWellKnownOpenidConfigurationHandler interface {
Handle(GetWellKnownOpenidConfigurationParams, *models.Principal) middleware.Responder
}
GetWellKnownOpenidConfigurationHandler interface for that can handle valid get well known openid configuration params
type GetWellKnownOpenidConfigurationHandlerFunc ¶
type GetWellKnownOpenidConfigurationHandlerFunc func(GetWellKnownOpenidConfigurationParams, *models.Principal) middleware.Responder
GetWellKnownOpenidConfigurationHandlerFunc turns a function with the right signature into a get well known openid configuration handler
func (GetWellKnownOpenidConfigurationHandlerFunc) Handle ¶
func (fn GetWellKnownOpenidConfigurationHandlerFunc) Handle(params GetWellKnownOpenidConfigurationParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetWellKnownOpenidConfigurationInternalServerError ¶
type GetWellKnownOpenidConfigurationInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
GetWellKnownOpenidConfigurationInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response getWellKnownOpenidConfigurationInternalServerError
func NewGetWellKnownOpenidConfigurationInternalServerError ¶
func NewGetWellKnownOpenidConfigurationInternalServerError() *GetWellKnownOpenidConfigurationInternalServerError
NewGetWellKnownOpenidConfigurationInternalServerError creates GetWellKnownOpenidConfigurationInternalServerError with default headers values
func (*GetWellKnownOpenidConfigurationInternalServerError) SetPayload ¶
func (o *GetWellKnownOpenidConfigurationInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get well known openid configuration internal server error response
func (*GetWellKnownOpenidConfigurationInternalServerError) WithPayload ¶
func (o *GetWellKnownOpenidConfigurationInternalServerError) WithPayload(payload *models.ErrorResponse) *GetWellKnownOpenidConfigurationInternalServerError
WithPayload adds the payload to the get well known openid configuration internal server error response
func (*GetWellKnownOpenidConfigurationInternalServerError) WriteResponse ¶
func (o *GetWellKnownOpenidConfigurationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWellKnownOpenidConfigurationNotFound ¶
type GetWellKnownOpenidConfigurationNotFound struct { }
GetWellKnownOpenidConfigurationNotFound Not found, no oidc provider present
swagger:response getWellKnownOpenidConfigurationNotFound
func NewGetWellKnownOpenidConfigurationNotFound ¶
func NewGetWellKnownOpenidConfigurationNotFound() *GetWellKnownOpenidConfigurationNotFound
NewGetWellKnownOpenidConfigurationNotFound creates GetWellKnownOpenidConfigurationNotFound with default headers values
func (*GetWellKnownOpenidConfigurationNotFound) WriteResponse ¶
func (o *GetWellKnownOpenidConfigurationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWellKnownOpenidConfigurationOK ¶
type GetWellKnownOpenidConfigurationOK struct { /* In: Body */ Payload *GetWellKnownOpenidConfigurationOKBody `json:"body,omitempty"` }
GetWellKnownOpenidConfigurationOK Successful response, inspect body
swagger:response getWellKnownOpenidConfigurationOK
func NewGetWellKnownOpenidConfigurationOK ¶
func NewGetWellKnownOpenidConfigurationOK() *GetWellKnownOpenidConfigurationOK
NewGetWellKnownOpenidConfigurationOK creates GetWellKnownOpenidConfigurationOK with default headers values
func (*GetWellKnownOpenidConfigurationOK) SetPayload ¶
func (o *GetWellKnownOpenidConfigurationOK) SetPayload(payload *GetWellKnownOpenidConfigurationOKBody)
SetPayload sets the payload to the get well known openid configuration o k response
func (*GetWellKnownOpenidConfigurationOK) WithPayload ¶
func (o *GetWellKnownOpenidConfigurationOK) WithPayload(payload *GetWellKnownOpenidConfigurationOKBody) *GetWellKnownOpenidConfigurationOK
WithPayload adds the payload to the get well known openid configuration o k response
func (*GetWellKnownOpenidConfigurationOK) WriteResponse ¶
func (o *GetWellKnownOpenidConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWellKnownOpenidConfigurationOKBody ¶
type GetWellKnownOpenidConfigurationOKBody struct { // OAuth Client ID ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"` // The Location to redirect to Href string `json:"href,omitempty" yaml:"href,omitempty"` // OAuth Scopes Scopes []string `json:"scopes,omitempty" yaml:"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 { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetWellKnownOpenidConfigurationParams contains all the bound params for the get well known openid configuration operation typically these are obtained from a http.Request
swagger:parameters GetWellKnownOpenidConfiguration
func NewGetWellKnownOpenidConfigurationParams ¶
func NewGetWellKnownOpenidConfigurationParams() GetWellKnownOpenidConfigurationParams
NewGetWellKnownOpenidConfigurationParams creates a new GetWellKnownOpenidConfigurationParams object
There are no default values defined in the spec.
func (*GetWellKnownOpenidConfigurationParams) BindRequest ¶
func (o *GetWellKnownOpenidConfigurationParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetWellKnownOpenidConfigurationParams() beforehand.
type GetWellKnownOpenidConfigurationURL ¶
type GetWellKnownOpenidConfigurationURL struct {
// contains filtered or unexported fields
}
GetWellKnownOpenidConfigurationURL generates an URL for the get well known openid configuration operation
func (*GetWellKnownOpenidConfigurationURL) Build ¶
func (o *GetWellKnownOpenidConfigurationURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetWellKnownOpenidConfigurationURL) BuildFull ¶
func (o *GetWellKnownOpenidConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetWellKnownOpenidConfigurationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetWellKnownOpenidConfigurationURL) SetBasePath ¶
func (o *GetWellKnownOpenidConfigurationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetWellKnownOpenidConfigurationURL) String ¶
func (o *GetWellKnownOpenidConfigurationURL) String() string
String returns the string representation of the path with query string
func (*GetWellKnownOpenidConfigurationURL) StringFull ¶
func (o *GetWellKnownOpenidConfigurationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetWellKnownOpenidConfigurationURL) WithBasePath ¶
func (o *GetWellKnownOpenidConfigurationURL) WithBasePath(bp string) *GetWellKnownOpenidConfigurationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string