Class WebAuthnReauthentication

java.lang.Object
com.revetsec.webauthn.WebAuthnReauthentication

@Immutable public final class WebAuthnReauthentication extends Object
Checked account-pinned, action-bound WebAuthn reauthentication after admitted commitment. The application still authorizes its current session and atomically consumes its own action. This fact is not a transferable permission and does not authorize replay or recovery.
Since:
1.0.0
  • Method Details

    • getCredentialNamespace

      Returns the configured namespace.
      Returns:
      namespace
      Since:
      1.0.0
    • getRelyingPartyId

      Returns the configured RP ID.
      Returns:
      relying-party ID
      Since:
      1.0.0
    • getUserHandle

      public byte @NonNull [] getUserHandle()
      Returns the authoritative account handle.
      Returns:
      defensive handle copy
      Since:
      1.0.0
    • getCredentialId

      public byte @NonNull [] getCredentialId()
      Returns the credential used to reauthenticate; it need not be a removal target.
      Returns:
      defensive credential ID copy
      Since:
      1.0.0
    • isBackupEligible

      Returns the credential's permanent backup eligibility.
      Returns:
      backup eligibility
      Since:
      1.0.0
    • isBackedUp

      Returns the backup state stored by this successful reauthentication.
      Returns:
      current backed-up state
      Since:
      1.0.0
    • getActionPurpose

      Returns the exact checked action label.
      Returns:
      action purpose
      Since:
      1.0.0
    • getCeremonyId

      Returns the exact successfully completed ceremony handle. The application compares it with its original pending action as well as current session, account, scope and purpose. It is not a new correlation secret or permission, and must not be logged.
      Returns:
      completed ceremony ID
      Since:
      1.0.0
    • toString

      Redacts account, credential, ceremony and action data.
      Overrides:
      toString in class Object
      Returns:
      fixed description
      Since:
      1.0.0