Class DPoPProofContext
java.lang.Object
com.nimbusds.oauth2.sdk.dpop.verifiers.DPoPProofContext
- All Implemented Interfaces:
com.nimbusds.jose.proc.SecurityContext
DPoP proof JWT verification context.
-
Constructor Summary
ConstructorsConstructorDescriptionDPoPProofContext(DPoPIssuer issuer) Creates a new DPoP proof JWT verification context. -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jose.util.Base64URLGets the "ath" (access token hash) claim.Returns the DPoP proof issuer.com.nimbusds.jwt.JWTClaimsSetGets the DPoP proof JWT claims set.voidsetAccessTokenHash(com.nimbusds.jose.util.Base64URL ath) Sets the "ath" (access token hash) claim.voidsetJWTClaimsSet(com.nimbusds.jwt.JWTClaimsSet claimsSet) Sets the DPoP proof JWT claims set.
-
Constructor Details
-
DPoPProofContext
Creates a new DPoP proof JWT verification context.- Parameters:
issuer- The DPoP proof issuer. Must not benull.
-
-
Method Details
-
getIssuer
Returns the DPoP proof issuer.- Returns:
- The DPoP proof issuer.
-
setAccessTokenHash
Sets the "ath" (access token hash) claim.- Parameters:
ath- The "ath" claim,nullif not applicable.
-
getAccessTokenHash
Gets the "ath" (access token hash) claim.- Returns:
- The "ath" claim,
nullif not applicable.
-
setJWTClaimsSet
Sets the DPoP proof JWT claims set.- Parameters:
claimsSet- The claims set,nullif not available.
-
getJWTClaimsSet
Gets the DPoP proof JWT claims set.- Returns:
- The claims set,
nullif not available.
-