# SalesforceJwtBearerOptions (/docs/auth/api/interfaces/SalesforceJwtBearerOptions)



[@kysoql/auth](/docs/auth/api) / SalesforceJwtBearerOptions

JWT bearer credentials accepted by SalesforceAuth.

## Extends [#extends]

* [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions)

## Properties [#properties]

| Property                                                     | Modifier   | Type                                                             | Description                                                                            | Inherited from                                                                                                                                             |
| ------------------------------------------------------------ | ---------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="api-property-username" /> `username`                  | `readonly` | `string`                                                         | Salesforce username placed in the JWT `sub` claim.                                     | -                                                                                                                                                          |
| <a id="api-property-privatekey" /> `privateKey`              | `readonly` | [`PrivateKeyInput`](/docs/auth/api/type-aliases/PrivateKeyInput) | Private key used to sign the JWT bearer assertion.                                     | -                                                                                                                                                          |
| <a id="api-property-expiresinseconds" /> `expiresInSeconds?` | `readonly` | `number`                                                         | Assertion lifetime in seconds.                                                         | -                                                                                                                                                          |
| <a id="api-property-now" /> `now?`                           | `readonly` | `number`                                                         | Epoch time used as the assertion issue time; primarily useful for deterministic tests. | -                                                                                                                                                          |
| <a id="api-property-signal" /> `signal?`                     | `readonly` | `AbortSignal`                                                    | Cancels this request.                                                                  | [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions).[`signal`](/docs/auth/api/interfaces/OAuthRequestOptions#api-property-signal)       |
| <a id="api-property-timeoutms" /> `timeoutMs?`               | `readonly` | `number`                                                         | Per HTTP request. Default: 30 seconds.                                                 | [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions).[`timeoutMs`](/docs/auth/api/interfaces/OAuthRequestOptions#api-property-timeoutms) |
| <a id="api-property-fetch" /> `fetch?`                       | `readonly` | (`input`, `init?`) => `Promise`\<`Response`>                     | Native fetch by default. Primarily useful for tests and custom runtimes.               | [`OAuthRequestOptions`](/docs/auth/api/interfaces/OAuthRequestOptions).[`fetch`](/docs/auth/api/interfaces/OAuthRequestOptions#api-property-fetch)         |
