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

Function get_allowed_scope_empty

tests/flask/test_oauth2/test_implicit_grant.py:119–122  ·  view source on GitHub ↗
(scope)

Source from the content-addressed store, hash-verified

117 """
118
119 def get_allowed_scope_empty(scope):
120 if scope is None:
121 return ""
122 return scope
123
124 monkeypatch.setattr(client, "get_allowed_scope", get_allowed_scope_empty)
125

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected