Class JwtProcessingResult
java.lang.Object
com.pingidentity.sdk.oauth20.jwtprocessing.JwtProcessingResult
Represents the result of processing a JWT bearer grant.
- Since:
- 13.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forJwtProcessingResult.static enumIndicates the status of a JWT processing result. -
Method Summary
Modifier and TypeMethodDescriptionstatic JwtProcessingResult.Builderbuilder(JwtProcessingResult.STATUS status) Returns a new builder for constructing aJwtProcessingResultwith the given status.Returns the access grant attributes holder.Returns additional parameters to include in the token response.Returns the claims extracted from the JWT.Returns the error result if processing failed, or null if successful.Returns the processing status.getSub()Returns the subject identifier from the JWT.
-
Method Details
-
getStatus
Returns the processing status.- Returns:
- the status
- Since:
- 13.1
-
getSub
Returns the subject identifier from the JWT.- Returns:
- the subject identifier
- Since:
- 13.1
-
getClaims
Returns the claims extracted from the JWT.- Returns:
- a copy of the claims map, never null
- Since:
- 13.1
-
getAccessGrantAttributesHolder
Returns the access grant attributes holder.- Returns:
- the access grant attributes holder
- Since:
- 13.1
-
getAdditionalParameters
Returns additional parameters to include in the token response.- Returns:
- a copy of the additional parameters map, never null
- Since:
- 13.1
-
getErrorResult
Returns the error result if processing failed, or null if successful.- Returns:
- the error result, or null
- Since:
- 13.1
-
builder
Returns a new builder for constructing aJwtProcessingResultwith the given status.- Parameters:
status- the processing status- Returns:
- a new
JwtProcessingResult.Builder - Since:
- 13.1
-