namespace ClaudeDo.Ui.Services;

public sealed record OnlineLoginResult(bool Success, string? RefreshToken, string? Error, string? Warning = null);

public interface IOnlineLoginService
{
    Task<OnlineLoginResult> LoginAsync(
        string authority, string clientId, string scope, string redirectUri,
        CancellationToken ct = default);
}
