mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 21:48:49 -04:00
Work in progress, skeleton of the api created and testing started. Need to fix authentication tests.
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
from flask import Blueprint
|
||||
from app.main.authentication.auth import requires_auth
|
||||
|
||||
AUTHORIZATION_HEADER = 'Authorization'
|
||||
AUTHORIZATION_SCHEME = 'Bearer'
|
||||
WINDOW = 1
|
||||
|
||||
main = Blueprint('main', __name__)
|
||||
|
||||
|
||||
main.before_request(requires_auth)
|
||||
|
||||
|
||||
from app.main.views import notifications, index
|
||||
from app.main import errors
|
||||
from app.main.views import index
|
||||
|
||||
Reference in New Issue
Block a user