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

Function server

tests/flask/test_oauth2/test_code_challenge.py:30–32  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

28
29@pytest.fixture(autouse=True)
30def server(server):
31 server.register_grant(AuthorizationCodeGrant, [CodeChallenge(required=True)])
32 return server
33
34
35@pytest.fixture(autouse=True)

Callers

nothing calls this directly

Calls 2

register_grantMethod · 0.80
CodeChallengeClass · 0.70

Tested by

no test coverage detected