aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/auth_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/auth: move auth code into a new package for reuse in syz-hubGreg Steuck2021-07-301-99/+0
|
* dashboard/app: chop off auth so it can be reused in syz-hubGreg Steuck2021-07-301-57/+0
|
* dashboard/app: control time externally from api.goGreg Steuck2021-07-141-8/+11
| | | | | This way the tested code is independent of the time passage and the tests are reliable.
* dashboard: simple review fixesGreg Steuck2021-07-141-2/+3
|
* dashboard/app: cover checkClient and fix for the exposed bugGreg Steuck2021-07-141-2/+62
| | | | Required checkClient to take the config as a parameter.
* dashboard/app: parse JWT into a separate JSON structGreg Steuck2021-07-141-8/+9
| | | | | 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-0/+91