|
#pragma checksum "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2e6fdebabcc19e02f275985ac159c8ebcc17923b8b2273c925f0ddb04dc630b7"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Microsoft.AspNetCore.Identity.UI.V4.Pages.Internal.Account.Manage.Areas_Identity_Pages_V4_Account_Manage_ShowRecoveryCodes), @"mvc.1.0.razor-page", @"/Areas/Identity/Pages/V4/Account/Manage/ShowRecoveryCodes.cshtml")]
namespace Microsoft.AspNetCore.Identity.UI.V4.Pages.Internal.Account.Manage
{
#line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Mvc;
using global::Microsoft.AspNetCore.Mvc.Rendering;
using global::Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line (1,2)-(1,66) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\_ViewImports.cshtml"
using Microsoft.AspNetCore.Identity.UI.V4.Pages.Account.Internal
#nullable disable
;
#nullable restore
#line (1,2)-(1,73) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\_ViewImports.cshtml"
using Microsoft.AspNetCore.Identity.UI.V4.Pages.Account.Manage.Internal
#nullable disable
;
#line default
#line hidden
[global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute("Identifier", "/Areas/Identity/Pages/V4/Account/Manage/ShowRecoveryCodes.cshtml")]
[global::System.Runtime.CompilerServices.CreateNewOnMetadataUpdateAttribute]
#nullable restore
internal sealed class Areas_Identity_Pages_V4_Account_Manage_ShowRecoveryCodes : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
#nullable disable
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("name", "_StatusMessage", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line hidden
#pragma warning disable 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
#pragma warning restore 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
#pragma warning disable 0169
private string __tagHelperStringValueBuffer;
#pragma warning restore 0169
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
{
get
{
if (__backed__tagHelperScopeManager == null)
{
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
}
return __backed__tagHelperScopeManager;
}
}
private global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#nullable restore
#line (3,3)-(6,1) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
ViewData["Title"] = "Recovery codes";
ViewData["ActivePage"] = "TwoFactorAuthentication";
#line default
#line hidden
#nullable disable
WriteLiteral("\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2e6fdebabcc19e02f275985ac159c8ebcc17923b8b2273c925f0ddb04dc630b74096", async() => {
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_0.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.
#nullable restore
#line (8,37)-(8,50) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
StatusMessage
#line default
#line hidden
#nullable disable
);
__tagHelperExecutionContext.AddTagHelperAttribute("for", __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n<h3>");
Write(
#nullable restore
#line (9,6)-(9,23) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
ViewData["Title"]
#line default
#line hidden
#nullable disable
);
WriteLiteral(@"</h3>
<div class=""alert alert-warning"" role=""alert"">
<p>
<strong>Put these codes in a safe place.</strong>
</p>
<p>
If you lose your device and don't have the recovery codes you will lose access to your account.
</p>
</div>
<div class=""row"">
<div class=""col-md-12"">
");
#nullable restore
#line (20,10)-(22,1) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
for (var row = 0; row < (Model.RecoveryCodes?.Length ?? 0); row += 2)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <code class=\"recovery-code\">");
Write(
#nullable restore
#line (22,42)-(22,67) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
Model.RecoveryCodes![row]
#line default
#line hidden
#nullable disable
);
WriteLiteral("</code>");
WriteLiteral(" ");
WriteLiteral("<code class=\"recovery-code\">");
Write(
#nullable restore
#line (22,122)-(22,150) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
Model.RecoveryCodes[row + 1]
#line default
#line hidden
#nullable disable
);
WriteLiteral("</code><br />\r\n");
#nullable restore
#line (23,1)-(24,1) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(" </div>\r\n</div>\r\n");
}
#pragma warning restore 1998
#nullable restore
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
#nullable disable
#nullable restore
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
#nullable disable
#nullable restore
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
#nullable disable
#nullable restore
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
#nullable disable
#nullable restore
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<ShowRecoveryCodesModel> Html { get; private set; } = default!;
#nullable disable
#nullable restore
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ShowRecoveryCodesModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ShowRecoveryCodesModel>)PageContext?.ViewData!;
#nullable disable
public
#nullable restore
#line (2,8)-(2,30) "D:\a\_work\1\s\src\Identity\UI\src\Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml"
ShowRecoveryCodesModel
#line default
#line hidden
#nullable disable
Model => ViewData.Model;
}
}
#pragma warning restore 1591
|