namespace ClaudeDo.Worker.Online.Interfaces; public interface IOnlineAuthProvider { Task GetAccessTokenAsync(CancellationToken ct = default); /// /// Gets an access token, optionally dropping any cached token first so a fresh /// (role-bearing) token is minted via the refresh-token grant. Used to recover from a /// 401 caused by a stale token issued before role assertion was enabled. /// Task GetAccessTokenAsync(bool forceRefresh, CancellationToken ct = default); }