Joseph Schorr
888b564a9b
Add a banner to the Quay UI when an app specific token is about to expire
2018-01-04 15:27:42 -05:00
Joseph Schorr
524d77f527
Add an AppSpecificAuthToken data model for app-specific auth tokens. These will be used for the Docker CLI in place of username+password
2018-01-04 15:27:41 -05:00
Joseph Schorr
0bcda90c6e
Add kind to credentials validate call
2017-12-06 13:52:24 -05:00
Joseph Schorr
6f3d9a6fce
Extract credential handling into its own module
...
Will be used in Docker V1 and APPR protocols
2017-12-06 13:52:24 -05:00
Jimmy Zelinskie
1040c939bf
auth.test: merge registry jwt into one pytest file
2017-07-12 15:14:12 -04:00
Jimmy Zelinskie
880871a2ea
auth.test: increase duration to avoid flakes
2017-07-12 15:14:12 -04:00
Jimmy Zelinskie
8a6417869d
auth/test: add missing module db setup
2017-07-12 15:14:12 -04:00
Jimmy Zelinskie
da4fb02423
auth/test: yapf format
2017-07-12 15:14:12 -04:00
Jimmy Zelinskie
92877fa70f
auth.test.test_registry_jwt: rm endpoints.v2 dep
2017-07-12 15:14:12 -04:00
Jimmy Zelinskie
7d1bbbfe19
test: convert registry auth test to pytest
...
This also moves them into the auth package.
2017-07-12 15:14:12 -04:00
Joseph Schorr
7debd44b54
Switch fixture imports to wildcard in prep for full db test fixes
2017-04-24 16:45:14 -04:00
Joseph Schorr
651666b60b
Refactor our auth handling code to be cleaner
...
Breaks out the validation code from the auth context modification calls, makes decorators easier to define and adds testing for each individual piece. Will be the basis of better error messaging in the following change.
2017-03-23 15:42:45 -04:00