# `Ash.Scope.ToOpts`
[🔗](https://github.com/ash-project/ash/blob/v3.17.0/lib/ash/scope.ex#L127)

# `t`

```elixir
@type t() :: term()
```

# `get_actor`

```elixir
@spec get_actor(term()) :: {:ok, term()} | :error
```

Extracts the actor from the scope

# `get_authorize?`

```elixir
@spec get_authorize?(term()) :: {:ok, boolean()} | :error
```

Extracts the `authorize?` option from the scope

# `get_context`

```elixir
@spec get_context(term()) :: {:ok, term()} | :error
```

Extracts the context from the scope

# `get_tenant`

```elixir
@spec get_tenant(term()) :: {:ok, term()} | :error
```

Extracts the tenant from the scope

# `get_tracer`

```elixir
@spec get_tracer(term()) :: {:ok, module() | [module()]} | :error
```

Extracts the tracer(s) from the scope

---

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