update
This commit is contained in:
@@ -22,8 +22,8 @@ OAUTH2_SCOPES_SUPPORTED = os.getenv('OAUTH2_SCOPES_SUPPORTED')
|
||||
|
||||
|
||||
GRANT_TYPES_EXPIRES_IN = {
|
||||
'refresh_token': 900,
|
||||
'authorization_code': 900,
|
||||
'refresh_token': 600,
|
||||
'authorization_code': 600,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
from authlib.oauth2 import ResourceProtector as _ResourceProtector
|
||||
|
||||
|
||||
class ResourceProtector(_ResourceProtector): ...
|
||||
Reference in New Issue
Block a user