@DefaultImplementation(value=DefaultOpenIdTokenResponseValidator.class) public interface OpenIdTokenResponseValidator
Modifier and Type | Method and Description |
---|---|
java.util.Optional<com.nimbusds.jwt.JWT> |
validate(OauthClientConfiguration clientConfiguration,
OpenIdProviderMetadata openIdProviderMetadata,
OpenIdTokenResponse openIdTokenResponse,
java.lang.String nonce) |
java.util.Optional<com.nimbusds.jwt.JWT> validate(OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata openIdProviderMetadata, OpenIdTokenResponse openIdTokenResponse, @Nullable java.lang.String nonce)
clientConfiguration
- The OAuth 2.0 client configurationopenIdProviderMetadata
- The OpenID provider metadataopenIdTokenResponse
- ID Token Access Token responsenonce
- The persisted nonce value