token_controller

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 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 token controller API

func (*Client) GetAccessTokenUsingPOST

GetAccessTokenUsingPOST gets token

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAccessTokenUsingPOST(params *GetAccessTokenUsingPOSTParams) (*GetAccessTokenUsingPOSTOK, *GetAccessTokenUsingPOSTCreated, 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 token controller API client.

type GetAccessTokenUsingPOSTCreated

type GetAccessTokenUsingPOSTCreated struct {
}

GetAccessTokenUsingPOSTCreated handles this case with default header values.

Created

func NewGetAccessTokenUsingPOSTCreated

func NewGetAccessTokenUsingPOSTCreated() *GetAccessTokenUsingPOSTCreated

NewGetAccessTokenUsingPOSTCreated creates a GetAccessTokenUsingPOSTCreated with default headers values

func (*GetAccessTokenUsingPOSTCreated) Error

type GetAccessTokenUsingPOSTForbidden

type GetAccessTokenUsingPOSTForbidden struct {
}

GetAccessTokenUsingPOSTForbidden handles this case with default header values.

Forbidden

func NewGetAccessTokenUsingPOSTForbidden

func NewGetAccessTokenUsingPOSTForbidden() *GetAccessTokenUsingPOSTForbidden

NewGetAccessTokenUsingPOSTForbidden creates a GetAccessTokenUsingPOSTForbidden with default headers values

func (*GetAccessTokenUsingPOSTForbidden) Error

type GetAccessTokenUsingPOSTNotFound

type GetAccessTokenUsingPOSTNotFound struct {
}

GetAccessTokenUsingPOSTNotFound handles this case with default header values.

Not Found

func NewGetAccessTokenUsingPOSTNotFound

func NewGetAccessTokenUsingPOSTNotFound() *GetAccessTokenUsingPOSTNotFound

NewGetAccessTokenUsingPOSTNotFound creates a GetAccessTokenUsingPOSTNotFound with default headers values

func (*GetAccessTokenUsingPOSTNotFound) Error

type GetAccessTokenUsingPOSTOK

type GetAccessTokenUsingPOSTOK struct {
	Payload *models.ResponseWrapperGetAccessTokenResponse
}

GetAccessTokenUsingPOSTOK handles this case with default header values.

OK

func NewGetAccessTokenUsingPOSTOK

func NewGetAccessTokenUsingPOSTOK() *GetAccessTokenUsingPOSTOK

NewGetAccessTokenUsingPOSTOK creates a GetAccessTokenUsingPOSTOK with default headers values

func (*GetAccessTokenUsingPOSTOK) Error

func (o *GetAccessTokenUsingPOSTOK) Error() string

func (*GetAccessTokenUsingPOSTOK) GetPayload

type GetAccessTokenUsingPOSTParams

type GetAccessTokenUsingPOSTParams struct {

	/*Request
	  request

	*/
	Request *models.GetAccessTokenRequest

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

GetAccessTokenUsingPOSTParams contains all the parameters to send to the API endpoint for the get access token using p o s t operation typically these are written to a http.Request

func NewGetAccessTokenUsingPOSTParams

func NewGetAccessTokenUsingPOSTParams() *GetAccessTokenUsingPOSTParams

NewGetAccessTokenUsingPOSTParams creates a new GetAccessTokenUsingPOSTParams object with the default values initialized.

func NewGetAccessTokenUsingPOSTParamsWithContext

func NewGetAccessTokenUsingPOSTParamsWithContext(ctx context.Context) *GetAccessTokenUsingPOSTParams

NewGetAccessTokenUsingPOSTParamsWithContext creates a new GetAccessTokenUsingPOSTParams object with the default values initialized, and the ability to set a context for a request

func NewGetAccessTokenUsingPOSTParamsWithHTTPClient

func NewGetAccessTokenUsingPOSTParamsWithHTTPClient(client *http.Client) *GetAccessTokenUsingPOSTParams

NewGetAccessTokenUsingPOSTParamsWithHTTPClient creates a new GetAccessTokenUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAccessTokenUsingPOSTParamsWithTimeout

func NewGetAccessTokenUsingPOSTParamsWithTimeout(timeout time.Duration) *GetAccessTokenUsingPOSTParams

NewGetAccessTokenUsingPOSTParamsWithTimeout creates a new GetAccessTokenUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAccessTokenUsingPOSTParams) SetContext

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

SetContext adds the context to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) SetRequest

SetRequest adds the request to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) SetTimeout

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

SetTimeout adds the timeout to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) WithContext

WithContext adds the context to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) WithRequest

WithRequest adds the request to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the get access token using p o s t params

func (*GetAccessTokenUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccessTokenUsingPOSTReader

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

GetAccessTokenUsingPOSTReader is a Reader for the GetAccessTokenUsingPOST structure.

func (*GetAccessTokenUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccessTokenUsingPOSTUnauthorized

type GetAccessTokenUsingPOSTUnauthorized struct {
}

GetAccessTokenUsingPOSTUnauthorized handles this case with default header values.

Unauthorized

func NewGetAccessTokenUsingPOSTUnauthorized

func NewGetAccessTokenUsingPOSTUnauthorized() *GetAccessTokenUsingPOSTUnauthorized

NewGetAccessTokenUsingPOSTUnauthorized creates a GetAccessTokenUsingPOSTUnauthorized with default headers values

func (*GetAccessTokenUsingPOSTUnauthorized) Error

Jump to

Keyboard shortcuts

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