FastestMCP.Authorization.Context (fastest_mcp v0.3.0)

Copy Markdown View Source

Authorization-only view of the runtime context used by authorization checks.

Summary

Types

t()

@type t() :: %FastestMCP.Authorization.Context{
  arguments: map(),
  auth: map(),
  authenticated: boolean(),
  capabilities: [any()],
  captures: map(),
  component: struct(),
  method: String.t(),
  principal: any(),
  request_metadata: map(),
  server_name: String.t(),
  session_id: String.t() | nil,
  target: String.t() | nil,
  transport: atom(),
  verified_audiences: [String.t()],
  verified_scopes: [String.t()]
}