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

summaryrefslogtreecommitdiffhomepage
path: root/backend/Auth/AuthCodeOptions.cs
blob: b4fa48d17832323d1e27c3c90103ad99080bb226 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.0

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;
}