# `Fluffy.Sandbox`
[🔗](https://github.com/ftes/fluffy/blob/v0.8.0/lib/fluffy/sandbox.ex#L1)

Integrates Ecto SQL sandbox ownership with a Fluffy test scope.

# `allowance`

```elixir
@type allowance() :: module() | {module(), atom(), list()}
```

# `allowance`

```elixir
@spec allowance() :: allowance()
```

Returns the sandbox allowance module or MFA used by Phoenix Ecto.

# `connect_info`

```elixir
@spec connect_info() :: :user_agent | :x_headers
```

Returns the Phoenix socket connect-info key required by the configured header.

# `header`

```elixir
@spec header() :: String.t()
```

Returns the HTTP header used to transport encoded sandbox metadata.

# `on_mount`

---

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