# `AttestoMCP.Auth`
[🔗](https://github.com/XukuLLC/attesto_mcp/blob/v2.2.3/lib/attesto_mcp/auth.ex#L1)

Internal authentication helpers shared by `AttestoMCP` plugs.

For `{module, fun, extra}` callback tuples, `invoke/2` **appends** `extra`
after the per-call `args` (`apply(module, fun, args ++ extra)`).

# `invoke`

```elixir
@spec invoke(term(), [term()]) :: term()
```

# `scheme`

```elixir
@spec scheme(term()) :: :bearer | :dpop
```

# `scopes`

```elixir
@spec scopes(term()) :: [String.t()]
```

---

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