---
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:273](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b0472c439ca6570be5c7809783a46327d7493694/packages/b2c-tooling-sdk/src/auth/session-store.ts#L273)

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

## Returns

`void`
