aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/auth.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/auth: move auth code into a new package for reuse in syz-hubGreg Steuck2021-07-301-126/+0
|
* dashboard/app: chop off auth so it can be reused in syz-hubGreg Steuck2021-07-301-27/+0
|
* dashboard/app: control time externally from api.goGreg Steuck2021-07-141-3/+4
| | | | | This way the tested code is independent of the time passage and the tests are reliable.
* dashboard: simple review fixesGreg Steuck2021-07-141-2/+2
|
* dashboard/app: cover checkClient and fix for the exposed bugGreg Steuck2021-07-141-17/+15
| | | | Required checkClient to take the config as a parameter.
* dashboard/app: parse JWT into a separate JSON structGreg Steuck2021-07-141-7/+27
| | | | | Between JSON type choices and Go struct embedding syntax noise, relying on field duplication seems the least ugly option.
* dashboard/app: add some tests for authGreg Steuck2021-07-141-21/+31
|
* dashboard/app: dump notes into the commentGreg Steuck2021-07-141-0/+23
|
* dashboard/app: server-side support for OAuth /api authenticationGreg Steuck2021-07-141-0/+101