@model IEnumerable @{ ViewData["Title"] = "My Passkeys"; }

Passkeys & Biometric Login

Passkeys let you sign in with Face ID, fingerprint, or your device PIN — no password needed.

@if (TempData["Success"] is string msg) {
@msg
}
Add a passkey for this device

You'll be prompted to authenticate using Face ID, Touch ID, Windows Hello, or a security key.

@if (!Model.Any()) {

No passkeys registered yet.
Add one above to enable biometric login on this device.

} else {
@foreach (var pk in Model) {
@(pk.DeviceFriendlyName ?? "Unnamed device")
Added @pk.CreatedAt.ToLocalTime().ToString("MMM d, yyyy") @if (pk.LastUsedAt.HasValue) { • Last used @pk.LastUsedAt.Value.ToLocalTime().ToString("MMM d, yyyy") }
@Html.AntiForgeryToken()
}

Removing a passkey means you'll need to use your password on that device next time.

}
@section Scripts { }