Class PasskeyInfo
java.lang.Object
com.iizix.user.PasskeyInfo
A passkey of a user as the SignIn module shows it in "Sign-in & security": what the user needs to tell the passkeys apart, and no key material (CC-LOGIN-L8-PASSKEYS).
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe AAGUID of the authenticator in its text form, which names the make of the authenticator or of the passkey provider; all zeroes when the authenticator does not say.final booleanFlag for a passkey that was synchronized when it was last used (backed up): it survives the loss of one device.final booleanFlag for a passkey that may be synchronized between the devices of the user (backup eligible), e.g.final longThe time the passkey was registered, in epoch milliseconds.final StringThe identifier of the passkey on this server, used to rename and to remove it.final longThe time the passkey was last used to sign in, in epoch milliseconds, zero for never.final StringThe name the user gave the passkey, never null.final StringThe transports of the authenticator as the client reported them at registration, comma separated, e.g.Constructor Summary
ConstructorsConstructorDescriptionPasskeyInfo(String id, String nickname, long created, long lastUsed, boolean backupEligible, boolean backedUp, String transports, String aaguid) Creates the passkey information.Method Summary
Field Details
id
The identifier of the passkey on this server, used to rename and to remove it. It is not the credential ID of the authenticator.nickname
The name the user gave the passkey, never null.created
public final long createdThe time the passkey was registered, in epoch milliseconds.lastUsed
public final long lastUsedThe time the passkey was last used to sign in, in epoch milliseconds, zero for never.backupEligible
public final boolean backupEligibleFlag for a passkey that may be synchronized between the devices of the user (backup eligible), e.g. by iCloud Keychain or Google Password Manager.falseis a passkey bound to one device, such as a security key.backedUp
public final boolean backedUpFlag for a passkey that was synchronized when it was last used (backed up): it survives the loss of one device.transports
The transports of the authenticator as the client reported them at registration, comma separated, e.g.internalorusb,nfc; empty when none was reported.aaguid
The AAGUID of the authenticator in its text form, which names the make of the authenticator or of the passkey provider; all zeroes when the authenticator does not say.
Constructor Details
PasskeyInfo
public PasskeyInfo(String id, String nickname, long created, long lastUsed, boolean backupEligible, boolean backedUp, String transports, String aaguid) Creates the passkey information.- Parameters:
id- The identifier of the passkey on this server.nickname- The name the user gave the passkey.created- The registration time, epoch milliseconds.lastUsed- The time of the last use, epoch milliseconds, zero for never.backupEligible- Flag for a passkey that may be synchronized.backedUp- Flag for a passkey that was synchronized when last used.transports- The transports, comma separated, null for none.aaguid- The AAGUID in its text form, null for none.- Throws:
NullPointerException- Ifidis null.
Method Details
toString