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

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

# Function: listAuthSessions()

> **listAuthSessions**(): [`AuthSession`](../interfaces/AuthSession.md)[]

Defined in: [packages/b2c-tooling-sdk/src/auth/session-store.ts:268](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/auth/session-store.ts#L268)

List all stored sessions (for diagnostics).

## Returns

[`AuthSession`](../interfaces/AuthSession.md)[]
