# `AttestoMCP.Test.DPoPReplay`
[🔗](https://github.com/XukuLLC/attesto_mcp/blob/v1.0.5/lib/attesto_mcp/test/dpop_replay.ex#L1)

Minimal DPoP replay callback for tests.

Production systems should use a shared store for every MCP server instance.
This helper is process-local and exists only to make replay behavior explicit
in tests and examples.

# `callback`

```elixir
@spec callback() :: (String.t(), pos_integer() -&gt; :ok | {:error, :replay})
```

Return a `replay_check` callback compatible with `Attesto.DPoP.verify_proof/2`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
