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