Table of Contents

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

bool

Acknowledgment

Gets the Core acknowledgment response when one was created.

public LiabilityHandshakeAcknowledgment? Acknowledgment { get; }

Property Value

LiabilityHandshakeAcknowledgment

Rejected

Gets a value indicating whether the response was rejected by the actor.

public bool Rejected { get; }

Property Value

bool

Result

Gets the operation result describing response handling success or failure.

public OperationResult Result { get; }

Property Value

OperationResult

Succeeded

Gets a value indicating whether the response was handled successfully.

public bool Succeeded { get; }

Property Value

bool

Methods

Failure(string, string)

Creates a failed acknowledgment challenge result.

public static AsiBackboneAcknowledgmentChallengeResult Failure(string code, string message)

Parameters

code string

The failure reason code.

message string

The failure reason message.

Returns

AsiBackboneAcknowledgmentChallengeResult

A failed challenge result.

Success(LiabilityHandshakeAcknowledgment)

Creates a successful acknowledgment challenge result.

public static AsiBackboneAcknowledgmentChallengeResult Success(LiabilityHandshakeAcknowledgment acknowledgment)

Parameters

acknowledgment LiabilityHandshakeAcknowledgment

The Core acknowledgment response.

Returns

AsiBackboneAcknowledgmentChallengeResult

A successful challenge result.