summaryrefslogtreecommitdiffstats
path: root/rust/src/auth.rs
Commit message (Collapse)AuthorAgeFilesLines
* rust fmtBryan Newbold2019-01-081-21/+25
|
* better rust auth error handling/responsesBryan Newbold2019-01-081-8/+22
|
* iterate on macaroon time caveat namesBryan Newbold2019-01-081-20/+19
|
* add auth/check endpointBryan Newbold2019-01-071-5/+16
|
* only superusers get auto-magic-privsBryan Newbold2019-01-071-1/+1
|
* add superuser role/flagBryan Newbold2019-01-041-11/+21
|
* allow multiple 'alt' keys to be specified in envBryan Newbold2018-12-311-0/+6
|
* 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