Class DPoPProofUse
java.lang.Object
com.nimbusds.oauth2.sdk.dpop.verifiers.DPoPProofUse
DPoP proof use.
-
Constructor Summary
ConstructorsConstructorDescriptionDPoPProofUse(DPoPIssuer iss, JWTID jti, long maxAge) Creates new DPoP proof use. -
Method Summary
Modifier and TypeMethodDescriptionReturns the DPoP proof issuer.getJWTID()Returns the DPoP proof JWT ID.longReturns the maximum accepted DPoP proof "iat" age relative to the current system time, in seconds.
-
Constructor Details
-
DPoPProofUse
Creates new DPoP proof use.- Parameters:
iss- The DPoP proof issuer. Must not benull.jti- The DPoP proof JWT ID. Must not benull.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
Returns the DPoP proof JWT ID.- Returns:
- The JWT ID.
-
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
iatage.
-