# `Parrhesia.Auth.Nip98ReplayCache`

Tracks recently accepted NIP-98 auth event ids to prevent replay.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `consume`

```elixir
@spec consume(GenServer.server(), String.t(), integer(), keyword()) ::
  :ok | {:error, :replayed_auth_event}
```

# `start_link`

```elixir
@spec start_link(keyword()) :: GenServer.on_start()
```

---

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