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

List all stored sessions (for diagnostics).

## Returns

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