blob: 253b38060d024f71962deeb7bee9ad866ae29455 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.0
namespace Progmasoft.Progmaweb.Api.Accounts;
internal sealed record AccountRecord(
Guid Id,
string AccountName,
string NormalizedAccountName,
string Email,
string NormalizedEmail,
string? PasswordHash,
DateTimeOffset CreatedAt);
internal sealed record SessionRecord(
byte[] TokenDigest,
Guid AccountId,
DateTimeOffset CreatedAt,
DateTimeOffset ExpiresAt);
|