type · Browser

# Protection

`@toip-tools/web-vault` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/web-vault/src/vault.ts#L45)

Import:

```ts
import { type Protection } from "@toip-tools/web-vault";
```

## Declaration

type:

```ts
type Protection = { kind: "passkey" } | { kind: "passphrase"; passphrase: string };
```

[Usage guide](https://toip.tools/toolkit/web-vault/#usage) · [Error handling](https://toip.tools/toolkit/web-vault/#errors) · [All exports](https://toip.tools/toolkit/web-vault/api/)

---

This is the Markdown version of https://toip.tools/toolkit/web-vault/api/Protection/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
