Kysoql
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

PropertyModifierTypeDescription
clientIdreadonlystringConnected App consumer key / OAuth client ID.
loginUrlreadonlystringSalesforce login/My Domain or Experience Cloud base URL whose token endpoint receives the assertion.
privateKeyreadonlyPrivateKeyInputRS256 signing key with an explicit source type.
expiresInSeconds?readonlynumberDefault: 180 seconds. Maximum: 300 seconds.
now?readonlynumberUnix timestamp in seconds. Defaults to the current time. Useful for deterministic tests.

On this page