aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/api_server.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-31 17:11:30 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-31 17:11:32 -0800
commitf19288ca809d87a286336e04f8e6b46ddbef300c (patch)
tree771bc5d36fce6a4f9781b6b37cf5e618059108ba /rust/src/api_server.rs
parentf198a9870130484b0ba36b552c7c37ffa5d4d6ca (diff)
downloadfatcat-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