# `AttestoPhoenix.ClientAuthentication.ErrorContext`
[🔗](https://github.com/XukuLLC/attesto_phoenix/blob/v0.19.0/lib/attesto_phoenix/client_authentication.ex#L137)

Transport facts known while classifying client authentication.

`:authorization_scheme` is the request-header authentication scheme the
client attempted, `"Basic"` for a present but unusable scheme token, or
`nil` when no `Authorization` header was present. It is intentionally
detached from the error code: callers decide whether a particular OAuth
error should be rendered with a challenge.

# `t`

```elixir
@type t() :: %AttestoPhoenix.ClientAuthentication.ErrorContext{
  authorization_scheme: String.t() | nil
}
```

---

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