diff options
author | Frederick Muriuki Muriithi | 2024-05-24 09:59:10 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-05-24 09:59:10 -0500 |
commit | bc712d3c392895e549b019e3cbe20c9a9c687576 (patch) | |
tree | e065d8b7ce490e1c7802c110263b717b455a7041 /gn_auth/auth/authentication/oauth2 | |
parent | 707aefbf5e2c82f9d2504f0eed8548d0e177ee96 (diff) | |
download | gn-auth-bc712d3c392895e549b019e3cbe20c9a9c687576.tar.gz |
Linting: reorganise imports.
Diffstat (limited to 'gn_auth/auth/authentication/oauth2')
-rw-r--r-- | gn_auth/auth/authentication/oauth2/grants/jwt_bearer_grant.py | 3 |
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 ( |