diff options
| author | AlfaPC11 | 2026-07-26 21:01:15 +0300 |
|---|---|---|
| committer | AlfaPC11 | 2026-07-26 21:01:15 +0300 |
| commit | d4198c795c1038b61140d21ac500db26af573e82 (patch) | |
| tree | 8e01b50f09f7658279667f1c6720857a0d56da72 /backend/Auth/AuthCodeOptions.cs | |
| parent | d35c08a3ecf20de76ee4ee8f68066eafa934887c (diff) | |
| download | website-d4198c795c1038b61140d21ac500db26af573e82.tar.gz | |
add registry identity dashboard and transactional email
Diffstat (limited to 'backend/Auth/AuthCodeOptions.cs')
| -rw-r--r-- | backend/Auth/AuthCodeOptions.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backend/Auth/AuthCodeOptions.cs b/backend/Auth/AuthCodeOptions.cs new file mode 100644 index 0000000..05337de --- /dev/null +++ b/backend/Auth/AuthCodeOptions.cs @@ -0,0 +1,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; +} |