Move auth decorators into a decorators module
The non-decorators will be broken out in the followup change
This commit is contained in:
parent
abf179eb09
commit
1bd4422da9
14 changed files with 14 additions and 12 deletions
|
@ -19,7 +19,7 @@ from auth.permissions import (ReadRepositoryPermission, ModifyRepositoryPermissi
|
|||
UserAdminPermission)
|
||||
from auth import scopes
|
||||
from auth.auth_context import get_authenticated_user, get_validated_oauth_token
|
||||
from auth.process import process_oauth
|
||||
from auth.decorators import process_oauth
|
||||
from endpoints.csrf import csrf_protect
|
||||
from endpoints.exception import (ApiException, Unauthorized, InvalidRequest, InvalidResponse,
|
||||
FreshLoginRequired, NotFound)
|
||||
|
|
Reference in a new issue