Class AsiBackboneAcknowledgmentChallengeResult
- Namespace
- AsiBackbone.AspNetCore.Handshakes
- Assembly
- AsiBackbone.AspNetCore.dll
Represents the result of handling a host-submitted acknowledgment challenge response.
public sealed class AsiBackboneAcknowledgmentChallengeResult
- Inheritance
-
AsiBackboneAcknowledgmentChallengeResult
- Inherited Members
Properties
Acknowledged
Gets a value indicating whether the response was accepted by the actor.
public bool Acknowledged { get; }
Property Value
Acknowledgment
Gets the Core acknowledgment response when one was created.
public LiabilityHandshakeAcknowledgment? Acknowledgment { get; }
Property Value
Rejected
Gets a value indicating whether the response was rejected by the actor.
public bool Rejected { get; }
Property Value
Result
Gets the operation result describing response handling success or failure.
public OperationResult Result { get; }
Property Value
Succeeded
Gets a value indicating whether the response was handled successfully.
public bool Succeeded { get; }
Property Value
Methods
Failure(string, string)
Creates a failed acknowledgment challenge result.
public static AsiBackboneAcknowledgmentChallengeResult Failure(string code, string message)
Parameters
Returns
- AsiBackboneAcknowledgmentChallengeResult
A failed challenge result.
Success(LiabilityHandshakeAcknowledgment)
Creates a successful acknowledgment challenge result.
public static AsiBackboneAcknowledgmentChallengeResult Success(LiabilityHandshakeAcknowledgment acknowledgment)
Parameters
acknowledgmentLiabilityHandshakeAcknowledgmentThe Core acknowledgment response.
Returns
- AsiBackboneAcknowledgmentChallengeResult
A successful challenge result.