Interface OpenIdTokenResponseValidator

All Known Implementing Classes:
DefaultOpenIdTokenResponseValidator

@DefaultImplementation(DefaultOpenIdTokenResponseValidator.class) @Deprecated(since="4.8.0", forRemoval=true) public interface OpenIdTokenResponseValidator
Deprecated, for removal: This API element is subject to removal in a future version.
Validates an OpenID token response.
Since:
1.2.0
Author:
Sergio del Amo
  • Method Details

    • validate

      Optional<com.nimbusds.jwt.JWT> validate(OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata openIdProviderMetadata, OpenIdTokenResponse openIdTokenResponse, @Nullable @Nullable String nonce)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      clientConfiguration - The OAuth 2.0 client configuration
      openIdProviderMetadata - The OpenID provider metadata
      openIdTokenResponse - ID Token Access Token response
      nonce - The persisted nonce value
      Returns:
      true if the ID Token access response is considered valid