Name | Type | Description | Notes |
---|---|---|---|
ResultCode | Pointer to string | The code which represents the result of the API call. | [optional] |
ResultMessage | Pointer to string | A short message which explains the result of the API call. | [optional] |
Action | Pointer to string | The next action that the authorization server implementation should take. | [optional] |
ClientId | Pointer to int64 | The client ID of the client application to which the user code has been issued. | [optional] |
ClientIdAlias | Pointer to string | The client ID alias of the client application to which the user code has been issued. | [optional] |
ClientIdAliasUsed | Pointer to bool | `true` if the value of the `client_id` request parameter included in the device authorization request is the client ID alias. `false` if the value is the original numeric client ID. | [optional] |
ClientName | Pointer to string | The name of the client application to which the user code has been issued. | [optional] |
Scopes | Pointer to []Scope | The scopes requested by the device authorization request. Note that `description` property and `descriptions` property of each scope object in the array contained in this property is always null even if descriptions of the scopes are registered. | [optional] |
ClaimNames | Pointer to []string | The names of the claims which were requested indirectly via some special scopes. See 5.4. Requesting Claims using Scope Values in OpenID Connect Core 1.0 for details. This property is always `null` if the `scope` request parameter of the device authorization request does not include the `openid` scope even if special scopes (such as `profile`) are included in the request (unless the openid scope is included in the default set of scopes which is used when the `scope` request parameter is omitted). | [optional] |
Acrs | Pointer to []string | The list of ACR values requested by the device authorization request. | [optional] |
Resources | Pointer to []string | The resources specified by the `resource` request parameters or by the `resource` property in the request object. If both are given, the values in the request object should be set. See "Resource Indicators for OAuth 2.0" for details. | [optional] |
AuthorizationDetails | Pointer to AuthzDetails | [optional] | |
ServiceAttributes | Pointer to []Pair | The attributes of this service that the client application belongs to. | [optional] |
ClientAttributes | Pointer to []Pair | The attributes of the client. | [optional] |
DynamicScopes | Pointer to []DynamicScope | The dynamic scopes which the client application requested by the scope request parameter. | [optional] |
ExpiresAt | Pointer to int64 | Get the date in milliseconds since the Unix epoch (1970-01-01) at which the user code will expire. | [optional] |
GmAction | Pointer to GrantManagementAction | [optional] | |
GrantId | Pointer to string | the value of the `grant_id` request parameter of the device authorization request. The `grant_id` request parameter is defined in Grant Management for OAuth 2.0 , which is supported by Authlete 2.3 and newer versions. | [optional] |
Grant | Pointer to Grant | [optional] | |
GrantSubject | Pointer to string | The subject identifying the user who has given the grant identified by the `grant_id` request parameter of the device authorization request. Authlete 2.3 and newer versions support <a href= "https://openid.net/specs/fapi-grant-management.html\">Grant Management for OAuth 2.0</a>. An authorization request may contain a `grant_id` request parameter which is defined in the specification. If the value of the request parameter is valid, {@link #getGrantSubject()} will return the subject of the user who has given the grant to the client application. Authorization server implementations may use the value returned from {@link #getGrantSubject()} in order to determine the user to authenticate. The user your system will authenticate during the authorization process (or has already authenticated) may be different from the user of the grant. The first implementer's draft of "Grant Management for OAuth 2.0" does not mention anything about the case, so the behavior in the case is left to implementations. Authlete will not perform the grant management action when the `subject` passed to Authlete does not match the user of the grant. | [optional] |
ClientEntityId | Pointer to string | The entity ID of the client. | [optional] |
ClientEntityIdUsed | Pointer to bool | Flag which indicates whether the entity ID of the client was used when the request for the access token was made. | [optional] |
func NewDeviceVerificationResponse() *DeviceVerificationResponse
NewDeviceVerificationResponse instantiates a new DeviceVerificationResponse 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
func NewDeviceVerificationResponseWithDefaults() *DeviceVerificationResponse
NewDeviceVerificationResponseWithDefaults instantiates a new DeviceVerificationResponse 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
func (o *DeviceVerificationResponse) GetResultCode() string
GetResultCode returns the ResultCode field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetResultCodeOk() (*string, bool)
GetResultCodeOk returns a tuple with the ResultCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetResultCode(v string)
SetResultCode sets ResultCode field to given value.
func (o *DeviceVerificationResponse) HasResultCode() bool
HasResultCode returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetResultMessage() string
GetResultMessage returns the ResultMessage field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetResultMessageOk() (*string, bool)
GetResultMessageOk returns a tuple with the ResultMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetResultMessage(v string)
SetResultMessage sets ResultMessage field to given value.
func (o *DeviceVerificationResponse) HasResultMessage() bool
HasResultMessage returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetAction(v string)
SetAction sets Action field to given value.
func (o *DeviceVerificationResponse) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientId() int64
GetClientId returns the ClientId field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientIdOk() (*int64, 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.
func (o *DeviceVerificationResponse) SetClientId(v int64)
SetClientId sets ClientId field to given value.
func (o *DeviceVerificationResponse) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientIdAlias() string
GetClientIdAlias returns the ClientIdAlias field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientIdAliasOk() (*string, bool)
GetClientIdAliasOk returns a tuple with the ClientIdAlias field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClientIdAlias(v string)
SetClientIdAlias sets ClientIdAlias field to given value.
func (o *DeviceVerificationResponse) HasClientIdAlias() bool
HasClientIdAlias returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientIdAliasUsed() bool
GetClientIdAliasUsed returns the ClientIdAliasUsed field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientIdAliasUsedOk() (*bool, bool)
GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClientIdAliasUsed(v bool)
SetClientIdAliasUsed sets ClientIdAliasUsed field to given value.
func (o *DeviceVerificationResponse) HasClientIdAliasUsed() bool
HasClientIdAliasUsed returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientName() string
GetClientName returns the ClientName field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientNameOk() (*string, bool)
GetClientNameOk returns a tuple with the ClientName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClientName(v string)
SetClientName sets ClientName field to given value.
func (o *DeviceVerificationResponse) HasClientName() bool
HasClientName returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetScopes() []Scope
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetScopesOk() (*[]Scope, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetScopes(v []Scope)
SetScopes sets Scopes field to given value.
func (o *DeviceVerificationResponse) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClaimNames() []string
GetClaimNames returns the ClaimNames field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClaimNamesOk() (*[]string, bool)
GetClaimNamesOk returns a tuple with the ClaimNames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClaimNames(v []string)
SetClaimNames sets ClaimNames field to given value.
func (o *DeviceVerificationResponse) HasClaimNames() bool
HasClaimNames returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetAcrs() []string
GetAcrs returns the Acrs field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetAcrsOk() (*[]string, bool)
GetAcrsOk returns a tuple with the Acrs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetAcrs(v []string)
SetAcrs sets Acrs field to given value.
func (o *DeviceVerificationResponse) HasAcrs() bool
HasAcrs returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetResources() []string
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetResourcesOk() (*[]string, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetResources(v []string)
SetResources sets Resources field to given value.
func (o *DeviceVerificationResponse) HasResources() bool
HasResources returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetAuthorizationDetails() AuthzDetails
GetAuthorizationDetails returns the AuthorizationDetails field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetAuthorizationDetailsOk() (*AuthzDetails, bool)
GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetAuthorizationDetails(v AuthzDetails)
SetAuthorizationDetails sets AuthorizationDetails field to given value.
func (o *DeviceVerificationResponse) HasAuthorizationDetails() bool
HasAuthorizationDetails returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetServiceAttributes() []Pair
GetServiceAttributes returns the ServiceAttributes field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetServiceAttributesOk() (*[]Pair, bool)
GetServiceAttributesOk returns a tuple with the ServiceAttributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetServiceAttributes(v []Pair)
SetServiceAttributes sets ServiceAttributes field to given value.
func (o *DeviceVerificationResponse) HasServiceAttributes() bool
HasServiceAttributes returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientAttributes() []Pair
GetClientAttributes returns the ClientAttributes field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientAttributesOk() (*[]Pair, bool)
GetClientAttributesOk returns a tuple with the ClientAttributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClientAttributes(v []Pair)
SetClientAttributes sets ClientAttributes field to given value.
func (o *DeviceVerificationResponse) HasClientAttributes() bool
HasClientAttributes returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetDynamicScopes() []DynamicScope
GetDynamicScopes returns the DynamicScopes field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetDynamicScopesOk() (*[]DynamicScope, bool)
GetDynamicScopesOk returns a tuple with the DynamicScopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetDynamicScopes(v []DynamicScope)
SetDynamicScopes sets DynamicScopes field to given value.
func (o *DeviceVerificationResponse) HasDynamicScopes() bool
HasDynamicScopes returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetExpiresAt() int64
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetExpiresAtOk() (*int64, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetExpiresAt(v int64)
SetExpiresAt sets ExpiresAt field to given value.
func (o *DeviceVerificationResponse) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetGmAction() GrantManagementAction
GetGmAction returns the GmAction field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetGmActionOk() (*GrantManagementAction, bool)
GetGmActionOk returns a tuple with the GmAction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetGmAction(v GrantManagementAction)
SetGmAction sets GmAction field to given value.
func (o *DeviceVerificationResponse) HasGmAction() bool
HasGmAction returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetGrantId() string
GetGrantId returns the GrantId field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetGrantIdOk() (*string, bool)
GetGrantIdOk returns a tuple with the GrantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetGrantId(v string)
SetGrantId sets GrantId field to given value.
func (o *DeviceVerificationResponse) HasGrantId() bool
HasGrantId returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetGrant() Grant
GetGrant returns the Grant field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetGrantOk() (*Grant, bool)
GetGrantOk returns a tuple with the Grant field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetGrant(v Grant)
SetGrant sets Grant field to given value.
func (o *DeviceVerificationResponse) HasGrant() bool
HasGrant returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetGrantSubject() string
GetGrantSubject returns the GrantSubject field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetGrantSubjectOk() (*string, bool)
GetGrantSubjectOk returns a tuple with the GrantSubject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetGrantSubject(v string)
SetGrantSubject sets GrantSubject field to given value.
func (o *DeviceVerificationResponse) HasGrantSubject() bool
HasGrantSubject returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientEntityId() string
GetClientEntityId returns the ClientEntityId field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientEntityIdOk() (*string, bool)
GetClientEntityIdOk returns a tuple with the ClientEntityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClientEntityId(v string)
SetClientEntityId sets ClientEntityId field to given value.
func (o *DeviceVerificationResponse) HasClientEntityId() bool
HasClientEntityId returns a boolean if a field has been set.
func (o *DeviceVerificationResponse) GetClientEntityIdUsed() bool
GetClientEntityIdUsed returns the ClientEntityIdUsed field if non-nil, zero value otherwise.
func (o *DeviceVerificationResponse) GetClientEntityIdUsedOk() (*bool, bool)
GetClientEntityIdUsedOk returns a tuple with the ClientEntityIdUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceVerificationResponse) SetClientEntityIdUsed(v bool)
SetClientEntityIdUsed sets ClientEntityIdUsed field to given value.
func (o *DeviceVerificationResponse) HasClientEntityIdUsed() bool
HasClientEntityIdUsed returns a boolean if a field has been set.