API referenceInterfaces
JwtBearerAssertionOptions
Generated API reference for JwtBearerAssertionOptions in @kysoql/auth.
@kysoql/auth / JwtBearerAssertionOptions
Options for creating a Salesforce JWT bearer assertion.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
clientId | readonly | string | Connected App consumer key / OAuth client ID. |
username | readonly | string | Salesforce username associated with the authorization flow. |
loginUrl | readonly | string | Salesforce login/My Domain origin used as the JWT audience. |
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. |