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

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

# Function: clearStoredSession()

> **clearStoredSession**(): `void`

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

Clears the stored session by removing the session file.

## Returns

`void`
