ApiCoreInterfaces
Interface: DeviceWrap
Defined in: packages/core/src/identity/account-vault.ts:40
A seed wrapped under a random key in one origin's storage, gated by a passkey (module:device-key)
Extends
WrapBase
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
addedAt | readonly | string | - | WrapBase.addedAt | packages/core/src/identity/account-vault.ts:34 |
credentialId? | readonly | string | The passkey that gates it, when one was used | - | packages/core/src/identity/account-vault.ts:47 |
deviceKeyId | readonly | string | Which local key opens it. Missing from this device means unopenable here. | - | packages/core/src/identity/account-vault.ts:45 |
id | readonly | string | Distinguishes wraps within one file | WrapBase.id | packages/core/src/identity/account-vault.ts:31 |
kind | readonly | "device" | - | - | packages/core/src/identity/account-vault.ts:41 |
label | readonly | string | Shown when asking which one to use | WrapBase.label | packages/core/src/identity/account-vault.ts:33 |
rpId | readonly | string | The origin whose storage holds its key; no other origin can open it | - | packages/core/src/identity/account-vault.ts:43 |
sealed | readonly | string | base64url of the envelope around the seed (spec 01 §9.1) | WrapBase.sealed | packages/core/src/identity/account-vault.ts:36 |
userHandle? | readonly | string | That passkey's user handle, base64url — what renaming its label needs | - | packages/core/src/identity/account-vault.ts:49 |