Class WebAuthnReauthentication
java.lang.Object
com.revetsec.webauthn.WebAuthnReauthentication
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 Summary
Modifier and TypeMethodDescriptionReturns the exact checked action label.Returns the exact successfully completed ceremony handle.byte @NonNull []Returns the credential used to reauthenticate; it need not be a removal target.Returns the configured namespace.Returns the configured RP ID.byte @NonNull []Returns the authoritative account handle.Returns the backup state stored by this successful reauthentication.Returns the credential's permanent backup eligibility.toString()Redacts account, credential, ceremony and action data.
-
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
Returns the authoritative account handle.- Returns:
- defensive handle copy
- Since:
- 1.0.0
-
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
-