protected boolean validateJwtAlgorithm(final Algorithm alg) {
        return JWSAlgorithm.Family.HMAC_SHA.contains(alg)
            || JWSAlgorithm.Family.RSA.contains(alg)
            || JWSAlgorithm.Family.EC.contains(alg);
    }
This is {@link OidcJwtAuthenticator}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/authn/OidcJwtAuthenticator.java