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

The per-caller policy for `AttestoPhoenix.ClientAuthentication`.

See the parent module for the meaning of each field. Expressed as data so
a caller passes its policy rather than toggling a behaviour flag inside the
core.

# `t`

```elixir
@type t() :: %AttestoPhoenix.ClientAuthentication.Policy{
  allow_public: boolean(),
  assertion_audiences: [String.t()],
  assertion_max_lifetime: pos_integer(),
  assertion_signing_algs: [String.t()]
}
```

---

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