Home > @firebase/auth > Dependencies > persistence
Dependencies.persistence property
Which Persistence 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.
Signature:
persistence?: Persistence | Persistence[];