- All Superinterfaces:
CoreAuthenticator
- All Known Subinterfaces:
CredentialRecord
- All Known Implementing Classes:
CoreCredentialRecordImpl,CredentialRecordImpl
Core interface that represents FIDO CTAP2 credential record (Passkey credential record without ClientData).
-
Method Summary
Modifier and TypeMethodDescription@Nullable BooleanGets the backup state of this credential.@Nullable BooleanGets the backup eligibility status of this credential.@Nullable BooleanGets the user verification (UV) initialization status of this credential.voidsetBackedUp(boolean value) Sets the backup state of this credential.voidsetBackupEligible(boolean value) Sets the backup eligibility status of this credential.voidsetUvInitialized(boolean value) Sets the user verification (UV) initialization status of this credential.Methods inherited from interface com.webauthn4j.authenticator.CoreAuthenticator
getAttestationStatement, getAttestedCredentialData, getAuthenticatorExtensions, getCounter, setCounter
-
Method Details
-
isUvInitialized
Gets the user verification (UV) initialization status of this credential.- Returns:
- `true` if user verification is initialized, `false` if user verification is not initialized, `null` if no data is available (for backward compatibility).
-
setUvInitialized
void setUvInitialized(boolean value) Sets the user verification (UV) initialization status of this credential.- Parameters:
value- `true` to set the credential as user verification initialized, `false` otherwise.
-
isBackupEligible
Gets the backup eligibility status of this credential.- Returns:
- `true` if this credential is backup eligible, `false` if it is NOT backup eligible, `null` if no data is available (for backward compatibility).
-
setBackupEligible
void setBackupEligible(boolean value) Sets the backup eligibility status of this credential.- Parameters:
value- `true` to mark the credential as backup eligible, `false` otherwise.
-
isBackedUp
Gets the backup state of this credential.- Returns:
- `true` if this credential is backed up, `false` if it is NOT backed up, `null` if no data is available (for backward compatibility).
-
setBackedUp
void setBackedUp(boolean value) Sets the backup state of this credential.- Parameters:
value- `true` to mark the credential as backed up, `false` otherwise.
-