# `Relyra.Principal`
[🔗](https://github.com/szTheory/relyra/blob/v1.1.0/lib/relyra/principal.ex#L1)

Represents the verified subject identity and attributes from a SAML assertion.

# `t`

```elixir
@type t() :: %Relyra.Principal{
  attributes: map(),
  authn_context_class_ref: binary() | nil,
  authn_instant: DateTime.t() | nil,
  connection_id: binary(),
  name_id: binary(),
  name_id_format: binary() | nil,
  session_index: binary() | nil
}
```

---

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