API referenceInterfaces
RefreshTokenOptions
Generated API reference for RefreshTokenOptions in @kysoql/rest.
@kysoql/rest / RefreshTokenOptions
Options for the Salesforce refresh-token grant in the REST package.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
loginUrl | readonly | string | Salesforce login or My Domain base URL. | - |
clientId | readonly | string | Connected App consumer key / OAuth client ID. | - |
clientSecret? | readonly | string | Required when the application's OAuth policy requires a secret for refresh. | - |
refreshToken | readonly | string | Refresh token to exchange for a new access token. | - |
fetch? | readonly | (input, init?) => Promise<Response> | Native fetch by default. An injected implementation must honour signal and redirect. | HttpOptions.fetch |
signal? | readonly | AbortSignal | Combines with the client's signal; cancelling one operation does not cancel others. | HttpOptions.signal |
timeoutMs? | readonly | number | Per HTTP request, including token acquisition and response body. Default: 30 seconds. | HttpOptions.timeoutMs |