Files
2024-12-10 16:55:36 +01:00

14 lines
260 B
Plaintext

@page "/"
@using HopFrame.Security.Claims
@using HopFrame.Web.Components
<AuthorizedView RedirectIfUnauthorized="login"/>
<PageTitle>Home</PageTitle>
<h1>Hello, world!</h1>
Welcome to your new app. @Context.User?.Username
@inject ITokenContext Context