Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add auth/check endpoint | Bryan Newbold | 2019-01-07 | 1 | -5/+16 |
| | |||||
* | only superusers get auto-magic-privs | Bryan Newbold | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | add superuser role/flag | Bryan Newbold | 2019-01-04 | 1 | -11/+21 |
| | |||||
* | allow multiple 'alt' keys to be specified in env | Bryan Newbold | 2018-12-31 | 1 | -0/+6 |
| | |||||
* | add auth middleware back in | Bryan Newbold | 2018-12-31 | 1 | -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 checks | Bryan Newbold | 2018-12-31 | 1 | -41/+151 |
| | |||||
* | wire-up auth config via ENV | Bryan Newbold | 2018-12-31 | 1 | -5/+15 |
| | |||||
* | basic auth unittests | Bryan Newbold | 2018-12-28 | 1 | -4/+1 |
| | |||||
* | more auth refactoring | Bryan Newbold | 2018-12-28 | 1 | -54/+59 |
| | |||||
* | start refactor of auth code | Bryan Newbold | 2018-12-28 | 1 | -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 auth | Bryan Newbold | 2018-12-27 | 1 | -19/+178 |
| | |||||
* | sql codegen and WIP on auth command | Bryan Newbold | 2018-12-27 | 1 | -14/+35 |
| | |||||
* | start skeleton of auth internal bits | Bryan Newbold | 2018-12-26 | 1 | -0/+106 |