API referenceInterfaces
DeviceAuthorizationOptions
Generated API reference for DeviceAuthorizationOptions in @kysoql/auth.
@kysoql/auth / DeviceAuthorizationOptions
Options for starting the Salesforce device authorization flow.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
loginUrl | readonly | string | Salesforce login or My Domain base URL used for device authorization. | - |
clientId | readonly | string | Connected App consumer key / OAuth client ID. | - |
scope? | readonly | string | readonly string[] | OAuth scopes requested by the device flow. | - |
redirectUri? | readonly | string | Optional redirect URI forwarded to Salesforce for the device flow. | - |
signal? | readonly | AbortSignal | Cancels this request. | OAuthRequestOptions.signal |
timeoutMs? | readonly | number | Per HTTP request. Default: 30 seconds. | OAuthRequestOptions.timeoutMs |
fetch? | readonly | (input, init?) => Promise<Response> | Native fetch by default. Primarily useful for tests and custom runtimes. | OAuthRequestOptions.fetch |