Files
notifications-api/app/main/__init__.py
Martyn Inglis 4caf0fcad6 Fixing pull requests comments
- full path to imports
- renamed client lib from jwt->authentication
2015-12-15 14:36:57 +00:00

16 lines
317 B
Python

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