Interface CredentialRecord

All Known Implementing Classes:
ImmutableCredentialRecord

public interface CredentialRecord
Represents a Credential Record that is stored by the Relying Party after successful registration.
Since:
6.4
  • Method Details

    • getCredentialType

      @Nullable PublicKeyCredentialType getCredentialType()
      Returns:
    • getCredentialId

      Bytes getCredentialId()
      Returns:
    • getPublicKey

      PublicKeyCose getPublicKey()
      Returns:
    • getSignatureCount

      long getSignatureCount()
      Returns:
    • isUvInitialized

      boolean isUvInitialized()
      uvInitialized is the value of the UV (user verified) flag in authData and indicates whether any credential from this public key credential source has had the UV flag set.
      Returns:
    • getTransports

      Set<AuthenticatorTransport> getTransports()
      The transpots is the value returned from response.getTransports().
      Returns:
    • isBackupEligible

      boolean isBackupEligible()
      The backupElgible flag is the same as the BE flag in authData.
      Returns:
    • isBackupState

      boolean isBackupState()
      The backupState flag is the same as the BS flag in authData.
      Returns:
    • getUserEntityUserId

      Bytes getUserEntityUserId()
      A reference to the associated PublicKeyCredentialUserEntity.getId()
      Returns:
    • getAttestationObject

      @Nullable Bytes getAttestationObject()
      The attestationObject is the value of the attestationObject attribute when the public key credential source was registered.
      Returns:
      the attestationObject
    • getAttestationClientDataJSON

      @Nullable Bytes getAttestationClientDataJSON()
      The attestationClientDataJSON is the value of the attestationObject attribute when the public key credential source was registered.
      Returns:
    • getLabel

      String getLabel()
      A human-readable label for this CredentialRecord assigned by the user.
      Returns:
      a label
    • getLastUsed

      Instant getLastUsed()
      The last time this CredentialRecord was used.
      Returns:
      the last time this CredentialRecord was used.
    • getCreated

      Instant getCreated()
      When this CredentialRecord was created.
      Returns:
      When this CredentialRecord was created.