namespace Application.Abstractions.Authentication;

public sealed record GoogleUserInfo(
    string Sub,
    string Email,
    string? Name,
    string? Picture
);

public interface IGoogleTokenValidator
{
    Task<GoogleUserInfo?> ValidateAsync(string credential, string clientId, CancellationToken ct);
}