@Override
    protected boolean isAuthenticationMethodSupported(final CallContext callContext, final OAuthRegisteredService registeredService,
                                                      final OAuth20ClientAuthenticationMethods requiredAuthnMethod) {
        val authMethodSupported = oidcServerDiscoverySettings.getTokenEndpointAuthMethodsSupported()
            .stream()
            .map(OAuth20ClientAuthenticationMethods::parse)
            .anyMatch(method -> method == requiredAuthnMethod);
        return super.isAuthenticationMethodSupported(callContext, registeredService, requiredAuthnMethod) && authMethodSupported;
    }
This is {@link OidcClientIdClientSecretAuthenticator}.

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