Zum Hauptinhalt springen

CallerTrustLevel

Namespace: Meshmakers.Octo.Sdk.Common.Services

The effective trust of a verified caller as it travels through the pipeline, so a node can demand a minimum ("delegate only when the caller is at least strongly authenticated" — AB#5126). A channel-neutral mirror of the identity directory's trust scale (AB#5122, RtTrustLevelEnum): the SDK cannot reference the generated identity CK model, and the value that reaches a node is already the effective trust — min(enrollment, message) — computed at the directory boundary, so no dimension detail is lost by flattening it here.

public enum CallerTrustLevel

Inheritance Object → ValueType → Enum → CallerTrustLevel
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Remarks:

A small, totally ordered scale — None < Weak < Strong — whose numeric keys match RtTrustLevelEnum one-for-one so the future directory wiring (AB#5122/5123/5124/5125) maps across the service boundary by value. The default is CallerTrustLevel.None so an execution with no verified caller (anonymous / service account) never appears to meet a trust minimum.

Fields​

NameValueDescription
None0No trust — anonymous, or a caller that carries no verified-identifier binding.
Weak1Weakly trusted — e.g. a self-asserted or single-factor binding.
Strong2Strongly trusted — e.g. a fully enrolled binding with an authenticated message.