Wave/Wave/Components/Pages/Auth.razor
2024-01-11 13:54:29 +01:00

14 lines
219 B
Plaintext

@page "/auth"
@using Microsoft.AspNetCore.Authorization
@attribute [Authorize]
<PageTitle>Auth</PageTitle>
<h1>You are authenticated</h1>
<AuthorizeView>
Hello @context.User.Identity?.Name!
</AuthorizeView>