Class DPoPProofUse

java.lang.Object
com.nimbusds.oauth2.sdk.dpop.verifiers.DPoPProofUse

@Immutable public final class DPoPProofUse extends Object
DPoP proof use.
  • Constructor Details

    • DPoPProofUse

      public DPoPProofUse(DPoPIssuer iss, JWTID jti, long maxAge)
      Creates new DPoP proof use.
      Parameters:
      iss - The DPoP proof issuer. Must not be null.
      jti - The DPoP proof JWT ID. Must not be null.
      maxAge - The maximum accepted DPoP proof "iat" age relative to the current system time, in seconds. Intended to limit replay by bounding how long a proof is valid after issue.
  • Method Details

    • getIssuer

      Returns the DPoP proof issuer.
      Returns:
      The issuer.
    • getJWTID

      public JWTID getJWTID()
      Returns the DPoP proof JWT ID.
      Returns:
      The JWT ID.
    • getMaxAge

      public long getMaxAge()
      Returns the maximum accepted DPoP proof "iat" age relative to the current system time, in seconds. Intended to limit replay by bounding how long a proof is valid after issue.
      Returns:
      The maximum accepted DPoP proof iat age.