> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proofable.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify patterns

> Choose between proof reuse, fresh checks, hosted handoff, or a server-side gateCheck, and set who can read each proof you create.

Default strategy: **`reuse-or-create`**. Every `VerifyGate` prop is in [VerifyGate](https://docs.proofable.me/widgets/verifygate.md).

## Privacy

`client.verify()` is an advanced server or controlled-signing path. `VerifyGate` opens **Hosted Verify** for checks that cannot finish inside your app. Full matrix: [Security](https://docs.proofable.me/security.md)

| Option | When |
| - | - |
| `privacyLevel: 'private'` | Default; owner or authorized access for private reads |
| `privacyLevel: 'public'` | Public reuse without owner auth; pair with `publicDisplay` |
| `publicDisplay: false` | Unlisted. Anyone with the proof ID can read it |
| `publicDisplay: true` | Listed / discoverable (needs `public`) |

`storeOriginalContent` and these visibility options apply to `client.verify()`.

## Reuse-first

```jsx theme={"system"}
<VerifyGate
  gate={[{ verifierId: 'proof-of-human' }]}
  strategy="reuse-or-create"
>
  <Protected />
</VerifyGate>
```

## Fresh

For high-stakes actions, force a new proof:

```jsx theme={"system"}
<VerifyGate strategy="fresh" gate={[{ verifierId: 'proof-of-human' }]}>
  <Protected />
</VerifyGate>
```

## Read-only gate

```jsx theme={"system"}
<VerifyGate strategy="reuse" gate={[{ verifierId: 'proof-of-human' }]}>
  <Protected />
</VerifyGate>
```

## Hosted interactive

Hand off to `/verify` for the missing verifier:

```jsx theme={"system"}
<VerifyGate
  gate={[{ verifierId: 'proof-of-human' }]}
  hostedCheckoutUrl="https://proofable.me/verify"
/>
```

[Hosted Verify](https://docs.proofable.me/verification/hosted.md)

## Server check

Prefer **`gateCheck`** over pulling full proofs for every decision:

```javascript theme={"system"}
const result = await client.gateCheck({
  gate: [{ verifierId: 'proof-of-human' }],
  subject: { accountId: user.accountAddress },
});

if (!result.satisfied) throw new Error('Verification required');
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.