Files
chromium_depot_tools/tests
Jiewei Qian 5567ad1ea0 gerrit_util: add ReAuth support to ensure_authenticated
This CL makes it possible for ensure_authenticated to check whether
the current credential would satisfy ReAuth requirement.

Right now, only GitCredsAuthenticator performs additional ReAuth
check. For other Authenticator, either ReAuth is not relevant
(e.g. SSO), or not supported or implied (e.g. .gitcookies).

This CL does nothing on its own, because ensure_autheticated with
ReAuth is opt-in. Subsequent CL will update callsites to pass in
ReAuthContext to make the check effective.

Bug: 451651615
Change-Id: Idb1e70c52aaa844e672331fad8d462a2a7577d45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7104363
Commit-Queue: Jiewei Qian <qjw@chromium.org>
Reviewed-by: Scott Lee <ddoman@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
2025-11-04 11:21:10 -08:00
..
2025-09-16 00:15:47 -07:00
2023-09-05 20:24:16 +00:00
2024-03-26 14:24:43 +00:00
2025-04-01 15:18:44 -07:00
2024-08-19 19:53:47 +00:00
2025-09-03 19:03:18 -07:00
2023-09-25 17:13:00 +00:00
2025-09-03 19:03:18 -07:00