namespace Nexus.Api.Models;

public sealed record SecurityTokenConfigDto(
    string Issuer,
    string Audience,
    int RefreshTokenDays,
    int AccessTokenMinutes);

public sealed record SecurityCookieConfigDto(
    bool HttpOnly,
    bool Secure,
    string SameSite);

public sealed record SecurityStatusDto(
    string AuthMethod,
    SecurityTokenConfigDto TokenConfig,
    string RateLimit,
    string PasswordPolicy,
    SecurityCookieConfigDto CookieConfig,
    bool TwoFactorEnabled,
    bool PasskeyEnabled,
    DateTimeOffset CheckedAt);
