minca
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

PropertyModifierTypeDescriptionInherited fromDefined in
addedAtreadonlystring-WrapBase.addedAtpackages/core/src/identity/account-vault.ts:34
credentialId?readonlystringThe passkey that gates it, when one was used-packages/core/src/identity/account-vault.ts:47
deviceKeyIdreadonlystringWhich local key opens it. Missing from this device means unopenable here.-packages/core/src/identity/account-vault.ts:45
idreadonlystringDistinguishes wraps within one fileWrapBase.idpackages/core/src/identity/account-vault.ts:31
kindreadonly"device"--packages/core/src/identity/account-vault.ts:41
labelreadonlystringShown when asking which one to useWrapBase.labelpackages/core/src/identity/account-vault.ts:33
rpIdreadonlystringThe origin whose storage holds its key; no other origin can open it-packages/core/src/identity/account-vault.ts:43
sealedreadonlystringbase64url of the envelope around the seed (spec 01 §9.1)WrapBase.sealedpackages/core/src/identity/account-vault.ts:36
userHandle?readonlystringThat passkey's user handle, base64url — what renaming its label needs-packages/core/src/identity/account-vault.ts:49

On this page