pub struct PasskeyInfo {
pub id: String,
pub name: String,
pub created_at: i64,
pub last_used_at: Option<i64>,
pub rp_id: String,
pub app: bool,
pub usable_here: bool,
}Expand description
One of the session user’s passkeys (ListPasskeys), the web UI’s as
well as the apps’: the user sees every way they sign in, and the web
UI’s me.passkeys lists the same ones.
Fields§
§id: StringIts credential id, base64url with no padding, as the web UI names
it: what RenamePasskey and RemovePasskey take. For an app
passkey, that of the credential_id bytes the platform gave.
name: StringWhat its user called it; an app passkey’s is the device’s (the web UI shows it as “Spoolframe app · <name>”).
created_at: i64Unix seconds.
last_used_at: Option<i64>None if it has never signed them in.
rp_id: StringThe relying party it was made for: the server’s app relying party
(ServerId::rp_id), LEGACY_APP_RP_ID, or the host of the
server’s web UI.
app: boolMade in a Spoolframe app (is_app_rp_id).
usable_here: boolAn app can sign in with it: only an app passkey made for this
server’s relying party. One made for LEGACY_APP_RP_ID is an
app passkey that cannot: list it as old, to add again. A web UI’s
is listed so the user sees it, and can rename or remove it.