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 Summary
Modifier and TypeMethodDescriptionOptional<com.nimbusds.jwt.JWT>
validate
(OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata openIdProviderMetadata, OpenIdTokenResponse openIdTokenResponse, @Nullable String nonce) Deprecated, for removal: This API element is subject to removal in a future version.
-
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 configurationopenIdProviderMetadata
- The OpenID provider metadataopenIdTokenResponse
- ID Token Access Token responsenonce
- The persisted nonce value- Returns:
- true if the ID Token access response is considered valid
-
ReactiveOpenIdTokenResponseValidator
instead.