aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-12-29 04:04:47 +0300
committerFrederick Muriuki Muriithi2022-12-29 04:04:47 +0300
commit4f5972799832d747080606cd6550d33f98f144ff (patch)
tree7a43e7acbf42ed3103bc6bd0edd880d505a31a55 /setup.py
parentbc709d1aaf1d4ce752394be9d575414de0c66307 (diff)
downloadgenenetwork2-4f5972799832d747080606cd6550d33f98f144ff.tar.gz
auth: Provide decorator to limit access to routes
Define the new `oauth2_required` decorator that checks for the existence and validity of a token before allowing access to the given endpoint. Move the `user_logged_in` check to the `checks.py` module. * wqflask/wqflask/oauth2/checks.py: new file * wqflask/wqflask/oauth2/routes.py: import new decorator
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions