mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
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>
81 KiB
81 KiB