Async (asyncpg-consistent with the rest of this package), stdlib-only HTTP via urllib + asyncio.to_thread (no new dependency for one GET call). Framework-agnostic by design: read the two real consumers (HordeWorker's aiohttp webui, Heretic's FastAPI app) and they don't share a framework, so token_from_request/resolve_user work over plain headers/cookies mappings rather than shipping a framework adapter. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>