Add signup/signin with backend-issued JWT (Argon2 passwords in SurrealDB), role-based authorization policies, per-user data access levels, consent register and read audit log. Protect user endpoints and record sensitive reads.
9 lines
174 B
C#
9 lines
174 B
C#
namespace TarninaHub.Application.Models;
|
|
|
|
public sealed record UserAccount(
|
|
string Id,
|
|
string Phone,
|
|
string? Email,
|
|
string Role,
|
|
string? OrganizationId);
|