|
|
|
@ -12,28 +12,4 @@
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
<AuthorizeView>
|
|
|
|
|
<Authorized>
|
|
|
|
|
<h1>Hello @context.User.Identity.Name !!</h1>
|
|
|
|
|
|
|
|
|
|
<p>Welcome to Blazor Learner.</p>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
@foreach (var claim in context.User.Claims)
|
|
|
|
|
{
|
|
|
|
|
<li>@claim.Type: @claim.Value</li>
|
|
|
|
|
}
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
</Authorized>
|
|
|
|
|
<Authorizing>
|
|
|
|
|
<h1>Loading ...</h1>
|
|
|
|
|
</Authorizing>
|
|
|
|
|
<NotAuthorized>
|
|
|
|
|
<h1>Echec de la connexion!</h1>
|
|
|
|
|
<p>Vous n'etes pas connecté</p>
|
|
|
|
|
</NotAuthorized>
|
|
|
|
|
</AuthorizeView>
|
|
|
|
|
|
|
|
|
|
<SurveyPrompt Title="How is Blazor working for you?" />
|
|
|
|
|
<SurveyPrompt Title="How is Blazor working for you?" />
|
|
|
|
|
<button @onclick="CreateLogs">Create logs</button>
|