# `Opsmaru.Incus.Context`
[🔗](https://github.com/upmaru/opsmaru-incus/blob/v0.1.0/lib/opsmaru/incus/context.ex#L1)

Trusted host binding for a direct library call. This is not authentication.

The host verifies `identity`, authorizes the operation and supplies a fast,
local `ready?` callback. Every call checks readiness before opening a backend.
`owner` must match the connection owner. `private_state` and `capabilities`
are host-owned references; the library neither creates nor invokes them.
A context must never be constructed from untrusted agent request parameters.

# `t`

```elixir
@type t() :: %Opsmaru.Incus.Context{
  capabilities: map(),
  identity: term(),
  owner: term(),
  private_state: String.t() | nil,
  ready?: (-&gt; boolean())
}
```

# `new!`

---

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