# `MishkaCmsCore.Accounts.AuthGate.Closed`
[🔗](https://github.com/mishka-group/mishka_cms_core/blob/v0.0.1/lib/mishka_cms_core/accounts/_auth_gate_closed.ex#L5)

A way into an account that `MishkaCmsCore.Accounts.AuthGate` keeps closed: `:action` is the
way — `:sign_in`, `:register`, `:reset` or `:magic_link` — and `:site_id` the site it was closed
for (`nil` for a master's). Rendered by the JSON:API as a 403 `auth_closed` and by the sign-in
pages as their own notice (see `MishkaCmsCore.Accounts.AuthGate.describe/1`).

# `t`

```elixir
@type t() :: %MishkaCmsCore.Accounts.AuthGate.Closed{
  __exception__: term(),
  action: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  site_id: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %MishkaCmsCore.Accounts.AuthGate.Closed{
  __exception__: term(),
  action: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  site_id: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.MishkaCmsCore.Accounts.AuthGate.Closed` without raising it.

## Keys

- :action
- :site_id

---

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