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
  • Method Details

    • acquire

      Acquires an admission permit held through the entire operation, including the store write. Return null when 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 null when admission is unavailable
      Since:
      1.0.0