API reference › @evolu/common › local‑first/LocalAuth › createLocalAuth
function createLocalAuth(deps: SecureStorageDep & RandomBytesDep): LocalAuth;
Defined in: packages/common/src/local-first/LocalAuth.ts:80
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.