mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
[auth] Delete unused _run_luci_auth_login method
No hits in git grep Change-Id: If3f6a8c44f576413e5db129059c3d6fd8c713809 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6367724 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Allen Li <ayatane@chromium.org>
This commit is contained in:
10
auth.py
10
auth.py
@@ -189,16 +189,6 @@ class Authenticator(object):
|
||||
|
||||
## Private methods.
|
||||
|
||||
def _run_luci_auth_login(self):
|
||||
"""Run luci-auth login.
|
||||
|
||||
Returns:
|
||||
AccessToken with credentials.
|
||||
"""
|
||||
logging.debug('Running luci-auth login')
|
||||
subprocess2.check_call(['luci-auth', 'login', '-scopes', self._scopes])
|
||||
return self._get_luci_auth_token()
|
||||
|
||||
def _get_luci_auth_token(self, use_id_token=False):
|
||||
logging.debug('Running luci-auth token')
|
||||
if use_id_token:
|
||||
|
||||
Reference in New Issue
Block a user