---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [auth](../index.md) / StatefulSession

# Interface: StatefulSession

Defined in: [packages/b2c-tooling-sdk/src/auth/stateful-store.ts:66](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/stateful-store.ts#L66)

Stored session persisted by stateful auth commands.

## Properties

### accessToken

> **accessToken**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/stateful-store.ts:68](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/stateful-store.ts#L68)

***

### clientId

> **clientId**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/stateful-store.ts:67](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/stateful-store.ts#L67)

***

### refreshToken?

> `optional` **refreshToken**: `string` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/auth/stateful-store.ts:69](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/stateful-store.ts#L69)

***

### renewBase?

> `optional` **renewBase**: `string` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/auth/stateful-store.ts:71](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/stateful-store.ts#L71)

Base64-encoded "clientId:clientSecret" for token renewal.

***

### user?

> `optional` **user**: `string` \| `null`

Defined in: [packages/b2c-tooling-sdk/src/auth/stateful-store.ts:72](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/stateful-store.ts#L72)
