Interface WebAuthnRecoveryGate
Application-owned admission barrier for authoritative WebAuthn operations. Before granting a
permit, the application must compare its independent durable recovery marker and sealing-key
state with the authoritative store. A database snapshot that is internally consistent can
still be old, so checking only WebAuthn records is insufficient. Restore must stop new
admission and drain every outstanding permit before reopening traffic. Implementations must
honor the remaining positive caller-thread budget and preserve interrupt status. This gate
never creates a verification proof.
Reopening traffic means resuming deployment admission after recovery checks; it does not
reenable an account whose permanent WebAuthn fence has been disabled.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceOne caller-thread permit. -
Method Summary
Modifier and TypeMethodDescriptionAcquires an admission permit held through the entire operation, including the store write.
-
Method Details
-
acquire
Acquires an admission permit held through the entire operation, including the store write. Returnnullwhen traffic is closed or the external marker cannot be confirmed. A failure to acquire is an infrastructure outcome, not an invalid-credential verdict.- Parameters:
remainingBudget- the remaining positive operation budget- Returns:
- an admitted permit, or
nullwhen admission is unavailable - Since:
- 1.0.0
-