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
CorrelationId
Gets the correlation identifier associated with the challenge.
public string? CorrelationId { get; }
Property Value
HandshakeId
Gets the stable handshake identifier.
public string HandshakeId { get; }
Property Value
Metadata
Gets additional host-provided challenge metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }
Property Value
OperationName
Gets the operation name requiring acknowledgment.
public string OperationName { get; }
Property Value
PolicyHash
Gets the optional policy hash associated with the challenge.
public string? PolicyHash { get; }
Property Value
PolicyVersion
Gets the optional policy version associated with the challenge.
public string? PolicyVersion { get; }
Property Value
ReasonCode
Gets the machine-readable reason code for the challenge.
public string ReasonCode { get; }
Property Value
ReasonMessage
Gets the optional user-facing reason message for the challenge.
public string? ReasonMessage { get; }
Property Value
RequiredAcknowledgmentCode
Gets the required acknowledgment code.
public string RequiredAcknowledgmentCode { get; }
Property Value
RequiredAcknowledgmentText
Gets the required acknowledgment text.
public string RequiredAcknowledgmentText { get; }
Property Value
RiskCategory
Gets the optional host-defined risk category.
public string? RiskCategory { get; }
Property Value
RiskLevel
Gets the risk level associated with the challenge.
public AcknowledgmentRiskLevel RiskLevel { get; }
Property Value
TraceId
Gets the optional trace identifier associated with the challenge.
public string? TraceId { get; }
Property Value
Methods
FromAcknowledgmentRequest(AcknowledgmentRequest, AcknowledgmentChallengeOptions?)
Creates a host-friendly challenge from a Core handshake request.
public static AcknowledgmentChallenge FromAcknowledgmentRequest(AcknowledgmentRequest request, AcknowledgmentChallengeOptions? options = null)
Parameters
requestAcknowledgmentRequestThe Core handshake request.
optionsAcknowledgmentChallengeOptionsThe challenge options.
Returns
- AcknowledgmentChallenge
A host-friendly acknowledgment challenge.