@Override
    public void destroy() {
        watchableScript.close();
    }
This is {@link GroovyDelegatedClientAuthenticationCredentialResolver}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/authentication/principal/GroovyDelegatedClientAuthenticationCredentialResolver.java