@Singleton
public class NonceClaimValidator
extends java.lang.Object
Constructor and Description |
---|
NonceClaimValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(OpenIdClaims claims,
OauthClientConfiguration clientConfiguration,
OpenIdProviderMetadata providerMetadata,
java.lang.String nonce) |
public boolean validate(OpenIdClaims claims, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata, @Nullable java.lang.String nonce)
claims
- ID Token ClaimsclientConfiguration
- OAuth 2.0 Client ConfigurationproviderMetadata
- OpenID Connect provider metadatanonce
- The nonce value