[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:
Allen Li
2025-03-18 18:49:58 -07:00
committed by LUCI CQ
parent 428ceb6428
commit 0f344dbf8a

10
auth.py
View File

@@ -189,16 +189,6 @@ class Authenticator(object):
## Private methods. ## 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): def _get_luci_auth_token(self, use_id_token=False):
logging.debug('Running luci-auth token') logging.debug('Running luci-auth token')
if use_id_token: if use_id_token: