<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [Dependencies](./auth.dependencies.md) &gt; [persistence](./auth.dependencies.persistence.md)

## Dependencies.persistence property

Which [Persistence](./auth.persistence.md) to use. If this is an array, the first `Persistence` that the device supports is used. The SDK searches for an existing account in order and, if one is found in a secondary `Persistence`<!-- -->, the account is moved to the primary `Persistence`<!-- -->.

If no persistence is provided, the SDK falls back on [inMemoryPersistence](./auth.inmemorypersistence.md)<!-- -->.

<b>Signature:</b>

```typescript
persistence?: Persistence | Persistence[];
```
