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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cli](../index.md) / AuthSessionStoreHookResult

# Interface: AuthSessionStoreHookResult

Defined in: [packages/b2c-tooling-sdk/src/cli/hooks.ts:355](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/cli/hooks.ts#L355)

Result returned by the `b2c:auth-session-store` hook.

## Properties

### backend?

> `optional` **backend**: [`AuthSessionBackend`](../../auth/interfaces/AuthSessionBackend.md)

Defined in: [packages/b2c-tooling-sdk/src/cli/hooks.ts:362](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/cli/hooks.ts#L362)

Backend that stores auth sessions (access and refresh tokens from
`auth login`, `auth client`, and browser sign-in) in place of the default
`auth-sessions.json` file. Leave unset to keep the default store, for
example when the plugin's storage is unavailable on this platform.
