diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-31 17:11:30 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-31 17:11:32 -0800 |
commit | f19288ca809d87a286336e04f8e6b46ddbef300c (patch) | |
tree | 771bc5d36fce6a4f9781b6b37cf5e618059108ba /rust/src/api_server.rs | |
parent | f198a9870130484b0ba36b552c7c37ffa5d4d6ca (diff) | |
download | fatcat-f19288ca809d87a286336e04f8e6b46ddbef300c.tar.gz fatcat-f19288ca809d87a286336e04f8e6b46ddbef300c.zip |
add auth middleware back in
I was hoping I didn't need this middleware, but I actually do, or the
swagger generated code returns unauthenticated.
The middleware doesn't actually do much validation, just extracts the
(string) token and does nothing with it. Acutal verification happens in
user code using AuthData struct.
Diffstat (limited to 'rust/src/api_server.rs')
0 files changed, 0 insertions, 0 deletions