API referenceInterfaces
OAuthClientAssertionOptions
Generated API reference for OAuthClientAssertionOptions in @kysoql/auth.
@kysoql/auth / OAuthClientAssertionOptions
Options for creating a private_key_jwt client assertion for Salesforce OAuth.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
clientId | readonly | string | Connected App consumer key / OAuth client ID. |
loginUrl | readonly | string | Salesforce login/My Domain or Experience Cloud base URL whose token endpoint receives the assertion. |
privateKey | readonly | PrivateKeyInput | RS256 signing key with an explicit source type. |
expiresInSeconds? | readonly | number | Default: 180 seconds. Maximum: 300 seconds. |
now? | readonly | number | Unix timestamp in seconds. Defaults to the current time. Useful for deterministic tests. |