diff options
Diffstat (limited to 'muck/authz.py')
-rw-r--r-- | muck/authz.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/muck/authz.py b/muck/authz.py index a9d5dda..bafd880 100644 --- a/muck/authz.py +++ b/muck/authz.py @@ -34,6 +34,9 @@ class AuthorizationChecker: required_scopes = set(required_scopes) return scopes.intersection(required_scopes) == required_scopes + def get_claims_from_token(self, r): + return self._get_token(r) + def _get_token(self, r): authz = r.get_authorization() try: |