Class AccessTokenResponseContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public class AccessTokenResponseContext
    extends AbstractAuthenticatableOIDCContext
    A context to hold an OIDC token request response. If authenticated, the Token was received over a TLS protected channel where TLS credential validation was performed and successful.
    • Field Detail

      • rawTokenResponse

        @Nullable
        private Map<String,​Object> rawTokenResponse
        The raw token response as a map.
      • idToken

        @Nullable
        private com.nimbusds.jwt.JWT idToken
        The id_token, should match that in the rawTokenResponse if one exists.
    • Constructor Detail

      • AccessTokenResponseContext

        public AccessTokenResponseContext()
    • Method Detail

      • setRawTokenResponse

        public void setRawTokenResponse​(@Nullable
                                        Map<String,​Object> rawResponse)
        Set the raw token response as a map.
        Parameters:
        rawResponse - the raw response.
      • getRawTokenResponse

        @Nullable
        public Map<String,​Object> getRawTokenResponse()
        Get the raw token response map.
        Returns:
        the raw response map.
      • setIdToken

        public void setIdToken​(@Nullable
                               com.nimbusds.jwt.JWT token)
        Set the id_token.
        Parameters:
        token - the id_token.
      • getIdToken

        @Nullable
        public com.nimbusds.jwt.JWT getIdToken()
        Get the id_token.
        Returns:
        the id_token.