Kysoql
API referenceInterfaces

SalesforceJwtBearerOptions

Generated API reference for SalesforceJwtBearerOptions in @kysoql/auth.

@kysoql/auth / SalesforceJwtBearerOptions

JWT bearer credentials accepted by SalesforceAuth.

Extends

Properties

PropertyModifierTypeDescriptionInherited from
usernamereadonlystringSalesforce username placed in the JWT sub claim.-
privateKeyreadonlyPrivateKeyInputPrivate key used to sign the JWT bearer assertion.-
expiresInSeconds?readonlynumberAssertion lifetime in seconds.-
now?readonlynumberEpoch time used as the assertion issue time; primarily useful for deterministic tests.-
signal?readonlyAbortSignalCancels this request.OAuthRequestOptions.signal
timeoutMs?readonlynumberPer 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

On this page