Bug 1852580 [wpt PR 41909] - [FedCM] Refactor the wpt tests request params check...
[gecko.git] / testing / web-platform / tests / credential-management / support / fedcm / manifest.py
blob8a6172ce161aec4474b490d394b35c90a9bbb196
1 import importlib
2 error_checker = importlib.import_module("credential-management.support.fedcm.request-params-check")
4 def main(request, response):
5 request_error = error_checker.manifestCheck(request)
6 if (request_error):
7 return request_error
9 response.headers.set(b"Content-Type", b"application/json")
11 return """
13 "accounts_endpoint": "accounts.py",
14 "client_metadata_endpoint": "client_metadata.py",
15 "id_assertion_endpoint": "token.py",
16 "revocation_endpoint": "revoke.py"
18 """