Class AuthorizedPartyClaimValidator
java.lang.Object
io.micronaut.security.oauth2.endpoint.token.response.validation.AuthorizedPartyClaimValidator
- All Implemented Interfaces:
OpenIdClaimsValidator
@Requires(property="micronaut.security.oauth2.openid.claims-validation.authorized-party",
notEquals="false")
@Singleton
public class AuthorizedPartyClaimValidator
extends Object
implements OpenIdClaimsValidator
Authorized party claim validation.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(OpenIdClaims claims, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata)
-
Constructor Details
-
AuthorizedPartyClaimValidator
public AuthorizedPartyClaimValidator()
-
-
Method Details
-
validate
public boolean validate(OpenIdClaims claims, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata providerMetadata) - Specified by:
validate
in interfaceOpenIdClaimsValidator
- Parameters:
claims
- ID Token ClaimsclientConfiguration
- OAuth 2.0 Client ConfigurationproviderMetadata
- OpenID Connect provider metadata- Returns:
- Whether the JWT Claims pass validation or not.
-