@model Client
@Localizer["Regenerate client secret"]
@Localizer["Warning."]
@Localizer["Regenerating the secret will immediately invalidate the current one. Any client using the existing secret will be unable to authenticate until it is updated with the new value. The new secret will be displayed exactly once and cannot be recovered afterwards."]
@Model.ClientName
- @Html.DisplayNameFor(model => model.ClientId)
- @Html.DisplayFor(model => model.ClientId)
- @Localizer["Current secrets"]
-
@if (Model.ClientSecrets != null && Model.ClientSecrets.Count > 0)
{
@foreach (var secret in Model.ClientSecrets)
{
- @secret.Description (created @secret.Created.ToString("u"))
}
}
else
{
@Localizer["No secret currently set."]
}