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

Function client

tests/flask/test_oauth2/test_revocation_endpoint.py:26–35  ·  view source on GitHub ↗
(client, db)

Source from the content-addressed store, hash-verified

24
25@pytest.fixture(autouse=True)
26def client(client, db):
27 client.set_client_metadata(
28 {
29 "scope": "profile",
30 "redirect_uris": ["https://client.test/authorized"],
31 }
32 )
33 db.session.add(client)
34 db.session.commit()
35 return client
36
37
38def test_invalid_client(test_client):

Callers

nothing calls this directly

Calls 1

set_client_metadataMethod · 0.80

Tested by

no test coverage detected