Open topic with navigation

# ISimulateAuthResult Interface

Authentication simulation result object. Used to define the result of an authentication simulation step.

C# Syntax

    public interface ISimulateAuthResult

## Public Methods

| Name | Description
--- | --- | ---
| Cancel(SimulateAuthCancelOrigin) | Authentication simulation canceled.
| Cancel(String) | Authentication simulation canceled.
| Fail(SimulateAuthFailReason) | Authentication simulation failed.
| Fail(String) | Authentication simulation failed.
| Succeed | Authentication simulation succeeded.

Top

## Cancel(SimulateAuthCancelOrigin) Method

Authentication simulation canceled.

C# Syntax

    void Cancel(
       SimulateAuthCancelOrigin origin
    )

Parameters

origin
  cancellation origin

## Cancel(String) Method

Authentication simulation canceled.

C# Syntax

    void Cancel(
       string origin
    )

Parameters

origin
  cancellation origin

## Fail(SimulateAuthFailReason) Method

Authentication simulation failed.

C# Syntax

    void Fail(
       SimulateAuthFailReason reason
    )

Parameters

reason
  failure reason

## Fail(String) Method

Authentication simulation failed.

C# Syntax

    void Fail(
       string reason
    )

Parameters

reason
  failure reason

## Succeed Method

Authentication simulation succeeded.

C# Syntax

    void Succeed ()