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

summaryrefslogtreecommitdiffhomepage
path: root/backend/Auth/AuthCodeOptions.cs
diff options
context:
space:
mode:
authorAlfaPC112026-07-26 21:01:15 +0300
committerAlfaPC112026-07-26 21:01:15 +0300
commitd4198c795c1038b61140d21ac500db26af573e82 (patch)
tree8e01b50f09f7658279667f1c6720857a0d56da72 /backend/Auth/AuthCodeOptions.cs
parentd35c08a3ecf20de76ee4ee8f68066eafa934887c (diff)
downloadwebsite-d4198c795c1038b61140d21ac500db26af573e82.tar.gz
add registry identity dashboard and transactional email
Diffstat (limited to 'backend/Auth/AuthCodeOptions.cs')
-rw-r--r--backend/Auth/AuthCodeOptions.cs11
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;
+}