FastestMCP.Authorization.Check (fastest_mcp v0.3.0)

Copy Markdown View Source

Tagged authorization check.

Scope checks retain enough structure for the HTTP boundary to produce an insufficient_scope challenge. Capability and application checks remain opaque so their denial details cannot leak through component discovery.

Summary

Types

t()

@type t() :: %FastestMCP.Authorization.Check{
  kind: :scopes | :capabilities | :opaque,
  value:
    MapSet.t(String.t())
    | {:resolver, (FastestMCP.Authorization.Context.t() -> any())}
    | function()
}