namespace NATS.Server.Auth;

public sealed class AuthResult
{
    public required string Identity { get; init; }
    public string? AccountName { get; init; }
    public Permissions? Permissions { get; init; }
    public DateTimeOffset? Expiry { get; init; }
    public int MaxJetStreamStreams { get; init; }
    public string? JetStreamTier { get; init; }
}
