API reference › @evolu/common › local‑first/Auth › DeviceSecretAuth

Defined in: packages/common/src/local-first/Auth.ts:79

EvoluAppAuth with a DeviceSecret the app keeps where only the user or the platform can unlock it, such as Electron's safeStorage.

Extends

Properties

secret

readonly secret: Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"DeviceSecret">;

Defined in: packages/common/src/local-first/Auth.ts:80


type

readonly type: "DeviceSecret";

Defined in: packages/common/src/Type.ts:19326

Inherited from

Typed.type