Class JwtProcessingResult

java.lang.Object
com.pingidentity.sdk.oauth20.jwtprocessing.JwtProcessingResult

public class JwtProcessingResult extends Object
Represents the result of processing a JWT bearer grant.
Since:
13.1
  • Method Details

    • getStatus

      public JwtProcessingResult.STATUS getStatus()
      Returns the processing status.
      Returns:
      the status
      Since:
      13.1
    • getSub

      public String getSub()
      Returns the subject identifier from the JWT.
      Returns:
      the subject identifier
      Since:
      13.1
    • getClaims

      public Map<String,Object> getClaims()
      Returns the claims extracted from the JWT.
      Returns:
      a copy of the claims map, never null
      Since:
      13.1
    • getAccessGrantAttributesHolder

      public AccessGrantAttributesHolder getAccessGrantAttributesHolder()
      Returns the access grant attributes holder.
      Returns:
      the access grant attributes holder
      Since:
      13.1
    • getAdditionalParameters

      public Map<String,Object> getAdditionalParameters()
      Returns additional parameters to include in the token response.
      Returns:
      a copy of the additional parameters map, never null
      Since:
      13.1
    • getErrorResult

      public JwtProcessingErrorResult 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 a JwtProcessingResult with the given status.
      Parameters:
      status - the processing status
      Returns:
      a new JwtProcessingResult.Builder
      Since:
      13.1