Table of Contents

Enum AuditCallerType

Namespace
Tharga.Team.Service.Audit
Assembly
Tharga.Team.Service.dll

What kind of actor an audit entry is attributed to.

public enum AuditCallerType

Fields

ApiKey = 1

An API key.

System = 2

The application itself acting without a person behind it — a hosted service, a message handler, a scheduled job. Declared through an ambient audit scope; never inferred.

Unknown = 3

No actor could be established: no authenticated principal and no ambient audit scope.

Deliberately its own value rather than defaulting to User. A background caller used to be recorded as a user with a null identity, which is a false attribution — and read back later, a false attribution is indistinguishable from a true one. An absent answer can at least be seen.

User = 0

A person, authenticated through the web sign-in flow.