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



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

Tokens and instance metadata returned by a Salesforce OAuth exchange.

## Properties [#properties]

| Property                                             | Modifier   | Type     | Description                                                              |
| ---------------------------------------------------- | ---------- | -------- | ------------------------------------------------------------------------ |
| <a id="api-property-accesstoken" /> `accessToken`    | `readonly` | `string` | Bearer access token returned by Salesforce.                              |
| <a id="api-property-instanceurl" /> `instanceUrl`    | `readonly` | `string` | Salesforce instance origin associated with the access token.             |
| <a id="api-property-refreshtoken" /> `refreshToken?` | `readonly` | `string` | Refresh token returned or rotated by Salesforce, when present.           |
| <a id="api-property-scope" /> `scope?`               | `readonly` | `string` | Space-delimited OAuth scope string returned by Salesforce, when present. |
| <a id="api-property-idtoken" /> `idToken?`           | `readonly` | `string` | OpenID Connect ID token returned by Salesforce, when requested.          |
| <a id="api-property-issuedat" /> `issuedAt?`         | `readonly` | `string` | Salesforce-issued timestamp from the token response, when present.       |
