# `AshVault.Macaroon.CaveatDefinition`
[🔗](https://github.com/jakeschurch/ash_vault/blob/main/lib/ash_vault/macaroon/definition.ex#L61)

The target of the `caveat` entity nested in a `macaroon`. See `AshVault.Dsl`.

# `t`

```elixir
@type t() :: %AshVault.Macaroon.CaveatDefinition{
  __identifier__: term(),
  __spark_metadata__: term(),
  check: {module(), keyword()},
  constraints: keyword(),
  name: atom(),
  phase: :verify | :authorize,
  type: term()
}
```

---

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