API referenceInterfaces
ClientCredentialsOptions
Generated API reference for ClientCredentialsOptions in @kysoql/rest.
@kysoql/rest / ClientCredentialsOptions
Options for the Salesforce client-credentials grant in the REST package.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
loginUrl | readonly | string | My Domain origin configured for the OAuth client-credentials flow. | - |
clientId | readonly | string | Connected App consumer key / OAuth client ID. | - |
clientSecret | readonly | string | Connected App client secret used by the client-credentials grant. | - |
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 |