accessoidc

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 9 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 accessoidc API

func (*Client) OidcCallback

func (a *Client) OidcCallback(params *OidcCallbackParams, opts ...ClientOption) error

OidcCallback redirects callback URI for processing the result of the open Id connect login sequence

Note: This endpoint is subject to change as NiFi and it's REST API evolve.

func (*Client) OidcExchange

func (a *Client) OidcExchange(params *OidcExchangeParams, opts ...ClientOption) (*OidcExchangeOK, error)

OidcExchange retrieves a j w t following a successful login sequence using the configured open Id connect provider

Note: This endpoint is subject to change as NiFi and it's REST API evolve.

func (*Client) OidcLogout

func (a *Client) OidcLogout(params *OidcLogoutParams, opts ...ClientOption) error

OidcLogout performs a logout in the open Id provider

Note: This endpoint is subject to change as NiFi and it's REST API evolve.

func (*Client) OidcLogoutCallback

func (a *Client) OidcLogoutCallback(params *OidcLogoutCallbackParams, opts ...ClientOption) error

OidcLogoutCallback redirects callback URI for processing the result of the open Id connect logout sequence

Note: This endpoint is subject to change as NiFi and it's REST API evolve.

func (*Client) OidcRequest

func (a *Client) OidcRequest(params *OidcRequestParams, opts ...ClientOption) error

OidcRequest initiates a request to authenticate through the configured open Id connect provider

Note: This endpoint is subject to change as NiFi and it's REST API evolve.

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 is the option for Client methods

type ClientService

type ClientService interface {
	OidcCallback(params *OidcCallbackParams, opts ...ClientOption) error

	OidcExchange(params *OidcExchangeParams, opts ...ClientOption) (*OidcExchangeOK, error)

	OidcLogout(params *OidcLogoutParams, opts ...ClientOption) error

	OidcLogoutCallback(params *OidcLogoutCallbackParams, opts ...ClientOption) error

	OidcRequest(params *OidcRequestParams, opts ...ClientOption) 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 accessoidc API client.

type OidcCallbackDefault

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

OidcCallbackDefault describes a response with status code -1, with default header values.

successful operation

func NewOidcCallbackDefault

func NewOidcCallbackDefault(code int) *OidcCallbackDefault

NewOidcCallbackDefault creates a OidcCallbackDefault with default headers values

func (*OidcCallbackDefault) Code

func (o *OidcCallbackDefault) Code() int

Code gets the status code for the oidc callback default response

func (*OidcCallbackDefault) Error

func (o *OidcCallbackDefault) Error() string

func (*OidcCallbackDefault) IsClientError added in v1.19.1

func (o *OidcCallbackDefault) IsClientError() bool

IsClientError returns true when this oidc callback default response has a 4xx status code

func (*OidcCallbackDefault) IsCode added in v1.19.1

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

IsCode returns true when this oidc callback default response a status code equal to that given

func (*OidcCallbackDefault) IsRedirect added in v1.19.1

func (o *OidcCallbackDefault) IsRedirect() bool

IsRedirect returns true when this oidc callback default response has a 3xx status code

func (*OidcCallbackDefault) IsServerError added in v1.19.1

func (o *OidcCallbackDefault) IsServerError() bool

IsServerError returns true when this oidc callback default response has a 5xx status code

func (*OidcCallbackDefault) IsSuccess added in v1.19.1

func (o *OidcCallbackDefault) IsSuccess() bool

IsSuccess returns true when this oidc callback default response has a 2xx status code

func (*OidcCallbackDefault) String added in v1.19.1

func (o *OidcCallbackDefault) String() string

type OidcCallbackParams

type OidcCallbackParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OidcCallbackParams contains all the parameters to send to the API endpoint

for the oidc callback operation.

Typically these are written to a http.Request.

func NewOidcCallbackParams

func NewOidcCallbackParams() *OidcCallbackParams

NewOidcCallbackParams creates a new OidcCallbackParams 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 NewOidcCallbackParamsWithContext

func NewOidcCallbackParamsWithContext(ctx context.Context) *OidcCallbackParams

NewOidcCallbackParamsWithContext creates a new OidcCallbackParams object with the ability to set a context for a request.

func NewOidcCallbackParamsWithHTTPClient

func NewOidcCallbackParamsWithHTTPClient(client *http.Client) *OidcCallbackParams

NewOidcCallbackParamsWithHTTPClient creates a new OidcCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewOidcCallbackParamsWithTimeout

func NewOidcCallbackParamsWithTimeout(timeout time.Duration) *OidcCallbackParams

NewOidcCallbackParamsWithTimeout creates a new OidcCallbackParams object with the ability to set a timeout on a request.

func (*OidcCallbackParams) SetContext

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

SetContext adds the context to the oidc callback params

func (*OidcCallbackParams) SetDefaults

func (o *OidcCallbackParams) SetDefaults()

SetDefaults hydrates default values in the oidc callback params (not the query body).

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

func (*OidcCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the oidc callback params

func (*OidcCallbackParams) SetTimeout

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

SetTimeout adds the timeout to the oidc callback params

func (*OidcCallbackParams) WithContext

WithContext adds the context to the oidc callback params

func (*OidcCallbackParams) WithDefaults

func (o *OidcCallbackParams) WithDefaults() *OidcCallbackParams

WithDefaults hydrates default values in the oidc callback params (not the query body).

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

func (*OidcCallbackParams) WithHTTPClient

func (o *OidcCallbackParams) WithHTTPClient(client *http.Client) *OidcCallbackParams

WithHTTPClient adds the HTTPClient to the oidc callback params

func (*OidcCallbackParams) WithTimeout

func (o *OidcCallbackParams) WithTimeout(timeout time.Duration) *OidcCallbackParams

WithTimeout adds the timeout to the oidc callback params

func (*OidcCallbackParams) WriteToRequest

func (o *OidcCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OidcCallbackReader

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

OidcCallbackReader is a Reader for the OidcCallback structure.

func (*OidcCallbackReader) ReadResponse

func (o *OidcCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OidcExchangeOK

type OidcExchangeOK struct {
	Payload string
}

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

successful operation

func NewOidcExchangeOK

func NewOidcExchangeOK() *OidcExchangeOK

NewOidcExchangeOK creates a OidcExchangeOK with default headers values

func (*OidcExchangeOK) Error

func (o *OidcExchangeOK) Error() string

func (*OidcExchangeOK) GetPayload

func (o *OidcExchangeOK) GetPayload() string

func (*OidcExchangeOK) IsClientError added in v1.19.1

func (o *OidcExchangeOK) IsClientError() bool

IsClientError returns true when this oidc exchange o k response has a 4xx status code

func (*OidcExchangeOK) IsCode added in v1.19.1

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

IsCode returns true when this oidc exchange o k response a status code equal to that given

func (*OidcExchangeOK) IsRedirect added in v1.19.1

func (o *OidcExchangeOK) IsRedirect() bool

IsRedirect returns true when this oidc exchange o k response has a 3xx status code

func (*OidcExchangeOK) IsServerError added in v1.19.1

func (o *OidcExchangeOK) IsServerError() bool

IsServerError returns true when this oidc exchange o k response has a 5xx status code

func (*OidcExchangeOK) IsSuccess added in v1.19.1

func (o *OidcExchangeOK) IsSuccess() bool

IsSuccess returns true when this oidc exchange o k response has a 2xx status code

func (*OidcExchangeOK) String added in v1.19.1

func (o *OidcExchangeOK) String() string

type OidcExchangeParams

type OidcExchangeParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OidcExchangeParams contains all the parameters to send to the API endpoint

for the oidc exchange operation.

Typically these are written to a http.Request.

func NewOidcExchangeParams

func NewOidcExchangeParams() *OidcExchangeParams

NewOidcExchangeParams creates a new OidcExchangeParams 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 NewOidcExchangeParamsWithContext

func NewOidcExchangeParamsWithContext(ctx context.Context) *OidcExchangeParams

NewOidcExchangeParamsWithContext creates a new OidcExchangeParams object with the ability to set a context for a request.

func NewOidcExchangeParamsWithHTTPClient

func NewOidcExchangeParamsWithHTTPClient(client *http.Client) *OidcExchangeParams

NewOidcExchangeParamsWithHTTPClient creates a new OidcExchangeParams object with the ability to set a custom HTTPClient for a request.

func NewOidcExchangeParamsWithTimeout

func NewOidcExchangeParamsWithTimeout(timeout time.Duration) *OidcExchangeParams

NewOidcExchangeParamsWithTimeout creates a new OidcExchangeParams object with the ability to set a timeout on a request.

func (*OidcExchangeParams) SetContext

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

SetContext adds the context to the oidc exchange params

func (*OidcExchangeParams) SetDefaults

func (o *OidcExchangeParams) SetDefaults()

SetDefaults hydrates default values in the oidc exchange params (not the query body).

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

func (*OidcExchangeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the oidc exchange params

func (*OidcExchangeParams) SetTimeout

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

SetTimeout adds the timeout to the oidc exchange params

func (*OidcExchangeParams) WithContext

WithContext adds the context to the oidc exchange params

func (*OidcExchangeParams) WithDefaults

func (o *OidcExchangeParams) WithDefaults() *OidcExchangeParams

WithDefaults hydrates default values in the oidc exchange params (not the query body).

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

func (*OidcExchangeParams) WithHTTPClient

func (o *OidcExchangeParams) WithHTTPClient(client *http.Client) *OidcExchangeParams

WithHTTPClient adds the HTTPClient to the oidc exchange params

func (*OidcExchangeParams) WithTimeout

func (o *OidcExchangeParams) WithTimeout(timeout time.Duration) *OidcExchangeParams

WithTimeout adds the timeout to the oidc exchange params

func (*OidcExchangeParams) WriteToRequest

func (o *OidcExchangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OidcExchangeReader

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

OidcExchangeReader is a Reader for the OidcExchange structure.

func (*OidcExchangeReader) ReadResponse

func (o *OidcExchangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OidcLogoutCallbackDefault

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

OidcLogoutCallbackDefault describes a response with status code -1, with default header values.

successful operation

func NewOidcLogoutCallbackDefault

func NewOidcLogoutCallbackDefault(code int) *OidcLogoutCallbackDefault

NewOidcLogoutCallbackDefault creates a OidcLogoutCallbackDefault with default headers values

func (*OidcLogoutCallbackDefault) Code

func (o *OidcLogoutCallbackDefault) Code() int

Code gets the status code for the oidc logout callback default response

func (*OidcLogoutCallbackDefault) Error

func (o *OidcLogoutCallbackDefault) Error() string

func (*OidcLogoutCallbackDefault) IsClientError added in v1.19.1

func (o *OidcLogoutCallbackDefault) IsClientError() bool

IsClientError returns true when this oidc logout callback default response has a 4xx status code

func (*OidcLogoutCallbackDefault) IsCode added in v1.19.1

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

IsCode returns true when this oidc logout callback default response a status code equal to that given

func (*OidcLogoutCallbackDefault) IsRedirect added in v1.19.1

func (o *OidcLogoutCallbackDefault) IsRedirect() bool

IsRedirect returns true when this oidc logout callback default response has a 3xx status code

func (*OidcLogoutCallbackDefault) IsServerError added in v1.19.1

func (o *OidcLogoutCallbackDefault) IsServerError() bool

IsServerError returns true when this oidc logout callback default response has a 5xx status code

func (*OidcLogoutCallbackDefault) IsSuccess added in v1.19.1

func (o *OidcLogoutCallbackDefault) IsSuccess() bool

IsSuccess returns true when this oidc logout callback default response has a 2xx status code

func (*OidcLogoutCallbackDefault) String added in v1.19.1

func (o *OidcLogoutCallbackDefault) String() string

type OidcLogoutCallbackParams

type OidcLogoutCallbackParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OidcLogoutCallbackParams contains all the parameters to send to the API endpoint

for the oidc logout callback operation.

Typically these are written to a http.Request.

func NewOidcLogoutCallbackParams

func NewOidcLogoutCallbackParams() *OidcLogoutCallbackParams

NewOidcLogoutCallbackParams creates a new OidcLogoutCallbackParams 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 NewOidcLogoutCallbackParamsWithContext

func NewOidcLogoutCallbackParamsWithContext(ctx context.Context) *OidcLogoutCallbackParams

NewOidcLogoutCallbackParamsWithContext creates a new OidcLogoutCallbackParams object with the ability to set a context for a request.

func NewOidcLogoutCallbackParamsWithHTTPClient

func NewOidcLogoutCallbackParamsWithHTTPClient(client *http.Client) *OidcLogoutCallbackParams

NewOidcLogoutCallbackParamsWithHTTPClient creates a new OidcLogoutCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewOidcLogoutCallbackParamsWithTimeout

func NewOidcLogoutCallbackParamsWithTimeout(timeout time.Duration) *OidcLogoutCallbackParams

NewOidcLogoutCallbackParamsWithTimeout creates a new OidcLogoutCallbackParams object with the ability to set a timeout on a request.

func (*OidcLogoutCallbackParams) SetContext

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

SetContext adds the context to the oidc logout callback params

func (*OidcLogoutCallbackParams) SetDefaults

func (o *OidcLogoutCallbackParams) SetDefaults()

SetDefaults hydrates default values in the oidc logout callback params (not the query body).

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

func (*OidcLogoutCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the oidc logout callback params

func (*OidcLogoutCallbackParams) SetTimeout

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

SetTimeout adds the timeout to the oidc logout callback params

func (*OidcLogoutCallbackParams) WithContext

WithContext adds the context to the oidc logout callback params

func (*OidcLogoutCallbackParams) WithDefaults

WithDefaults hydrates default values in the oidc logout callback params (not the query body).

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

func (*OidcLogoutCallbackParams) WithHTTPClient

func (o *OidcLogoutCallbackParams) WithHTTPClient(client *http.Client) *OidcLogoutCallbackParams

WithHTTPClient adds the HTTPClient to the oidc logout callback params

func (*OidcLogoutCallbackParams) WithTimeout

WithTimeout adds the timeout to the oidc logout callback params

func (*OidcLogoutCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OidcLogoutCallbackReader

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

OidcLogoutCallbackReader is a Reader for the OidcLogoutCallback structure.

func (*OidcLogoutCallbackReader) ReadResponse

func (o *OidcLogoutCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OidcLogoutDefault

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

OidcLogoutDefault describes a response with status code -1, with default header values.

successful operation

func NewOidcLogoutDefault

func NewOidcLogoutDefault(code int) *OidcLogoutDefault

NewOidcLogoutDefault creates a OidcLogoutDefault with default headers values

func (*OidcLogoutDefault) Code

func (o *OidcLogoutDefault) Code() int

Code gets the status code for the oidc logout default response

func (*OidcLogoutDefault) Error

func (o *OidcLogoutDefault) Error() string

func (*OidcLogoutDefault) IsClientError added in v1.19.1

func (o *OidcLogoutDefault) IsClientError() bool

IsClientError returns true when this oidc logout default response has a 4xx status code

func (*OidcLogoutDefault) IsCode added in v1.19.1

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

IsCode returns true when this oidc logout default response a status code equal to that given

func (*OidcLogoutDefault) IsRedirect added in v1.19.1

func (o *OidcLogoutDefault) IsRedirect() bool

IsRedirect returns true when this oidc logout default response has a 3xx status code

func (*OidcLogoutDefault) IsServerError added in v1.19.1

func (o *OidcLogoutDefault) IsServerError() bool

IsServerError returns true when this oidc logout default response has a 5xx status code

func (*OidcLogoutDefault) IsSuccess added in v1.19.1

func (o *OidcLogoutDefault) IsSuccess() bool

IsSuccess returns true when this oidc logout default response has a 2xx status code

func (*OidcLogoutDefault) String added in v1.19.1

func (o *OidcLogoutDefault) String() string

type OidcLogoutParams

type OidcLogoutParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OidcLogoutParams contains all the parameters to send to the API endpoint

for the oidc logout operation.

Typically these are written to a http.Request.

func NewOidcLogoutParams

func NewOidcLogoutParams() *OidcLogoutParams

NewOidcLogoutParams creates a new OidcLogoutParams 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 NewOidcLogoutParamsWithContext

func NewOidcLogoutParamsWithContext(ctx context.Context) *OidcLogoutParams

NewOidcLogoutParamsWithContext creates a new OidcLogoutParams object with the ability to set a context for a request.

func NewOidcLogoutParamsWithHTTPClient

func NewOidcLogoutParamsWithHTTPClient(client *http.Client) *OidcLogoutParams

NewOidcLogoutParamsWithHTTPClient creates a new OidcLogoutParams object with the ability to set a custom HTTPClient for a request.

func NewOidcLogoutParamsWithTimeout

func NewOidcLogoutParamsWithTimeout(timeout time.Duration) *OidcLogoutParams

NewOidcLogoutParamsWithTimeout creates a new OidcLogoutParams object with the ability to set a timeout on a request.

func (*OidcLogoutParams) SetContext

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

SetContext adds the context to the oidc logout params

func (*OidcLogoutParams) SetDefaults

func (o *OidcLogoutParams) SetDefaults()

SetDefaults hydrates default values in the oidc logout params (not the query body).

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

func (*OidcLogoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the oidc logout params

func (*OidcLogoutParams) SetTimeout

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

SetTimeout adds the timeout to the oidc logout params

func (*OidcLogoutParams) WithContext

func (o *OidcLogoutParams) WithContext(ctx context.Context) *OidcLogoutParams

WithContext adds the context to the oidc logout params

func (*OidcLogoutParams) WithDefaults

func (o *OidcLogoutParams) WithDefaults() *OidcLogoutParams

WithDefaults hydrates default values in the oidc logout params (not the query body).

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

func (*OidcLogoutParams) WithHTTPClient

func (o *OidcLogoutParams) WithHTTPClient(client *http.Client) *OidcLogoutParams

WithHTTPClient adds the HTTPClient to the oidc logout params

func (*OidcLogoutParams) WithTimeout

func (o *OidcLogoutParams) WithTimeout(timeout time.Duration) *OidcLogoutParams

WithTimeout adds the timeout to the oidc logout params

func (*OidcLogoutParams) WriteToRequest

func (o *OidcLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OidcLogoutReader

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

OidcLogoutReader is a Reader for the OidcLogout structure.

func (*OidcLogoutReader) ReadResponse

func (o *OidcLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OidcRequestDefault

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

OidcRequestDefault describes a response with status code -1, with default header values.

successful operation

func NewOidcRequestDefault

func NewOidcRequestDefault(code int) *OidcRequestDefault

NewOidcRequestDefault creates a OidcRequestDefault with default headers values

func (*OidcRequestDefault) Code

func (o *OidcRequestDefault) Code() int

Code gets the status code for the oidc request default response

func (*OidcRequestDefault) Error

func (o *OidcRequestDefault) Error() string

func (*OidcRequestDefault) IsClientError added in v1.19.1

func (o *OidcRequestDefault) IsClientError() bool

IsClientError returns true when this oidc request default response has a 4xx status code

func (*OidcRequestDefault) IsCode added in v1.19.1

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

IsCode returns true when this oidc request default response a status code equal to that given

func (*OidcRequestDefault) IsRedirect added in v1.19.1

func (o *OidcRequestDefault) IsRedirect() bool

IsRedirect returns true when this oidc request default response has a 3xx status code

func (*OidcRequestDefault) IsServerError added in v1.19.1

func (o *OidcRequestDefault) IsServerError() bool

IsServerError returns true when this oidc request default response has a 5xx status code

func (*OidcRequestDefault) IsSuccess added in v1.19.1

func (o *OidcRequestDefault) IsSuccess() bool

IsSuccess returns true when this oidc request default response has a 2xx status code

func (*OidcRequestDefault) String added in v1.19.1

func (o *OidcRequestDefault) String() string

type OidcRequestParams

type OidcRequestParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OidcRequestParams contains all the parameters to send to the API endpoint

for the oidc request operation.

Typically these are written to a http.Request.

func NewOidcRequestParams

func NewOidcRequestParams() *OidcRequestParams

NewOidcRequestParams creates a new OidcRequestParams 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 NewOidcRequestParamsWithContext

func NewOidcRequestParamsWithContext(ctx context.Context) *OidcRequestParams

NewOidcRequestParamsWithContext creates a new OidcRequestParams object with the ability to set a context for a request.

func NewOidcRequestParamsWithHTTPClient

func NewOidcRequestParamsWithHTTPClient(client *http.Client) *OidcRequestParams

NewOidcRequestParamsWithHTTPClient creates a new OidcRequestParams object with the ability to set a custom HTTPClient for a request.

func NewOidcRequestParamsWithTimeout

func NewOidcRequestParamsWithTimeout(timeout time.Duration) *OidcRequestParams

NewOidcRequestParamsWithTimeout creates a new OidcRequestParams object with the ability to set a timeout on a request.

func (*OidcRequestParams) SetContext

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

SetContext adds the context to the oidc request params

func (*OidcRequestParams) SetDefaults

func (o *OidcRequestParams) SetDefaults()

SetDefaults hydrates default values in the oidc request params (not the query body).

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

func (*OidcRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the oidc request params

func (*OidcRequestParams) SetTimeout

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

SetTimeout adds the timeout to the oidc request params

func (*OidcRequestParams) WithContext

func (o *OidcRequestParams) WithContext(ctx context.Context) *OidcRequestParams

WithContext adds the context to the oidc request params

func (*OidcRequestParams) WithDefaults

func (o *OidcRequestParams) WithDefaults() *OidcRequestParams

WithDefaults hydrates default values in the oidc request params (not the query body).

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

func (*OidcRequestParams) WithHTTPClient

func (o *OidcRequestParams) WithHTTPClient(client *http.Client) *OidcRequestParams

WithHTTPClient adds the HTTPClient to the oidc request params

func (*OidcRequestParams) WithTimeout

func (o *OidcRequestParams) WithTimeout(timeout time.Duration) *OidcRequestParams

WithTimeout adds the timeout to the oidc request params

func (*OidcRequestParams) WriteToRequest

func (o *OidcRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OidcRequestReader

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

OidcRequestReader is a Reader for the OidcRequest structure.

func (*OidcRequestReader) ReadResponse

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