Interface OpenIdClaimsValidator
- All Known Implementing Classes:
AudienceClaimValidator
,AuthorizedPartyClaimValidator
,IssuerClaimValidator
public interface OpenIdClaimsValidator
JWT Claims Validator for ID Token.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(OpenIdClaims claims, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata)
-
Method Details
-
validate
boolean validate(OpenIdClaims claims, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata) - Parameters:
claims
- ID Token ClaimsclientConfiguration
- OAuth 2.0 Client ConfigurationproviderMetadata
- OpenID Connect provider metadata- Returns:
- Whether the JWT Claims pass validation or not.
-