mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 21:13:12 +00:00
13 lines
219 B
Text
13 lines
219 B
Text
@page "/auth"
|
|
|
|
@using Microsoft.AspNetCore.Authorization
|
|
|
|
@attribute [Authorize]
|
|
|
|
<PageTitle>Auth</PageTitle>
|
|
|
|
<h1>You are authenticated</h1>
|
|
|
|
<AuthorizeView>
|
|
Hello @context.User.Identity?.Name!
|
|
</AuthorizeView>
|