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

List all stored sessions (for diagnostics).

## Returns

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