fastmcp.server.auth.oauth_proxy.revocation
Revocation-only view of an OAuth proxy’s tokens for the SDK ownership check.
Classes
RevocableAccessToken
An access token loaded by the revocation route.
token is the upstream token, which every FastMCP access token of one
grant shares. fastmcp_jti names the FastMCP token the client presented,
so revocation can retire that token itself. When the grant’s upstream
token no longer validates, token is the FastMCP token and
upstream_live is False: there is nothing upstream left to revoke, but
the mapping must still go, or the next refresh would revive the token.