external_jwt_signer

package
v0.21.173 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ListExternalJWTSignersBadRequestCode int = 400

ListExternalJWTSignersBadRequestCode is the HTTP code returned for type ListExternalJWTSignersBadRequest

View Source
const ListExternalJWTSignersOKCode int = 200

ListExternalJWTSignersOKCode is the HTTP code returned for type ListExternalJWTSignersOK

View Source
const ListExternalJWTSignersUnauthorizedCode int = 401

ListExternalJWTSignersUnauthorizedCode is the HTTP code returned for type ListExternalJWTSignersUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type ListExternalJWTSigners

type ListExternalJWTSigners struct {
	Context *middleware.Context
	Handler ListExternalJWTSignersHandler
}
ListExternalJWTSigners swagger:route GET /external-jwt-signers External JWT Signer listExternalJwtSigners

List Client Authentication External JWT

Retrieves a list of external JWT signers for authentication

func NewListExternalJWTSigners

func NewListExternalJWTSigners(ctx *middleware.Context, handler ListExternalJWTSignersHandler) *ListExternalJWTSigners

NewListExternalJWTSigners creates a new http.Handler for the list external Jwt signers operation

func (*ListExternalJWTSigners) ServeHTTP

func (o *ListExternalJWTSigners) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListExternalJWTSignersBadRequest

type ListExternalJWTSignersBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListExternalJWTSignersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listExternalJwtSignersBadRequest

func NewListExternalJWTSignersBadRequest

func NewListExternalJWTSignersBadRequest() *ListExternalJWTSignersBadRequest

NewListExternalJWTSignersBadRequest creates ListExternalJWTSignersBadRequest with default headers values

func (*ListExternalJWTSignersBadRequest) SetPayload

SetPayload sets the payload to the list external Jwt signers bad request response

func (*ListExternalJWTSignersBadRequest) WithPayload

WithPayload adds the payload to the list external Jwt signers bad request response

func (*ListExternalJWTSignersBadRequest) WriteResponse

func (o *ListExternalJWTSignersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListExternalJWTSignersHandler

type ListExternalJWTSignersHandler interface {
	Handle(ListExternalJWTSignersParams, interface{}) middleware.Responder
}

ListExternalJWTSignersHandler interface for that can handle valid list external Jwt signers params

type ListExternalJWTSignersHandlerFunc

type ListExternalJWTSignersHandlerFunc func(ListExternalJWTSignersParams, interface{}) middleware.Responder

ListExternalJWTSignersHandlerFunc turns a function with the right signature into a list external Jwt signers handler

func (ListExternalJWTSignersHandlerFunc) Handle

Handle executing the request and returning a response

type ListExternalJWTSignersOK

type ListExternalJWTSignersOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListClientExternalJWTSignersEnvelope `json:"body,omitempty"`
}

ListExternalJWTSignersOK A list of External JWT Signers

swagger:response listExternalJwtSignersOK

func NewListExternalJWTSignersOK

func NewListExternalJWTSignersOK() *ListExternalJWTSignersOK

NewListExternalJWTSignersOK creates ListExternalJWTSignersOK with default headers values

func (*ListExternalJWTSignersOK) SetPayload

SetPayload sets the payload to the list external Jwt signers o k response

func (*ListExternalJWTSignersOK) WithPayload

WithPayload adds the payload to the list external Jwt signers o k response

func (*ListExternalJWTSignersOK) WriteResponse

func (o *ListExternalJWTSignersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListExternalJWTSignersParams

type ListExternalJWTSignersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
}

ListExternalJWTSignersParams contains all the bound params for the list external Jwt signers operation typically these are obtained from a http.Request

swagger:parameters listExternalJwtSigners

func NewListExternalJWTSignersParams

func NewListExternalJWTSignersParams() ListExternalJWTSignersParams

NewListExternalJWTSignersParams creates a new ListExternalJWTSignersParams object

There are no default values defined in the spec.

func (*ListExternalJWTSignersParams) BindRequest

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 NewListExternalJWTSignersParams() beforehand.

type ListExternalJWTSignersURL

type ListExternalJWTSignersURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListExternalJWTSignersURL generates an URL for the list external Jwt signers operation

func (*ListExternalJWTSignersURL) Build

func (o *ListExternalJWTSignersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListExternalJWTSignersURL) BuildFull

func (o *ListExternalJWTSignersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListExternalJWTSignersURL) Must

func (o *ListExternalJWTSignersURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListExternalJWTSignersURL) SetBasePath

func (o *ListExternalJWTSignersURL) 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 (*ListExternalJWTSignersURL) String

func (o *ListExternalJWTSignersURL) String() string

String returns the string representation of the path with query string

func (*ListExternalJWTSignersURL) StringFull

func (o *ListExternalJWTSignersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListExternalJWTSignersURL) WithBasePath

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

type ListExternalJWTSignersUnauthorized

type ListExternalJWTSignersUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListExternalJWTSignersUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listExternalJwtSignersUnauthorized

func NewListExternalJWTSignersUnauthorized

func NewListExternalJWTSignersUnauthorized() *ListExternalJWTSignersUnauthorized

NewListExternalJWTSignersUnauthorized creates ListExternalJWTSignersUnauthorized with default headers values

func (*ListExternalJWTSignersUnauthorized) SetPayload

SetPayload sets the payload to the list external Jwt signers unauthorized response

func (*ListExternalJWTSignersUnauthorized) WithPayload

WithPayload adds the payload to the list external Jwt signers unauthorized response

func (*ListExternalJWTSignersUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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