@page "/web/auth/challenge/{id:guid}/verify/{factorId:guid}" @using DysonNetwork.Sphere.Account @model DysonNetwork.Sphere.Pages.Auth.VerifyFactorModel @{ ViewData["Title"] = "Verify Your Identity"; }

Verify Your Identity

@switch (Model.FactorType) { case AccountAuthFactorType.EmailCode: We've sent a verification code to your email. break; case AccountAuthFactorType.InAppCode: Enter the code from your authenticator app. break; case AccountAuthFactorType.TimedCode: Enter your time-based verification code. break; case AccountAuthFactorType.PinCode: Enter your PIN code. break; case AccountAuthFactorType.Password: Enter your password. break; default: Please verify your identity. break; }

@if (Model.AuthChallenge == null) {

Challenge not found or expired.

} else if (Model.AuthChallenge.StepRemain == 0) {

Verification successful. Redirecting...

} else {
}
@section Scripts { @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } }