API reference › @evolu/common › local‑first/LocalAuth
Local authentication and owner management.
Functions
| Function | Description |
|---|---|
| createLocalAuth | Creates a local auth using the given secure storage implementation. This factory function allows each platform to provide its own storage layer while sharing the common auth logic. |
Interfaces
| Interface | Description |
|---|---|
| AuthenticationPrompt | Configuration for the biometric/device credential prompt shown when a protected item is accessed. |
| AuthList | - |
| AuthResult | - |
| LocalAuth | Local authentication and authorization system for Evolu. This is API is subject to change and not recommended for production use. |
| LocalAuthDep | - |
| LocalAuthOptions | - |
| LocalAuthOptionsValues | - |
| MutationResult | - |
| SecureStorage | Secure storage interface that must be implemented by each platform. |
| SecureStorageDep | - |
| SensitiveInfoGetRequest | - |
| SensitiveInfoItem | - |
| StorageMetadata | - |
Type Aliases
| Type Alias | Description |
|---|---|
| AccessControl | Enumerates the access-control policy enforced by the underlying secure storage. |
| SecurityLevel | Enumerates the highest security tier that was effectively applied while storing a value. |
| StorageBackend | Enumerates the native storage backend used to persist sensitive data. |
Variables
| Variable | Description |
|---|---|
| localAuth_Namespace | - |
| localAuthDefaultOptions | - |