public static function createFromConnectionString($connectionString) {
        $tokenizedSettings = self::parseAndValidateKeys($connectionString);
        if (array_key_exists(Resources::SHARED_SHARED_ACCESS_KEY_NAME, $tokenizedSettings)) {
            return self::createServiceBusWithSasAuthentication($tokenizedSettings, $connectionString);
        }

        return self::createServiceBusWithWrapAuthentication($tokenizedSettings, $connectionString);
    }