aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-05-24 09:59:10 -0500
committerFrederick Muriuki Muriithi2024-05-24 09:59:10 -0500
commitbc712d3c392895e549b019e3cbe20c9a9c687576 (patch)
treee065d8b7ce490e1c7802c110263b717b455a7041 /gn_auth
parent707aefbf5e2c82f9d2504f0eed8548d0e177ee96 (diff)
downloadgn-auth-bc712d3c392895e549b019e3cbe20c9a9c687576.tar.gz
Linting: reorganise imports.
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py b/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py
index d75f730..b96febb 100644
--- a/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py
+++ b/gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py
@@ -1,10 +1,9 @@
"""JWT as Authorisation Grant"""
import uuid
+from dataclasses import asdict
from flask import current_app as app
-from dataclasses import asdict
-
from authlib.common.security import generate_token
from authlib.oauth2.rfc7523.jwt_bearer import JWTBearerGrant as _JWTBearerGrant
from authlib.oauth2.rfc7523.token import (