Table of Contents

Class AcknowledgmentChallenge

Namespace
AsiBackbone.AspNetCore.Acknowledgments
Assembly
AsiBackbone.AspNetCore.dll

Represents an ASP.NET Core-friendly acknowledgment challenge that a host can render using any UI or transport.

public sealed class AcknowledgmentChallenge
Inheritance
AcknowledgmentChallenge
Inherited Members

Properties

AcknowledgmentRequest

Gets the framework-neutral Core handshake request used for round-tripping acknowledgment responses.

public AcknowledgmentRequest AcknowledgmentRequest { get; }

Property Value

AcknowledgmentRequest

CorrelationId

Gets the correlation identifier associated with the challenge.

public string? CorrelationId { get; }

Property Value

string

HandshakeId

Gets the stable handshake identifier.

public string HandshakeId { get; }

Property Value

string

Metadata

Gets additional host-provided challenge metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

Property Value

IReadOnlyDictionary<string, string>

OperationName

Gets the operation name requiring acknowledgment.

public string OperationName { get; }

Property Value

string

PolicyHash

Gets the optional policy hash associated with the challenge.

public string? PolicyHash { get; }

Property Value

string

PolicyVersion

Gets the optional policy version associated with the challenge.

public string? PolicyVersion { get; }

Property Value

string

ReasonCode

Gets the machine-readable reason code for the challenge.

public string ReasonCode { get; }

Property Value

string

ReasonMessage

Gets the optional user-facing reason message for the challenge.

public string? ReasonMessage { get; }

Property Value

string

RequiredAcknowledgmentCode

Gets the required acknowledgment code.

public string RequiredAcknowledgmentCode { get; }

Property Value

string

RequiredAcknowledgmentText

Gets the required acknowledgment text.

public string RequiredAcknowledgmentText { get; }

Property Value

string

RiskCategory

Gets the optional host-defined risk category.

public string? RiskCategory { get; }

Property Value

string

RiskLevel

Gets the risk level associated with the challenge.

public AcknowledgmentRiskLevel RiskLevel { get; }

Property Value

AcknowledgmentRiskLevel

TraceId

Gets the optional trace identifier associated with the challenge.

public string? TraceId { get; }

Property Value

string

Methods

FromAcknowledgmentRequest(AcknowledgmentRequest, AcknowledgmentChallengeOptions?)

Creates a host-friendly challenge from a Core handshake request.

public static AcknowledgmentChallenge FromAcknowledgmentRequest(AcknowledgmentRequest request, AcknowledgmentChallengeOptions? options = null)

Parameters

request AcknowledgmentRequest

The Core handshake request.

options AcknowledgmentChallengeOptions

The challenge options.

Returns

AcknowledgmentChallenge

A host-friendly acknowledgment challenge.