Interface DPoPProofVerifier.ReplayCache

Enclosing class:
DPoPProofVerifier

public static interface DPoPProofVerifier.ReplayCache
Remembers which proofs were used.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    firstUse(String jtiHash, long expiresAt)
    Records jtiHash, unless it is already recorded.
  • Method Details

    • firstUse

      boolean firstUse(String jtiHash, long expiresAt)
      Records jtiHash, unless it is already recorded.
      Parameters:
      expiresAt - epoch milliseconds after which it may be forgotten
      Returns:
      true the first time a hash is offered