API referenceInterfaces
SalesforceJwtBearerOptions
Generated API reference for SalesforceJwtBearerOptions in @kysoql/auth.
@kysoql/auth / SalesforceJwtBearerOptions
JWT bearer credentials accepted by SalesforceAuth.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
username | readonly | string | Salesforce username placed in the JWT sub claim. | - |
privateKey | readonly | PrivateKeyInput | Private key used to sign the JWT bearer assertion. | - |
expiresInSeconds? | readonly | number | Assertion lifetime in seconds. | - |
now? | readonly | number | Epoch time used as the assertion issue time; primarily useful for deterministic tests. | - |
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 |