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

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

# Function: getAuthSessionBackend()

> **getAuthSessionBackend**(): [`AuthSessionBackend`](../interfaces/AuthSessionBackend.md)

Defined in: [packages/b2c-tooling-sdk/src/auth/session-store.ts:249](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/session-store.ts#L249)

Returns the active backend (lazily creating a file-backed default if none has been set).

## Returns

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