diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-04-11 11:38:53 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-11 11:38:53 -0400 |
commit | 496ddfbb7cb1dd6ac859ba4fa8d8d81359b92f9d (patch) | |
tree | 1536b7ebc9f4e55671a3ab034cf28dea5ebee2de | |
parent | 560ec771c834bc84a11ce3bd90dbccba63e34d0a (diff) |
Remove broken API stuff
-rw-r--r-- | gitsrht/service.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gitsrht/service.py b/gitsrht/service.py index c8a92e9..5c14029 100644 --- a/gitsrht/service.py +++ b/gitsrht/service.py @@ -1,6 +1,5 @@ from flask import Blueprint, request, url_for from gitsrht.types import User, OAuthToken, SSHKey -from scmsrht.oauth import delegated_scopes as scm_scopes from srht.api import get_results from srht.database import db from srht.config import cfg, get_origin @@ -21,7 +20,6 @@ class GitOAuthService(AbstractOAuthService): required_scopes=["profile", "keys"] + ([ "{}/jobs:write".format(builds_client_id) ] if builds_client_id else []), - delegated_scopes=scm_scopes, token_class=OAuthToken, user_class=User) def ensure_user_sshkey(self, user, meta_key): |