# DeviceAuthorization (/docs/auth/api/interfaces/DeviceAuthorization)



[@kysoql/auth](/docs/auth/api) / DeviceAuthorization

Device-code response returned when starting Salesforce device
authorization.

## Properties [#properties]

| Property                                                     | Modifier   | Type     | Description                                                          |
| ------------------------------------------------------------ | ---------- | -------- | -------------------------------------------------------------------- |
| <a id="api-property-devicecode" /> `deviceCode`              | `readonly` | `string` | Opaque device code later exchanged by the polling client.            |
| <a id="api-property-usercode" /> `userCode`                  | `readonly` | `string` | Short code the user enters during device authorization.              |
| <a id="api-property-verificationuri" /> `verificationUri`    | `readonly` | `string` | Salesforce URL where the user completes device authorization.        |
| <a id="api-property-intervalseconds" /> `intervalSeconds`    | `readonly` | `number` | Minimum polling interval requested by Salesforce, in seconds.        |
| <a id="api-property-expiresinseconds" /> `expiresInSeconds?` | `readonly` | `number` | Lifetime of the device code in seconds, when Salesforce supplies it. |
