# `Codex.Events.AttestationGenerateRequested`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/events.ex#L1170)

Event emitted when the app-server asks the client to generate a fresh
upstream attestation token. There is no default provider; respond via
`Codex.AppServer.respond/3` with `%{"token" => token}` or the request
will not receive a timely response.

# `t`

```elixir
@type t() :: %Codex.Events.AttestationGenerateRequested{id: String.t() | integer()}
```

---

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