aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2023-03-24 19:32:48 +0000
committerTomasz Kramkowski <tomasz@kramkow.ski>2023-03-24 20:25:01 +0000
commit409721a23691a2cd865e2de1912cb0fa47e26680 (patch)
tree6bf0bebfca6de2c6ea74faed7f19af7e3c9e4227 /pyproject.toml
parent3a1374195b87356b7a50e6daa9782b6f62428c34 (diff)
downloadpaste-409721a23691a2cd865e2de1912cb0fa47e26680.tar.gz
paste-409721a23691a2cd865e2de1912cb0fa47e26680.tar.xz
paste-409721a23691a2cd865e2de1912cb0fa47e26680.zip
authenticate: rewrite
Fixes a few core issues: - No longer uses the Bearer type, instead using a custom APIKey type, this is because this has nothing to do with OAuth 2.0 bearer tokens. - Validation is moved into the middleware, with the check_auth function renamed to check_token with the sole job of checking the token, this makes testing easier - Validation handles more cases
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions