Kysoql
API referenceInterfaces

JwtBearerAssertionOptions

Generated API reference for JwtBearerAssertionOptions in @kysoql/auth.

@kysoql/auth / JwtBearerAssertionOptions

Options for creating a Salesforce JWT bearer assertion.

Properties

PropertyModifierTypeDescription
clientIdreadonlystringConnected App consumer key / OAuth client ID.
usernamereadonlystringSalesforce username associated with the authorization flow.
loginUrlreadonlystringSalesforce login/My Domain origin used as the JWT audience.
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