nutzer

package
v0.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT 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 nutzer API

func (*Client) GetLoginInfo

func (a *Client) GetLoginInfo(params *GetLoginInfoParams, opts ...ClientOption) (*GetLoginInfoOK, error)

GetLoginInfo get login info API

func (*Client) GetSessionInformation

func (a *Client) GetSessionInformation(params *GetSessionInformationParams, opts ...ClientOption) (*GetSessionInformationOK, error)

GetSessionInformation get session information API

func (*Client) Login

func (a *Client) Login(params *LoginParams, opts ...ClientOption) error

Login login API

func (*Client) Logout

func (a *Client) Logout(params *LogoutParams, opts ...ClientOption) error

Logout logout API

func (*Client) RefreshToken

func (a *Client) RefreshToken(params *RefreshTokenParams, opts ...ClientOption) error

RefreshToken refresh token API

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 {
	GetLoginInfo(params *GetLoginInfoParams, opts ...ClientOption) (*GetLoginInfoOK, error)

	GetSessionInformation(params *GetSessionInformationParams, opts ...ClientOption) (*GetSessionInformationOK, error)

	Login(params *LoginParams, opts ...ClientOption) error

	Logout(params *LogoutParams, opts ...ClientOption) error

	RefreshToken(params *RefreshTokenParams, 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 nutzer API client.

type GetLoginInfoOK

type GetLoginInfoOK struct {
	Payload *models.LoginData
}

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

successful operation

func NewGetLoginInfoOK

func NewGetLoginInfoOK() *GetLoginInfoOK

NewGetLoginInfoOK creates a GetLoginInfoOK with default headers values

func (*GetLoginInfoOK) Code

func (o *GetLoginInfoOK) Code() int

Code gets the status code for the get login info o k response

func (*GetLoginInfoOK) Error

func (o *GetLoginInfoOK) Error() string

func (*GetLoginInfoOK) GetPayload

func (o *GetLoginInfoOK) GetPayload() *models.LoginData

func (*GetLoginInfoOK) IsClientError

func (o *GetLoginInfoOK) IsClientError() bool

IsClientError returns true when this get login info o k response has a 4xx status code

func (*GetLoginInfoOK) IsCode

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

IsCode returns true when this get login info o k response a status code equal to that given

func (*GetLoginInfoOK) IsRedirect

func (o *GetLoginInfoOK) IsRedirect() bool

IsRedirect returns true when this get login info o k response has a 3xx status code

func (*GetLoginInfoOK) IsServerError

func (o *GetLoginInfoOK) IsServerError() bool

IsServerError returns true when this get login info o k response has a 5xx status code

func (*GetLoginInfoOK) IsSuccess

func (o *GetLoginInfoOK) IsSuccess() bool

IsSuccess returns true when this get login info o k response has a 2xx status code

func (*GetLoginInfoOK) String

func (o *GetLoginInfoOK) String() string

type GetLoginInfoParams

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

GetLoginInfoParams contains all the parameters to send to the API endpoint

for the get login info operation.

Typically these are written to a http.Request.

func NewGetLoginInfoParams

func NewGetLoginInfoParams() *GetLoginInfoParams

NewGetLoginInfoParams creates a new GetLoginInfoParams 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 NewGetLoginInfoParamsWithContext

func NewGetLoginInfoParamsWithContext(ctx context.Context) *GetLoginInfoParams

NewGetLoginInfoParamsWithContext creates a new GetLoginInfoParams object with the ability to set a context for a request.

func NewGetLoginInfoParamsWithHTTPClient

func NewGetLoginInfoParamsWithHTTPClient(client *http.Client) *GetLoginInfoParams

NewGetLoginInfoParamsWithHTTPClient creates a new GetLoginInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoginInfoParamsWithTimeout

func NewGetLoginInfoParamsWithTimeout(timeout time.Duration) *GetLoginInfoParams

NewGetLoginInfoParamsWithTimeout creates a new GetLoginInfoParams object with the ability to set a timeout on a request.

func (*GetLoginInfoParams) SetContext

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

SetContext adds the context to the get login info params

func (*GetLoginInfoParams) SetDefaults

func (o *GetLoginInfoParams) SetDefaults()

SetDefaults hydrates default values in the get login info params (not the query body).

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

func (*GetLoginInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get login info params

func (*GetLoginInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get login info params

func (*GetLoginInfoParams) WithContext

WithContext adds the context to the get login info params

func (*GetLoginInfoParams) WithDefaults

func (o *GetLoginInfoParams) WithDefaults() *GetLoginInfoParams

WithDefaults hydrates default values in the get login info params (not the query body).

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

func (*GetLoginInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get login info params

func (*GetLoginInfoParams) WithTimeout

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

WithTimeout adds the timeout to the get login info params

func (*GetLoginInfoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLoginInfoReader

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

GetLoginInfoReader is a Reader for the GetLoginInfo structure.

func (*GetLoginInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSessionInformationOK

type GetSessionInformationOK struct {
	Payload *models.LoginData
}

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

successful operation

func NewGetSessionInformationOK

func NewGetSessionInformationOK() *GetSessionInformationOK

NewGetSessionInformationOK creates a GetSessionInformationOK with default headers values

func (*GetSessionInformationOK) Code

func (o *GetSessionInformationOK) Code() int

Code gets the status code for the get session information o k response

func (*GetSessionInformationOK) Error

func (o *GetSessionInformationOK) Error() string

func (*GetSessionInformationOK) GetPayload

func (o *GetSessionInformationOK) GetPayload() *models.LoginData

func (*GetSessionInformationOK) IsClientError

func (o *GetSessionInformationOK) IsClientError() bool

IsClientError returns true when this get session information o k response has a 4xx status code

func (*GetSessionInformationOK) IsCode

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

IsCode returns true when this get session information o k response a status code equal to that given

func (*GetSessionInformationOK) IsRedirect

func (o *GetSessionInformationOK) IsRedirect() bool

IsRedirect returns true when this get session information o k response has a 3xx status code

func (*GetSessionInformationOK) IsServerError

func (o *GetSessionInformationOK) IsServerError() bool

IsServerError returns true when this get session information o k response has a 5xx status code

func (*GetSessionInformationOK) IsSuccess

func (o *GetSessionInformationOK) IsSuccess() bool

IsSuccess returns true when this get session information o k response has a 2xx status code

func (*GetSessionInformationOK) String

func (o *GetSessionInformationOK) String() string

type GetSessionInformationParams

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

GetSessionInformationParams contains all the parameters to send to the API endpoint

for the get session information operation.

Typically these are written to a http.Request.

func NewGetSessionInformationParams

func NewGetSessionInformationParams() *GetSessionInformationParams

NewGetSessionInformationParams creates a new GetSessionInformationParams 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 NewGetSessionInformationParamsWithContext

func NewGetSessionInformationParamsWithContext(ctx context.Context) *GetSessionInformationParams

NewGetSessionInformationParamsWithContext creates a new GetSessionInformationParams object with the ability to set a context for a request.

func NewGetSessionInformationParamsWithHTTPClient

func NewGetSessionInformationParamsWithHTTPClient(client *http.Client) *GetSessionInformationParams

NewGetSessionInformationParamsWithHTTPClient creates a new GetSessionInformationParams object with the ability to set a custom HTTPClient for a request.

func NewGetSessionInformationParamsWithTimeout

func NewGetSessionInformationParamsWithTimeout(timeout time.Duration) *GetSessionInformationParams

NewGetSessionInformationParamsWithTimeout creates a new GetSessionInformationParams object with the ability to set a timeout on a request.

func (*GetSessionInformationParams) SetContext

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

SetContext adds the context to the get session information params

func (*GetSessionInformationParams) SetDefaults

func (o *GetSessionInformationParams) SetDefaults()

SetDefaults hydrates default values in the get session information params (not the query body).

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

func (*GetSessionInformationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get session information params

func (*GetSessionInformationParams) SetTimeout

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

SetTimeout adds the timeout to the get session information params

func (*GetSessionInformationParams) WithContext

WithContext adds the context to the get session information params

func (*GetSessionInformationParams) WithDefaults

WithDefaults hydrates default values in the get session information params (not the query body).

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

func (*GetSessionInformationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get session information params

func (*GetSessionInformationParams) WithTimeout

WithTimeout adds the timeout to the get session information params

func (*GetSessionInformationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSessionInformationReader

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

GetSessionInformationReader is a Reader for the GetSessionInformation structure.

func (*GetSessionInformationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginDefault

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

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

successful operation

func NewLoginDefault

func NewLoginDefault(code int) *LoginDefault

NewLoginDefault creates a LoginDefault with default headers values

func (*LoginDefault) Code

func (o *LoginDefault) Code() int

Code gets the status code for the login default response

func (*LoginDefault) Error

func (o *LoginDefault) Error() string

func (*LoginDefault) IsClientError

func (o *LoginDefault) IsClientError() bool

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

func (*LoginDefault) IsCode

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

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

func (*LoginDefault) IsRedirect

func (o *LoginDefault) IsRedirect() bool

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

func (*LoginDefault) IsServerError

func (o *LoginDefault) IsServerError() bool

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

func (*LoginDefault) IsSuccess

func (o *LoginDefault) IsSuccess() bool

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

func (*LoginDefault) String

func (o *LoginDefault) String() string

type LoginParams

type LoginParams struct {

	// Body.
	Body *models.Credendials

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

LoginParams contains all the parameters to send to the API endpoint

for the login operation.

Typically these are written to a http.Request.

func NewLoginParams

func NewLoginParams() *LoginParams

NewLoginParams creates a new LoginParams 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 NewLoginParamsWithContext

func NewLoginParamsWithContext(ctx context.Context) *LoginParams

NewLoginParamsWithContext creates a new LoginParams object with the ability to set a context for a request.

func NewLoginParamsWithHTTPClient

func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams

NewLoginParamsWithHTTPClient creates a new LoginParams object with the ability to set a custom HTTPClient for a request.

func NewLoginParamsWithTimeout

func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams

NewLoginParamsWithTimeout creates a new LoginParams object with the ability to set a timeout on a request.

func (*LoginParams) SetBody

func (o *LoginParams) SetBody(body *models.Credendials)

SetBody adds the body to the login params

func (*LoginParams) SetContext

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

SetContext adds the context to the login params

func (*LoginParams) SetDefaults

func (o *LoginParams) SetDefaults()

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

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

func (*LoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the login params

func (*LoginParams) SetTimeout

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

SetTimeout adds the timeout to the login params

func (*LoginParams) WithBody

func (o *LoginParams) WithBody(body *models.Credendials) *LoginParams

WithBody adds the body to the login params

func (*LoginParams) WithContext

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

WithContext adds the context to the login params

func (*LoginParams) WithDefaults

func (o *LoginParams) WithDefaults() *LoginParams

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

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

func (*LoginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the login params

func (*LoginParams) WithTimeout

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

WithTimeout adds the timeout to the login params

func (*LoginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoginReader

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

LoginReader is a Reader for the Login structure.

func (*LoginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LogoutDefault

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

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

successful operation

func NewLogoutDefault

func NewLogoutDefault(code int) *LogoutDefault

NewLogoutDefault creates a LogoutDefault with default headers values

func (*LogoutDefault) Code

func (o *LogoutDefault) Code() int

Code gets the status code for the logout default response

func (*LogoutDefault) Error

func (o *LogoutDefault) Error() string

func (*LogoutDefault) IsClientError

func (o *LogoutDefault) IsClientError() bool

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

func (*LogoutDefault) IsCode

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

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

func (*LogoutDefault) IsRedirect

func (o *LogoutDefault) IsRedirect() bool

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

func (*LogoutDefault) IsServerError

func (o *LogoutDefault) IsServerError() bool

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

func (*LogoutDefault) IsSuccess

func (o *LogoutDefault) IsSuccess() bool

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

func (*LogoutDefault) String

func (o *LogoutDefault) String() string

type LogoutParams

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

LogoutParams contains all the parameters to send to the API endpoint

for the logout operation.

Typically these are written to a http.Request.

func NewLogoutParams

func NewLogoutParams() *LogoutParams

NewLogoutParams creates a new LogoutParams 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 NewLogoutParamsWithContext

func NewLogoutParamsWithContext(ctx context.Context) *LogoutParams

NewLogoutParamsWithContext creates a new LogoutParams object with the ability to set a context for a request.

func NewLogoutParamsWithHTTPClient

func NewLogoutParamsWithHTTPClient(client *http.Client) *LogoutParams

NewLogoutParamsWithHTTPClient creates a new LogoutParams object with the ability to set a custom HTTPClient for a request.

func NewLogoutParamsWithTimeout

func NewLogoutParamsWithTimeout(timeout time.Duration) *LogoutParams

NewLogoutParamsWithTimeout creates a new LogoutParams object with the ability to set a timeout on a request.

func (*LogoutParams) SetContext

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

SetContext adds the context to the logout params

func (*LogoutParams) SetDefaults

func (o *LogoutParams) SetDefaults()

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

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

func (*LogoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the logout params

func (*LogoutParams) SetTimeout

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

SetTimeout adds the timeout to the logout params

func (*LogoutParams) WithContext

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

WithContext adds the context to the logout params

func (*LogoutParams) WithDefaults

func (o *LogoutParams) WithDefaults() *LogoutParams

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

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

func (*LogoutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the logout params

func (*LogoutParams) WithTimeout

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

WithTimeout adds the timeout to the logout params

func (*LogoutParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LogoutReader

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

LogoutReader is a Reader for the Logout structure.

func (*LogoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshTokenDefault

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

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

successful operation

func NewRefreshTokenDefault

func NewRefreshTokenDefault(code int) *RefreshTokenDefault

NewRefreshTokenDefault creates a RefreshTokenDefault with default headers values

func (*RefreshTokenDefault) Code

func (o *RefreshTokenDefault) Code() int

Code gets the status code for the refresh token default response

func (*RefreshTokenDefault) Error

func (o *RefreshTokenDefault) Error() string

func (*RefreshTokenDefault) IsClientError

func (o *RefreshTokenDefault) IsClientError() bool

IsClientError returns true when this refresh token default response has a 4xx status code

func (*RefreshTokenDefault) IsCode

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

IsCode returns true when this refresh token default response a status code equal to that given

func (*RefreshTokenDefault) IsRedirect

func (o *RefreshTokenDefault) IsRedirect() bool

IsRedirect returns true when this refresh token default response has a 3xx status code

func (*RefreshTokenDefault) IsServerError

func (o *RefreshTokenDefault) IsServerError() bool

IsServerError returns true when this refresh token default response has a 5xx status code

func (*RefreshTokenDefault) IsSuccess

func (o *RefreshTokenDefault) IsSuccess() bool

IsSuccess returns true when this refresh token default response has a 2xx status code

func (*RefreshTokenDefault) String

func (o *RefreshTokenDefault) String() string

type RefreshTokenParams

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

RefreshTokenParams contains all the parameters to send to the API endpoint

for the refresh token operation.

Typically these are written to a http.Request.

func NewRefreshTokenParams

func NewRefreshTokenParams() *RefreshTokenParams

NewRefreshTokenParams creates a new RefreshTokenParams 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 NewRefreshTokenParamsWithContext

func NewRefreshTokenParamsWithContext(ctx context.Context) *RefreshTokenParams

NewRefreshTokenParamsWithContext creates a new RefreshTokenParams object with the ability to set a context for a request.

func NewRefreshTokenParamsWithHTTPClient

func NewRefreshTokenParamsWithHTTPClient(client *http.Client) *RefreshTokenParams

NewRefreshTokenParamsWithHTTPClient creates a new RefreshTokenParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshTokenParamsWithTimeout

func NewRefreshTokenParamsWithTimeout(timeout time.Duration) *RefreshTokenParams

NewRefreshTokenParamsWithTimeout creates a new RefreshTokenParams object with the ability to set a timeout on a request.

func (*RefreshTokenParams) SetContext

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

SetContext adds the context to the refresh token params

func (*RefreshTokenParams) SetDefaults

func (o *RefreshTokenParams) SetDefaults()

SetDefaults hydrates default values in the refresh token params (not the query body).

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

func (*RefreshTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh token params

func (*RefreshTokenParams) SetTimeout

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

SetTimeout adds the timeout to the refresh token params

func (*RefreshTokenParams) WithContext

WithContext adds the context to the refresh token params

func (*RefreshTokenParams) WithDefaults

func (o *RefreshTokenParams) WithDefaults() *RefreshTokenParams

WithDefaults hydrates default values in the refresh token params (not the query body).

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

func (*RefreshTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the refresh token params

func (*RefreshTokenParams) WithTimeout

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

WithTimeout adds the timeout to the refresh token params

func (*RefreshTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RefreshTokenReader

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

RefreshTokenReader is a Reader for the RefreshToken structure.

func (*RefreshTokenReader) ReadResponse

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