yavsc/src/Yavsc.Org/Views/Client/Index.cshtml

83 lines
2.4 KiB
Text
Raw Normal View History

2025-08-24 16:07:53 +01:00
@using IdentityServer8.Models
@model IEnumerable<IdentityServer8.EntityFramework.Entities.Client>
2025-08-19 15:40:16 +01:00
2026-02-22 23:39:56 +00:00
<h2>@Localizer["Index"]</h2>
2025-08-19 15:40:16 +01:00
<p>
2026-02-22 23:39:56 +00:00
<a asp-action="Create">@Localizer["Create New"]</a>
2025-08-19 15:40:16 +01:00
</p>
2025-08-24 16:50:52 +01:00
2025-08-19 15:40:16 +01:00
<table class="table">
<tr>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.ClientId)
2025-08-19 15:40:16 +01:00
</th>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.Enabled)
2025-08-19 15:40:16 +01:00
</th>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.ClientName)
2025-08-19 15:40:16 +01:00
</th>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.FrontChannelLogoutUri)
2025-08-19 15:40:16 +01:00
</th>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.RedirectUris)
2025-08-19 15:40:16 +01:00
</th>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.AbsoluteRefreshTokenLifetime)
2025-08-19 15:40:16 +01:00
</th>
<th>
2025-08-24 16:07:53 +01:00
@Html.DisplayNameFor(model => model.AllowedGrantTypes)
</th>
<th>
@Html.DisplayNameFor(model => model.AccessTokenType)
2025-08-19 15:40:16 +01:00
</th>
<th></th>
</tr>
2026-03-09 02:07:09 +00:00
@foreach (var item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.ClientId)
</td>
<td>
@Html.DisplayFor(modelItem => item.Enabled)
</td>
<td>
@Html.DisplayFor(modelItem => item.ClientName)
</td>
<td>
@Html.DisplayFor(modelItem => item.FrontChannelLogoutUri)
</td>
<td>
<ul>
@foreach (var uri in item.RedirectUris)
{
<li>@uri.RedirectUri</li>
}
</ul>
</td>
<td>
@Html.DisplayFor(modelItem => item.AbsoluteRefreshTokenLifetime)
</td>
<td>
<ul>
@foreach (var t in item.AllowedGrantTypes)
{
<li>@t.GrantType</li>
}
</ul>
</td>
<td>
@Enum.GetName(typeof(AccessTokenType), item.AccessTokenType)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
</td>
</tr>
}
2025-08-19 15:40:16 +01:00
</table>