You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
611 B
Plaintext
32 lines
611 B
Plaintext
5 months ago
|
@model OpenAuth.IdentityServer.Quickstart.Diagnostics.DiagnosticsViewModel
|
||
|
|
||
|
<h1>Authentication cookie</h1>
|
||
|
|
||
|
<h3>Claims</h3>
|
||
|
<dl>
|
||
|
@foreach (var claim in Model.AuthenticateResult.Principal.Claims)
|
||
|
{
|
||
|
<dt>@claim.Type</dt>
|
||
|
<dd>@claim.Value</dd>
|
||
|
}
|
||
|
</dl>
|
||
|
|
||
|
<h3>Properties</h3>
|
||
|
<dl>
|
||
|
@foreach (var prop in Model.AuthenticateResult.Properties.Items)
|
||
|
{
|
||
|
<dt>@prop.Key</dt>
|
||
|
<dd>@prop.Value</dd>
|
||
|
}
|
||
|
</dl>
|
||
|
|
||
|
@if (Model.Clients.Any())
|
||
|
{
|
||
|
<h3>Clients</h3>
|
||
|
<ul>
|
||
|
@foreach (var client in Model.Clients)
|
||
|
{
|
||
|
<li>@client</li>
|
||
|
}
|
||
|
</ul>
|
||
|
}
|