public void setSecret(String secret) {
        this.clientSecret = secret;
        this.available = checkAvailable();
    }
Sets the client secret for the translator API.

@param secret The secret to set.
tika-translate/src/main/java/org/apache/tika/language/translate/impl/MicrosoftTranslator.java