|
#pragma checksum "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8afeee9533da3d42dc80a2b312a8dd03fb91e3653cfc2e59a54494cb293721f4"
// <auto-generated/>
#pragma warning disable 1591
namespace Keycloak.Web.Components.Layout
{
#line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
#nullable restore
#line (1,2)-(1,23) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using System.Net.Http
#nullable disable
;
#nullable restore
#line (2,2)-(2,28) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using System.Net.Http.Json
#nullable disable
;
#nullable restore
#line (3,2)-(3,45) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms
#nullable disable
;
#nullable restore
#line (4,2)-(4,47) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing
#nullable disable
;
#nullable restore
#line (5,2)-(5,43) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web
#nullable disable
;
#nullable restore
#line (6,2)-(6,61) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using static Microsoft.AspNetCore.Components.Web.RenderMode
#nullable disable
;
#nullable restore
#line (7,2)-(7,58) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization
#nullable disable
;
#nullable restore
#line (8,2)-(8,42) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.OutputCaching
#nullable disable
;
#nullable restore
#line (9,2)-(9,27) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Microsoft.JSInterop
#nullable disable
;
#nullable restore
#line (10,2)-(10,20) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Keycloak.Web
#nullable disable
;
#nullable restore
#line (11,2)-(11,31) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\_Imports.razor"
using Keycloak.Web.Components
#nullable disable
;
#nullable restore
#line (1,2)-(1,53) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
using Microsoft.AspNetCore.Components.Authorization
#nullable disable
;
#nullable restore
#line (2,2)-(2,31) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
using System.Security.Claims;
#nullable disable
#nullable restore
#line (3,2)-(3,34) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
using System.Security.Principal;
#nullable disable
#nullable restore
#line (4,2)-(4,36) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
using System.Security.Cryptography
#nullable disable
;
#nullable restore
#line (5,2)-(5,19) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
using System.Text
#nullable disable
;
#nullable restore
#line (6,2)-(6,39) "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
using System.IdentityModel.Tokens.Jwt
#nullable disable
;
#line default
#line hidden
#nullable restore
public partial class LoginDisplay : global::Microsoft.AspNetCore.Components.ComponentBase
#nullable disable
{
#pragma warning disable 1998
protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
{
__builder.OpenComponent<global::Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(0);
__builder.AddAttribute(1, "Authorized", (global::Microsoft.AspNetCore.Components.RenderFragment<global::Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
__builder2.OpenElement(2, "div");
__builder2.OpenElement(3, "span");
__builder2.AddContent(4, "Welcome ");
#nullable restore
#line (11,28)-(11,55) 25 "D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Components\Layout\LoginDisplay.razor"
__builder2.AddContent(5, context.User.Identity?.Name
#line default
#line hidden
#nullable disable
);
__builder2.AddContent(6, "!");
__builder2.CloseElement();
__builder2.AddMarkupContent(7, "\r\n ");
__builder2.OpenElement(8, "form");
__builder2.AddAttribute(9, "method", "post");
__builder2.AddAttribute(10, "action", "authentication/logout");
__builder2.AddAttribute(11, "style", "display:inline;");
__builder2.OpenComponent<global::Microsoft.AspNetCore.Components.Forms.AntiforgeryToken>(12);
__builder2.CloseComponent();
__builder2.AddMarkupContent(13, "\r\n ");
__builder2.AddMarkupContent(14, "<button type=\"submit\" class=\"btn btn-link\">Logout</button>");
__builder2.CloseElement();
__builder2.CloseElement();
}
));
__builder.AddAttribute(15, "NotAuthorized", (global::Microsoft.AspNetCore.Components.RenderFragment<global::Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
__builder2.AddMarkupContent(16, "<a href=\"authentication/login\" class=\"btn btn-primary\">Login</a>");
}
));
__builder.CloseComponent();
}
#pragma warning restore 1998
}
}
#pragma warning restore 1591
|