This website requires JavaScript.
Explore
Help
Sign In
darkhelm
/
notifications-api
Watch
1
Star
0
Fork
0
You've already forked notifications-api
mirror of
https://github.com/GSA/notifications-api.git
synced
2026-08-18 05:28:49 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
2be72d3536d3327e3f083e5119a2a939c0f78e43
notifications-api
/
app
/
main
/
__init__.py
6 lines
98 B
Python
Raw
Normal View
History
Unescape
Escape
First pass at implementing API authentication using new JWT tokens - NOTE - this does not manage secrets. There is only one URL and there is no functionality implemented - prior to rolling out we need to store secrets properly Uses the JWT libraries in [https://github.com/alphagov/notifications-python-client](https://github.com/alphagov/notifications-python-client) - Tokens are checked on every request and will be rejected if token is invalid as per the rules in the python clients.
2015-12-15 10:47:20 +00:00
from
flask
import
Blueprint
Basic commit to add get pages showing - bootstrap script - run script - couple of views - basic config
2015-12-10 10:56:59 +00:00
main
=
Blueprint
(
'
main
'
,
__name__
)
Work in progress, skeleton of the api created and testing started. Need to fix authentication tests.
2016-01-08 17:51:46 +00:00
from
app
.
main
.
views
import
index
Reference in New Issue
Copy Permalink