MCPcopy
hub / github.com/authlib/authlib / get_allowed_scope

Method get_allowed_scope

authlib/oauth2/rfc7523/token.py:38–41  ·  view source on GitHub ↗
(client, scope)

Source from the content-addressed store, hash-verified

36
37 @staticmethod
38 def get_allowed_scope(client, scope):
39 if scope:
40 scope = client.get_allowed_scope(scope)
41 return scope
42
43 @staticmethod
44 def get_sub_value(user):

Callers 1

get_token_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected