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.
12 lines
279 B
C#
12 lines
279 B
C#
namespace TarninaHub.Application.Abstractions;
|
|
|
|
public interface IAuditLogService
|
|
{
|
|
Task RecordAsync(
|
|
string? actorId,
|
|
string action,
|
|
string target,
|
|
IReadOnlyDictionary<string, object?> context,
|
|
CancellationToken cancellationToken);
|
|
}
|