[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › local‑first/LocalAuth

Local authentication and owner management.

## Functions

| Function                                                                                          | Description                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [createLocalAuth](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/functions/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](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/AuthenticationPrompt)       | Configuration for the biometric/device credential prompt shown when a protected item is accessed.                                 |
| [AuthList](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/AuthList)                               | -                                                                                                                                 |
| [AuthResult](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/AuthResult)                           | -                                                                                                                                 |
| [LocalAuth](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/LocalAuth)                             | Local authentication and authorization system for Evolu. This is API is subject to change and not recommended for production use. |
| [LocalAuthDep](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/LocalAuthDep)                       | -                                                                                                                                 |
| [LocalAuthOptions](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/LocalAuthOptions)               | -                                                                                                                                 |
| [LocalAuthOptionsValues](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/LocalAuthOptionsValues)   | -                                                                                                                                 |
| [MutationResult](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/MutationResult)                   | -                                                                                                                                 |
| [SecureStorage](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/SecureStorage)                     | Secure storage interface that must be implemented by each platform.                                                               |
| [SecureStorageDep](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/SecureStorageDep)               | -                                                                                                                                 |
| [SensitiveInfoGetRequest](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/SensitiveInfoGetRequest) | -                                                                                                                                 |
| [SensitiveInfoItem](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/SensitiveInfoItem)             | -                                                                                                                                 |
| [StorageMetadata](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/interfaces/StorageMetadata)                 | -                                                                                                                                 |

## Type Aliases

| Type Alias                                                                                         | Description                                                                              |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [AccessControl](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/type-aliases/AccessControl)   | Enumerates the access-control policy enforced by the underlying secure storage.          |
| [SecurityLevel](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/type-aliases/SecurityLevel)   | Enumerates the highest security tier that was effectively applied while storing a value. |
| [StorageBackend](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/type-aliases/StorageBackend) | Enumerates the native storage backend used to persist sensitive data.                    |

## Variables

| Variable                                                                                                          | Description |
| ----------------------------------------------------------------------------------------------------------------- | ----------- |
| [localAuth_Namespace](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/variables/localAuth_Namespace)         | -           |
| [localAuthDefaultOptions](https://evolu.dev/docs/api-reference/common/local-first/LocalAuth/variables/localAuthDefaultOptions) | -           |