Interface WebAuthnRecoveryGate.Permit

All Superinterfaces:
AutoCloseable
Enclosing interface:
WebAuthnRecoveryGate

One caller-thread permit. A restore barrier must wait for its close before replacing authoritative state. isCurrent() can revoke admission while an operation runs; after a possible write, that condition requires reconciliation rather than success.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases this operation's restore barrier.
    Checks that the external durable recovery marker and key state remain admitted.
  • Method Details

    • isCurrent

      Checks that the external durable recovery marker and key state remain admitted.
      Returns:
      true only while this permit still admits traffic
      Since:
      1.0.0
    • close

      void close()
      Releases this operation's restore barrier. @since 1.0.0
      Specified by:
      close in interface AutoCloseable