# `Parrhesia.API.Auth.Context`

Authenticated request details returned by shared auth helpers.

This is the higher-level result returned by `Parrhesia.API.Auth.validate_nip98/3` and
`validate_nip98/4`. The nested `request_context` is ready to be passed into the rest of the
public API surface.

# `t`

```elixir
@type t() :: %Parrhesia.API.Auth.Context{
  auth_event: map() | nil,
  metadata: map(),
  pubkey: String.t() | nil,
  request_context: Parrhesia.API.RequestContext.t()
}
```

---

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