Class DPoPProofContext
java.lang.Object
org.springframework.security.oauth2.jwt.DPoPProofContext
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<T extends OAuth2Token>
TReturns the access token if the request is a Protected Resource request.Returns the DPoP ProofJwt.Returns the value of the HTTP method of the request to which the DPoP ProofJwtis attached.Returns the value of the HTTP target URI of the request to which the DPoP ProofJwtis attached, without query and fragment parts.static DPoPProofContext.BuilderwithDPoPProof(String dPoPProof) Returns a newDPoPProofContext.Builder, initialized with the DPoP ProofJwt.
-
Method Details
-
getDPoPProof
-
getMethod
-
getTargetUri
-
getAccessToken
Returns the access token if the request is a Protected Resource request.- Type Parameters:
T- the type of the access token- Returns:
- the access token if the request is a Protected Resource request or
null
-
withDPoPProof
Returns a newDPoPProofContext.Builder, initialized with the DPoP ProofJwt.- Parameters:
dPoPProof- the DPoP ProofJwt- Returns:
- the
DPoPProofContext.Builder
-