Work in progress, skeleton of the api created and testing started. Need to fix authentication tests.

This commit is contained in:
Nicholas Staples
2016-01-08 17:51:46 +00:00
parent 5bcc615825
commit 0bc4d02713
29 changed files with 193 additions and 95 deletions

View File

@@ -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