Skip to content

IAuditActorResolver

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Resolves the actor (the who) of the current call.

public interface IAuditActorResolver

The default implementation reads the user of the HTTP request. It returns null when there is no authentication or the actor cannot be resolved; that state is not hidden, and the user interface shows “unknown”.

Resolves the current actor.

string? Resolve()

string?

The actor id, or null when it cannot be resolved.