Details for Token:

{{ tokenSerial() }}

{{ element.keyMap.label }} @switch (element.keyMap.key) { @case ("container_serial") { @if (element.isEditing()) { Enter Container @for (option of containerService.filteredContainerOptions(); track option) { {{ option }} } } @else {
@if (containerService.containerBelongsToUser(element.value)) { {{ element.value }} } @else { {{ element.value }} } @if (element.value !== "") { }
} } @case ("realms") {
@for (realm of element.value; track realm) { • {{ realm }} }
} @case ("tokengroup") {
@for (tokengroup of element.value; track tokengroup) { • {{ tokengroup }} }
} @case ("description") { @if (element.isEditing()) { } @else {
{{ element.value }}
} } @default { @if (element.isEditing() && isNumberElement(element.keyMap.key)) { } @else if (element.isEditing()) { } @else {
{{ tableUtilsService.getDisplayTextForKeyAndRevoked( element.keyMap.key, element.value, tokenIsRevoked() ) }}
} } }
@if (element.keyMap.key === "active" && !isAnyEditingOrRevoked()) { @if ((tokenIsActive() && authService.actionAllowed("disable")) || (!tokenIsActive() && authService.actionAllowed("enable"))) {
} } @else if (element.keyMap.key === "failcount" && !isAnyEditingOrRevoked() && authService.actionAllowed("reset")) {
} @else if (element.keyMap.key === "container_serial" && !isAnyEditingOrRevoked() && element.value && authService.actionAllowed("container_remove_token")) {
} @else if (isEditableElement(element.keyMap.key)) { }