Table of Contents

Class AsiBackboneAcknowledgmentChallenge

Namespace
AsiBackbone.AspNetCore.Handshakes
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 AsiBackboneAcknowledgmentChallenge
Inheritance
AsiBackboneAcknowledgmentChallenge
Inherited Members

Properties

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

HandshakeRequest

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

public LiabilityHandshakeRequest HandshakeRequest { get; }

Property Value

LiabilityHandshakeRequest

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 LiabilityHandshakeRiskLevel RiskLevel { get; }

Property Value

LiabilityHandshakeRiskLevel

TraceId

Gets the optional trace identifier associated with the challenge.

public string? TraceId { get; }

Property Value

string

Methods

FromHandshakeRequest(LiabilityHandshakeRequest, AsiBackboneAcknowledgmentChallengeOptions?)

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

public static AsiBackboneAcknowledgmentChallenge FromHandshakeRequest(LiabilityHandshakeRequest request, AsiBackboneAcknowledgmentChallengeOptions? options = null)

Parameters

request LiabilityHandshakeRequest

The Core handshake request.

options AsiBackboneAcknowledgmentChallengeOptions

The challenge options.

Returns

AsiBackboneAcknowledgmentChallenge

A host-friendly acknowledgment challenge.