CN.CAICT.IDIS.Client.Web/Components/Pages/Auth.razor

17 lines
248 B
Plaintext
Raw Normal View History

2024-05-09 01:24:50 +08:00
@page "/auth"
@using Microsoft.AspNetCore.Authorization
@attribute [Authorize]
<PageTitle>Auth</PageTitle>
2025-07-04 01:49:47 +08:00
<Error></Error>
2024-05-09 01:24:50 +08:00
<h1>You are authenticated</h1>
2025-07-04 01:49:47 +08:00
<div></div>
2024-05-09 01:24:50 +08:00
<AuthorizeView>
Hello @context.User.Identity?.Name!
</AuthorizeView>