public final void setJwtValidatorFactory(Function<ClientRegistration, OAuth2TokenValidator<Jwt>> jwtValidatorFactory) {
		Assert.notNull(jwtValidatorFactory, "jwtValidatorFactory cannot be null");
		this.jwtValidatorFactory = jwtValidatorFactory;
	}
public final void setJwtValidatorFactory(Function<ClientRegistration, OAuth2TokenValidator<Jwt>> jwtValidatorFactory) {
		Assert.notNull(jwtValidatorFactory, "jwtValidatorFactory cannot be null");
		this.jwtValidatorFactory = jwtValidatorFactory;
	}
public final void setJwtValidatorFactory ( Function < ClientRegistration , OAuth2TokenValidator < Jwt > > jwtValidatorFactory ) { Assert . notNull ( jwtValidatorFactory , "jwtValidatorFactory cannot be null" ) ; this . jwtValidatorFactory = jwtValidatorFactory ; }
Sets the factory that provides an {@link OAuth2TokenValidator}, which is used by the {@link JwtDecoder}.
The default is {@link OidcIdTokenValidator}.

@param jwtValidatorFactory the factory that provides an {@link OAuth2TokenValidator}
Sets the factory that provides an { @link OAuth2TokenValidator } which is used by the { @link JwtDecoder } . The default is { @link OidcIdTokenValidator } .