Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/backend/Auth/AuthCodeOptions.cs
blob: 05337defc52c1971f79626fc3a492cf0ab0c6ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-FileCopyrightText: 2026 Leitwolf <xs-lang.chess031@slmails.com>
// SPDX-License-Identifier: AGPL-3.0-or-later

namespace XSharp.Web.Api.Auth;

internal sealed class AuthCodeOptions
{
    public required string Pepper { get; init; }
    public int LifetimeMinutes { get; init; } = 15;
    public int MaximumAttempts { get; init; } = 6;
}