Change app registry to use the credentials verification system

Allows for tokens, OAuth tokens and robot accounts to be used as well

Fixes https://jira.prod.coreos.systems/browse/QS-36
This commit is contained in:
Joseph Schorr 2017-10-27 14:55:49 -04:00 committed by Joseph Schorr
parent aa49b37ad2
commit 3bf8973fd9
3 changed files with 13 additions and 7 deletions

View file

@ -13,6 +13,7 @@ logger = logging.getLogger(__name__)
ACCESS_TOKEN_USERNAME = '$token'
OAUTH_TOKEN_USERNAME = '$oauthtoken'
class CredentialKind(Enum):
user = 'user'
robot = 'robot'