package
0.0.0-20241018223127-a062be16fda2
Repository: https://github.com/activestate/cli.git
Documentation: pkg.go.dev

# Functions

New creates a new oauth API client.
NewAuthDeviceGetBadRequest creates a AuthDeviceGetBadRequest with default headers values.
NewAuthDeviceGetInternalServerError creates a AuthDeviceGetInternalServerError with default headers values.
NewAuthDeviceGetOK creates a AuthDeviceGetOK with default headers values.
NewAuthDeviceGetParams creates a new AuthDeviceGetParams object, with the default timeout for this client.
NewAuthDeviceGetParamsWithContext creates a new AuthDeviceGetParams object with the ability to set a context for a request.
NewAuthDeviceGetParamsWithHTTPClient creates a new AuthDeviceGetParams object with the ability to set a custom HTTPClient for a request.
NewAuthDeviceGetParamsWithTimeout creates a new AuthDeviceGetParams object with the ability to set a timeout on a request.
NewAuthDevicePostInternalServerError creates a AuthDevicePostInternalServerError with default headers values.
NewAuthDevicePostOK creates a AuthDevicePostOK with default headers values.
NewAuthDevicePostParams creates a new AuthDevicePostParams object, with the default timeout for this client.
NewAuthDevicePostParamsWithContext creates a new AuthDevicePostParams object with the ability to set a context for a request.
NewAuthDevicePostParamsWithHTTPClient creates a new AuthDevicePostParams object with the ability to set a custom HTTPClient for a request.
NewAuthDevicePostParamsWithTimeout creates a new AuthDevicePostParams object with the ability to set a timeout on a request.
NewAuthDevicePutBadRequest creates a AuthDevicePutBadRequest with default headers values.
NewAuthDevicePutInternalServerError creates a AuthDevicePutInternalServerError with default headers values.
NewAuthDevicePutOK creates a AuthDevicePutOK with default headers values.
NewAuthDevicePutParams creates a new AuthDevicePutParams object, with the default timeout for this client.
NewAuthDevicePutParamsWithContext creates a new AuthDevicePutParams object with the ability to set a context for a request.
NewAuthDevicePutParamsWithHTTPClient creates a new AuthDevicePutParams object with the ability to set a custom HTTPClient for a request.
NewAuthDevicePutParamsWithTimeout creates a new AuthDevicePutParams object with the ability to set a timeout on a request.
NewAuthDevicePutUnauthorized creates a AuthDevicePutUnauthorized with default headers values.

# Constants

AuthDeviceGetBadRequestBodyErrorAuthorizationPending captures enum value "authorization_pending".
AuthDeviceGetBadRequestBodyErrorExpiredToken captures enum value "expired_token".
AuthDeviceGetBadRequestBodyErrorInvalidClient captures enum value "invalid_client".
AuthDeviceGetBadRequestBodyErrorSlowDown captures enum value "slow_down".

# Structs

AuthDeviceGetBadRequest describes a response with status code 400, with default header values.
AuthDeviceGetBadRequestBody auth device get bad request body swagger:model AuthDeviceGetBadRequestBody */.
AuthDeviceGetInternalServerError describes a response with status code 500, with default header values.
AuthDeviceGetOK describes a response with status code 200, with default header values.
AuthDeviceGetParams contains all the parameters to send to the API endpoint for the auth device get operation.
AuthDeviceGetReader is a Reader for the AuthDeviceGet structure.
AuthDevicePostInternalServerError describes a response with status code 500, with default header values.
AuthDevicePostOK describes a response with status code 200, with default header values.
AuthDevicePostParams contains all the parameters to send to the API endpoint for the auth device post operation.
AuthDevicePostReader is a Reader for the AuthDevicePost structure.
AuthDevicePutBadRequest describes a response with status code 400, with default header values.
AuthDevicePutInternalServerError describes a response with status code 500, with default header values.
AuthDevicePutOK describes a response with status code 200, with default header values.
AuthDevicePutParams contains all the parameters to send to the API endpoint for the auth device put operation.
AuthDevicePutReader is a Reader for the AuthDevicePut structure.
AuthDevicePutUnauthorized describes a response with status code 401, with default header values.
Client for oauth API */.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.