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

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

# Function: clearAllAuthSessions()

> **clearAllAuthSessions**(): `void`

Defined in: [packages/b2c-tooling-sdk/src/auth/session-store.ts:266](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/4c2d4c5cb34e8e0ea15a260d257e468c823c4885/packages/b2c-tooling-sdk/src/auth/session-store.ts#L266)

Remove every stored session. Used by `auth logout`.

## Returns

`void`
