# `Arc.Identity.Result`
[🔗](https://github.com/Cratis/Arc.Elixir/blob/main/lib/arc/identity.ex#L50)

The resolved identity, as served from `/.cratis/me`.

# `t`

```elixir
@type t() :: %Arc.Identity.Result{
  authenticated?: boolean(),
  authorized?: boolean(),
  details: term(),
  id: String.t() | nil,
  name: String.t() | nil,
  roles: [String.t()]
}
```

# `status`

```elixir
@spec status(t()) :: 200 | 401 | 403
```

The HTTP status the identity contract maps this result to.

# `to_wire`

```elixir
@spec to_wire(t()) :: map()
```

Converts the result to the `/.cratis/me` body.

# `unauthenticated`

```elixir
@spec unauthenticated() :: t()
```

The result for a caller who is not signed in.

---

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