MCPcopy Create free account
hub / github.com/authlib/authlib / verifier

Function verifier

tests/clients/test_httpx/test_async_assertion_client.py:21–24  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

19@pytest.mark.asyncio
20async def test_refresh_token():
21 async def verifier(request):
22 content = await request.body()
23 if str(request.url) == "https://provider.test/token":
24 assert b"assertion=" in content
25
26 async with AsyncAssertionClient(
27 "https://provider.test/token",

Callers

nothing calls this directly

Calls 1

bodyMethod · 0.80

Tested by

no test coverage detected