public FrontendBehavior(StepType type, ChallengeType challengeType, CallAction callback, FrontendBehavior alternativeBehavior = null) { Type = type; ActionType = ActionType.Callback; Callback = callback; ChallengeType = challengeType; AlternativeBehavior = alternativeBehavior; }
public static FrontendBehavior CreateRedirect(Uri uri) { return(new() { ActionType = ActionType.Redirect, Callback = new CallAction(uri, HttpMethod.Get.Method), Type = StepType.Success }); }