replace deprecated authlib.flask.oauth2 with authlib.integrations.flask_oauth2

authlib
d42 2020-02-24 19:56:49 +01:00
parent 950809fe44
commit 696896d48e
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
from datetime import datetime, timedelta
from authlib.flask.oauth2 import AuthorizationServer, ResourceProtector
from authlib.integrations.flask_oauth2 import AuthorizationServer, ResourceProtector
from authlib.oauth2.rfc6749 import grants
from authlib.oidc.core import grants as oidgrants
from authlib.oauth2.rfc6750 import BearerTokenValidator