external_jwt_signer

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 13 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 external jwt signer API

func (*Client) ListExternalJWTSigners

func (a *Client) ListExternalJWTSigners(params *ListExternalJWTSignersParams, opts ...ClientOption) (*ListExternalJWTSignersOK, error)

ListExternalJWTSigners lists client authentication external JWT

Retrieves a list of external JWT signers for authentication

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	ListExternalJWTSigners(params *ListExternalJWTSignersParams, opts ...ClientOption) (*ListExternalJWTSignersOK, 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 external jwt signer API client.

func NewClientWithBasicAuth added in v0.26.53

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new external jwt signer API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.26.53

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new external jwt signer API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type ListExternalJWTSignersBadRequest

type ListExternalJWTSignersBadRequest struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

ListExternalJWTSignersBadRequest describes a response with status code 400, with default header values.

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

func NewListExternalJWTSignersBadRequest

func NewListExternalJWTSignersBadRequest() *ListExternalJWTSignersBadRequest

NewListExternalJWTSignersBadRequest creates a ListExternalJWTSignersBadRequest with default headers values

func (*ListExternalJWTSignersBadRequest) Code added in v0.26.53

Code gets the status code for the list external Jwt signers bad request response

func (*ListExternalJWTSignersBadRequest) Error

func (*ListExternalJWTSignersBadRequest) GetPayload

func (*ListExternalJWTSignersBadRequest) IsClientError added in v0.26.53

func (o *ListExternalJWTSignersBadRequest) IsClientError() bool

IsClientError returns true when this list external Jwt signers bad request response has a 4xx status code

func (*ListExternalJWTSignersBadRequest) IsCode added in v0.26.53

func (o *ListExternalJWTSignersBadRequest) IsCode(code int) bool

IsCode returns true when this list external Jwt signers bad request response a status code equal to that given

func (*ListExternalJWTSignersBadRequest) IsRedirect added in v0.26.53

func (o *ListExternalJWTSignersBadRequest) IsRedirect() bool

IsRedirect returns true when this list external Jwt signers bad request response has a 3xx status code

func (*ListExternalJWTSignersBadRequest) IsServerError added in v0.26.53

func (o *ListExternalJWTSignersBadRequest) IsServerError() bool

IsServerError returns true when this list external Jwt signers bad request response has a 5xx status code

func (*ListExternalJWTSignersBadRequest) IsSuccess added in v0.26.53

func (o *ListExternalJWTSignersBadRequest) IsSuccess() bool

IsSuccess returns true when this list external Jwt signers bad request response has a 2xx status code

func (*ListExternalJWTSignersBadRequest) String added in v0.26.53

type ListExternalJWTSignersOK

type ListExternalJWTSignersOK struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.ListClientExternalJWTSignersEnvelope
}

ListExternalJWTSignersOK describes a response with status code 200, with default header values.

A list of External JWT Signers

func NewListExternalJWTSignersOK

func NewListExternalJWTSignersOK() *ListExternalJWTSignersOK

NewListExternalJWTSignersOK creates a ListExternalJWTSignersOK with default headers values

func (*ListExternalJWTSignersOK) Code added in v0.26.53

func (o *ListExternalJWTSignersOK) Code() int

Code gets the status code for the list external Jwt signers o k response

func (*ListExternalJWTSignersOK) Error

func (o *ListExternalJWTSignersOK) Error() string

func (*ListExternalJWTSignersOK) GetPayload

func (*ListExternalJWTSignersOK) IsClientError added in v0.26.53

func (o *ListExternalJWTSignersOK) IsClientError() bool

IsClientError returns true when this list external Jwt signers o k response has a 4xx status code

func (*ListExternalJWTSignersOK) IsCode added in v0.26.53

func (o *ListExternalJWTSignersOK) IsCode(code int) bool

IsCode returns true when this list external Jwt signers o k response a status code equal to that given

func (*ListExternalJWTSignersOK) IsRedirect added in v0.26.53

func (o *ListExternalJWTSignersOK) IsRedirect() bool

IsRedirect returns true when this list external Jwt signers o k response has a 3xx status code

func (*ListExternalJWTSignersOK) IsServerError added in v0.26.53

func (o *ListExternalJWTSignersOK) IsServerError() bool

IsServerError returns true when this list external Jwt signers o k response has a 5xx status code

func (*ListExternalJWTSignersOK) IsSuccess added in v0.26.53

func (o *ListExternalJWTSignersOK) IsSuccess() bool

IsSuccess returns true when this list external Jwt signers o k response has a 2xx status code

func (*ListExternalJWTSignersOK) String added in v0.26.53

func (o *ListExternalJWTSignersOK) String() string

type ListExternalJWTSignersParams

type ListExternalJWTSignersParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListExternalJWTSignersParams contains all the parameters to send to the API endpoint

for the list external Jwt signers operation.

Typically these are written to a http.Request.

func NewListExternalJWTSignersParams

func NewListExternalJWTSignersParams() *ListExternalJWTSignersParams

NewListExternalJWTSignersParams creates a new ListExternalJWTSignersParams 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 NewListExternalJWTSignersParamsWithContext

func NewListExternalJWTSignersParamsWithContext(ctx context.Context) *ListExternalJWTSignersParams

NewListExternalJWTSignersParamsWithContext creates a new ListExternalJWTSignersParams object with the ability to set a context for a request.

func NewListExternalJWTSignersParamsWithHTTPClient

func NewListExternalJWTSignersParamsWithHTTPClient(client *http.Client) *ListExternalJWTSignersParams

NewListExternalJWTSignersParamsWithHTTPClient creates a new ListExternalJWTSignersParams object with the ability to set a custom HTTPClient for a request.

func NewListExternalJWTSignersParamsWithTimeout

func NewListExternalJWTSignersParamsWithTimeout(timeout time.Duration) *ListExternalJWTSignersParams

NewListExternalJWTSignersParamsWithTimeout creates a new ListExternalJWTSignersParams object with the ability to set a timeout on a request.

func (*ListExternalJWTSignersParams) SetContext

func (o *ListExternalJWTSignersParams) SetContext(ctx context.Context)

SetContext adds the context to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetDefaults

func (o *ListExternalJWTSignersParams) SetDefaults()

SetDefaults hydrates default values in the list external Jwt signers params (not the query body).

All values with no default are reset to their zero value.

func (*ListExternalJWTSignersParams) SetFilter

func (o *ListExternalJWTSignersParams) SetFilter(filter *string)

SetFilter adds the filter to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetHTTPClient

func (o *ListExternalJWTSignersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetLimit

func (o *ListExternalJWTSignersParams) SetLimit(limit *int64)

SetLimit adds the limit to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetOffset

func (o *ListExternalJWTSignersParams) SetOffset(offset *int64)

SetOffset adds the offset to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetTimeout

func (o *ListExternalJWTSignersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithContext

WithContext adds the context to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithDefaults

WithDefaults hydrates default values in the list external Jwt signers params (not the query body).

All values with no default are reset to their zero value.

func (*ListExternalJWTSignersParams) WithFilter

WithFilter adds the filter to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithLimit

WithLimit adds the limit to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithOffset

WithOffset adds the offset to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithTimeout

WithTimeout adds the timeout to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListExternalJWTSignersReader

type ListExternalJWTSignersReader struct {
	// contains filtered or unexported fields
}

ListExternalJWTSignersReader is a Reader for the ListExternalJWTSigners structure.

func (*ListExternalJWTSignersReader) ReadResponse

func (o *ListExternalJWTSignersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListExternalJWTSignersServiceUnavailable added in v0.26.37

type ListExternalJWTSignersServiceUnavailable struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

ListExternalJWTSignersServiceUnavailable describes a response with status code 503, with default header values.

The request could not be completed due to the server being busy or in a temporarily bad state

func NewListExternalJWTSignersServiceUnavailable added in v0.26.37

func NewListExternalJWTSignersServiceUnavailable() *ListExternalJWTSignersServiceUnavailable

NewListExternalJWTSignersServiceUnavailable creates a ListExternalJWTSignersServiceUnavailable with default headers values

func (*ListExternalJWTSignersServiceUnavailable) Code added in v0.26.53

Code gets the status code for the list external Jwt signers service unavailable response

func (*ListExternalJWTSignersServiceUnavailable) Error added in v0.26.37

func (*ListExternalJWTSignersServiceUnavailable) GetPayload added in v0.26.37

func (*ListExternalJWTSignersServiceUnavailable) IsClientError added in v0.26.53

IsClientError returns true when this list external Jwt signers service unavailable response has a 4xx status code

func (*ListExternalJWTSignersServiceUnavailable) IsCode added in v0.26.53

IsCode returns true when this list external Jwt signers service unavailable response a status code equal to that given

func (*ListExternalJWTSignersServiceUnavailable) IsRedirect added in v0.26.53

IsRedirect returns true when this list external Jwt signers service unavailable response has a 3xx status code

func (*ListExternalJWTSignersServiceUnavailable) IsServerError added in v0.26.53

IsServerError returns true when this list external Jwt signers service unavailable response has a 5xx status code

func (*ListExternalJWTSignersServiceUnavailable) IsSuccess added in v0.26.53

IsSuccess returns true when this list external Jwt signers service unavailable response has a 2xx status code

func (*ListExternalJWTSignersServiceUnavailable) String added in v0.26.53

type ListExternalJWTSignersTooManyRequests added in v0.26.0

type ListExternalJWTSignersTooManyRequests struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

ListExternalJWTSignersTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewListExternalJWTSignersTooManyRequests added in v0.26.0

func NewListExternalJWTSignersTooManyRequests() *ListExternalJWTSignersTooManyRequests

NewListExternalJWTSignersTooManyRequests creates a ListExternalJWTSignersTooManyRequests with default headers values

func (*ListExternalJWTSignersTooManyRequests) Code added in v0.26.53

Code gets the status code for the list external Jwt signers too many requests response

func (*ListExternalJWTSignersTooManyRequests) Error added in v0.26.0

func (*ListExternalJWTSignersTooManyRequests) GetPayload added in v0.26.0

func (*ListExternalJWTSignersTooManyRequests) IsClientError added in v0.26.53

func (o *ListExternalJWTSignersTooManyRequests) IsClientError() bool

IsClientError returns true when this list external Jwt signers too many requests response has a 4xx status code

func (*ListExternalJWTSignersTooManyRequests) IsCode added in v0.26.53

IsCode returns true when this list external Jwt signers too many requests response a status code equal to that given

func (*ListExternalJWTSignersTooManyRequests) IsRedirect added in v0.26.53

IsRedirect returns true when this list external Jwt signers too many requests response has a 3xx status code

func (*ListExternalJWTSignersTooManyRequests) IsServerError added in v0.26.53

func (o *ListExternalJWTSignersTooManyRequests) IsServerError() bool

IsServerError returns true when this list external Jwt signers too many requests response has a 5xx status code

func (*ListExternalJWTSignersTooManyRequests) IsSuccess added in v0.26.53

IsSuccess returns true when this list external Jwt signers too many requests response has a 2xx status code

func (*ListExternalJWTSignersTooManyRequests) String added in v0.26.53

type ListExternalJWTSignersUnauthorized

type ListExternalJWTSignersUnauthorized struct {

	/* Denotes different type of security token related information
	 */
	WWWAuthenticate []string

	Payload *rest_model.APIErrorEnvelope
}

ListExternalJWTSignersUnauthorized describes a response with status code 401, with default header values.

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

func NewListExternalJWTSignersUnauthorized

func NewListExternalJWTSignersUnauthorized() *ListExternalJWTSignersUnauthorized

NewListExternalJWTSignersUnauthorized creates a ListExternalJWTSignersUnauthorized with default headers values

func (*ListExternalJWTSignersUnauthorized) Code added in v0.26.53

Code gets the status code for the list external Jwt signers unauthorized response

func (*ListExternalJWTSignersUnauthorized) Error

func (*ListExternalJWTSignersUnauthorized) GetPayload

func (*ListExternalJWTSignersUnauthorized) IsClientError added in v0.26.53

func (o *ListExternalJWTSignersUnauthorized) IsClientError() bool

IsClientError returns true when this list external Jwt signers unauthorized response has a 4xx status code

func (*ListExternalJWTSignersUnauthorized) IsCode added in v0.26.53

IsCode returns true when this list external Jwt signers unauthorized response a status code equal to that given

func (*ListExternalJWTSignersUnauthorized) IsRedirect added in v0.26.53

func (o *ListExternalJWTSignersUnauthorized) IsRedirect() bool

IsRedirect returns true when this list external Jwt signers unauthorized response has a 3xx status code

func (*ListExternalJWTSignersUnauthorized) IsServerError added in v0.26.53

func (o *ListExternalJWTSignersUnauthorized) IsServerError() bool

IsServerError returns true when this list external Jwt signers unauthorized response has a 5xx status code

func (*ListExternalJWTSignersUnauthorized) IsSuccess added in v0.26.53

IsSuccess returns true when this list external Jwt signers unauthorized response has a 2xx status code

func (*ListExternalJWTSignersUnauthorized) String added in v0.26.53

Jump to

Keyboard shortcuts

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