protected IDTokenValidator createRSATokenValidator(final JWSAlgorithm jwsAlgorithm, final ClientID clientID) {
        try {
            return new IDTokenValidator(metadata.getIssuer(), clientID, jwsAlgorithm, metadata.getJWKSetURI().toURL(),
                configuration.findResourceRetriever());
        } catch (final MalformedURLException e) {
            throw new OidcException(e);
        }
    }
<p>createRSATokenValidator.</p>

@param jwsAlgorithm a {@link JWSAlgorithm} object
@param clientID a {@link ClientID} object
@return a {@link IDTokenValidator} object
pac4j-oidc/src/main/java/org/pac4j/oidc/profile/creator/TokenValidator.java