diff options
Diffstat (limited to 'gn3/oauth2/authorisation.py')
-rw-r--r-- | gn3/oauth2/authorisation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/oauth2/authorisation.py b/gn3/oauth2/authorisation.py index 3864455..b2dd1ae 100644 --- a/gn3/oauth2/authorisation.py +++ b/gn3/oauth2/authorisation.py @@ -1,12 +1,12 @@ """Handle authorisation with auth server.""" from functools import wraps -from authlib.jose import jwt from flask import request, jsonify, current_app as app from gn3.oauth2 import jwks from gn3.oauth2.errors import TokenValidationError + def require_token(func): """Check for and verify bearer token.""" @wraps(func) |