Component-level authorization checks layered on top of authentication.
Checks run after authentication has resolved verified authorization evidence
onto the shared context. Unauthorized components are filtered from list
operations and rejected with :forbidden on direct access.
Summary
Functions
Applies authorization checks to a component for the current operation.
Normalizes input into the runtime shape expected by this module.
Builds a capability-based authorization rule.
Builds a scope-based authorization rule.
Builds a tag-based authorization rule.
Runs authorization checks against the current context.
Transforms input into the normalized runtime representation used by this module.
Types
@type check() :: (FastestMCP.Authorization.Context.t() -> check_result()) | FastestMCP.Authorization.Check.t()
Functions
Applies authorization checks to a component for the current operation.
Normalizes input into the runtime shape expected by this module.
Builds a capability-based authorization rule.
Builds a scope-based authorization rule.
Builds a tag-based authorization rule.
Runs authorization checks against the current context.
Transforms input into the normalized runtime representation used by this module.