setCloudConfig(CloudConfig::CLOUD_NAME, $cloudName); } /** * Sets the OAuth2.0 token. * * @param string $oauthToken Used instead of API key and API secret * * @return $this * * @api */ public function oauthToken($oauthToken) { return $this->setCloudConfig(CloudConfig::OAUTH_TOKEN, $oauthToken); } /** * Sets the Cloud configuration key with the specified value. * * @param string $configKey The configuration key. * @param mixed $configValue THe configuration value. * * @return $this * * @internal */ abstract public function setCloudConfig($configKey, $configValue); }