Skip to content

Files

Latest commit

40188b1 · May 17, 2022

History

History
155 lines (84 loc) · 6.28 KB

DeviceAuthorizationRequest.md

File metadata and controls

155 lines (84 loc) · 6.28 KB

DeviceAuthorizationRequest

Properties

Name Type Description Notes
Parameters string Parameters of a device authorization request which are the request parameters that the device authorization endpoint of the authorization server implementation received from the client application. The value of `parameters` is the entire entity body (which is formatted in `application/x-www-form-urlencoded`) of the request from the client application.
ClientId Pointer to string The client ID extracted from Authorization header of the device authorization request from the client application. If the device authorization endpoint of the authorization server implementation supports Basic `Authentication` as a means of client authentication, and the request from the client application contained its client ID in `Authorization` header, the value should be extracted and set to this parameter. [optional]
ClientSecret Pointer to string The client secret extracted from `Authorization` header of the device authorization request from the client application. If the device authorization endpoint of the authorization server implementation supports Basic Authentication as a means of client authentication, and the request from the client application contained its client secret in `Authorization` header, the value should be extracted and set to this parameter. [optional]
ClientCertificate Pointer to string The client certificate used in the TLS connection between the client application and the device authorization endpoint of the authorization server. [optional]
ClientCertificatePath Pointer to string The client certificate path presented by the client during client authentication. Each element is a string in PEM format. [optional]

Methods

NewDeviceAuthorizationRequest

func NewDeviceAuthorizationRequest(parameters string, ) *DeviceAuthorizationRequest

NewDeviceAuthorizationRequest instantiates a new DeviceAuthorizationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewDeviceAuthorizationRequestWithDefaults

func NewDeviceAuthorizationRequestWithDefaults() *DeviceAuthorizationRequest

NewDeviceAuthorizationRequestWithDefaults instantiates a new DeviceAuthorizationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetParameters

func (o *DeviceAuthorizationRequest) GetParameters() string

GetParameters returns the Parameters field if non-nil, zero value otherwise.

GetParametersOk

func (o *DeviceAuthorizationRequest) GetParametersOk() (*string, bool)

GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetParameters

func (o *DeviceAuthorizationRequest) SetParameters(v string)

SetParameters sets Parameters field to given value.

GetClientId

func (o *DeviceAuthorizationRequest) GetClientId() string

GetClientId returns the ClientId field if non-nil, zero value otherwise.

GetClientIdOk

func (o *DeviceAuthorizationRequest) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientId

func (o *DeviceAuthorizationRequest) SetClientId(v string)

SetClientId sets ClientId field to given value.

HasClientId

func (o *DeviceAuthorizationRequest) HasClientId() bool

HasClientId returns a boolean if a field has been set.

GetClientSecret

func (o *DeviceAuthorizationRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field if non-nil, zero value otherwise.

GetClientSecretOk

func (o *DeviceAuthorizationRequest) GetClientSecretOk() (*string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientSecret

func (o *DeviceAuthorizationRequest) SetClientSecret(v string)

SetClientSecret sets ClientSecret field to given value.

HasClientSecret

func (o *DeviceAuthorizationRequest) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

GetClientCertificate

func (o *DeviceAuthorizationRequest) GetClientCertificate() string

GetClientCertificate returns the ClientCertificate field if non-nil, zero value otherwise.

GetClientCertificateOk

func (o *DeviceAuthorizationRequest) GetClientCertificateOk() (*string, bool)

GetClientCertificateOk returns a tuple with the ClientCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientCertificate

func (o *DeviceAuthorizationRequest) SetClientCertificate(v string)

SetClientCertificate sets ClientCertificate field to given value.

HasClientCertificate

func (o *DeviceAuthorizationRequest) HasClientCertificate() bool

HasClientCertificate returns a boolean if a field has been set.

GetClientCertificatePath

func (o *DeviceAuthorizationRequest) GetClientCertificatePath() string

GetClientCertificatePath returns the ClientCertificatePath field if non-nil, zero value otherwise.

GetClientCertificatePathOk

func (o *DeviceAuthorizationRequest) GetClientCertificatePathOk() (*string, bool)

GetClientCertificatePathOk returns a tuple with the ClientCertificatePath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientCertificatePath

func (o *DeviceAuthorizationRequest) SetClientCertificatePath(v string)

SetClientCertificatePath sets ClientCertificatePath field to given value.

HasClientCertificatePath

func (o *DeviceAuthorizationRequest) HasClientCertificatePath() bool

HasClientCertificatePath returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]