summaryrefslogtreecommitdiffstats
path: root/rust/src/auth.rs
Commit message (Collapse)AuthorAgeFilesLines
* add auth middleware back inBryan Newbold2018-12-311-3/+94
| | | | | | | | | 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.
* rustfmt; implement role-based auth checksBryan Newbold2018-12-311-41/+151
|
* wire-up auth config via ENVBryan Newbold2018-12-311-5/+15
|
* basic auth unittestsBryan Newbold2018-12-281-4/+1
|
* more auth refactoringBryan Newbold2018-12-281-54/+59
|
* start refactor of auth codeBryan Newbold2018-12-281-183/+110
| | | | | | | Pulls auth code (which requires the persistent state of a signing keyring) into a struct. Doesn't try verify macaroon in middleware, do it in individual wrappers.
* more basic work on authBryan Newbold2018-12-271-19/+178
|
* sql codegen and WIP on auth commandBryan Newbold2018-12-271-14/+35
|
* start skeleton of auth internal bitsBryan Newbold2018-12-261-0/+106