Enable a given pass

@param  string $passName
@return void
161520
public function enablePass($passName)
	{
		foreach (array_keys($this->disabledPasses, $passName, true) as $k)
		{
			unset($this->disabledPasses[$k]);
		}
	}
209416
public function amHttpAuthenticated($username, $password)
    {
        if ($this->isFunctional) {
            $this->client->setServerParameter('PHP_AUTH_USER', $username);
            $this->client->setServerParameter('PHP_AUTH_PW', $password);
        } else {
            $this->client->setAuth($username, $password);
        }
    }
1243402
protected function checkPassword($pass = '')
    {
        if (!hash_equals($this->pool->config->passphrase->value, $pass)) {
            --$this->authTries;

            if (0 === $this->authTries) {
                $this->disconnect();
            } else {
                $this->write('Wrong password. Please, try again: ');
            }
        } else {
            $this->writeln('You are authorized.');
            $this->auth = true;
        }
    }
957034
private function enablePragma($name)
    {
        $this->pragmas[$name] = true;

        switch ($name) {
            case Mustache_Engine::PRAGMA_BLOCKS:
                $this->pragmaBlocks = true;
                break;

            case Mustache_Engine::PRAGMA_FILTERS:
                $this->pragmaFilters = true;
                break;
        }
    }
1061282
public function login($uname, $pass)
    {

        if(parent::login($uname, $pass)){
            $this->connect();
        }

        return true;
    }
1219177
public function setPassive(/* boolean */ $passive) {
		// Close connection before changing password.
		if ($this->passive !== $passive) {
			$this->passive = $passive;
			if (isset($this->handle) && $this->handle != null) {
				$this->pasv($this->passive);
			}
		}
	}
1117806
public function enable($name = null)
	{
		// Check if it exists. if not, bail out
		if ( ! $this->field($name))
		{
			throw new \RuntimeException('Field "'.$name.'" does not exist in this Fieldset.');
		}

		if (isset($this->disabled[$name]))
		{
			unset($this->disabled[$name]);
		}

		return $this;
	}
753949
public function enable()
    {
        $this->manager->enable($this);

        if ($this->referenced) {
            $this->manager->reference($this);
        }
    }
123565
public static function enable($configuration = array())
	{
		self::setConfiguration($configuration);

		if (!self::initialize()) {
			return;
		}

		error_reporting(self::$configuration->getErrorReportingLevel());
	}
96619
public function login($uname, $pass, $passive = false)
    {
        if (!ftp_login($this->connection, $uname, $pass)) {
            throw new \Exception("Could not authenticate with credentials given.");
        }

        if ($passive) {
            \ftp_pasv($this->connection, true);
        }

        return true;
    }
484900
protected function activatePlugin(string $plugin): void
    {
        require_once WPMU_PLUGIN_DIR.'/'.$plugin;

        do_action('activate_'.$plugin);

        $plugins = $this->getActivePlugins();
        $plugins[] = $plugin;

        $this->setActivePlugins($plugins);
    }
119535
public function activate($username)
    {
        $user = $this->findUserByUsernameOrThrowException($username);
        $user->setEnabled(true);
        $this->userManager->updateUser($user);

        $event = new UserEvent($user, $this->getRequest());
        $this->dispatcher->dispatch(Events::USER_ACTIVATED, $event);
    }
600291
public function enableSSL($strict = false)
    {
        $this->setScheme(self::SCHEME_SSL);
        if ($strict === false) {
            $this->setOption(CURLOPT_SSL_VERIFYPEER, 0);
            $this->setOption(CURLOPT_SSL_VERIFYHOST, 0);
        } else {
            $this->setOption(CURLOPT_SSL_VERIFYPEER, 0);
            $this->setOption(CURLOPT_SSL_VERIFYHOST, 1);
        }
    }
899258
static function enable(string $name) {
        if (!isset(self::$_captchaList[$name])) {
            Console::warning("Captcha generator \"$name\" do not exist.");
            return;
        }
        self::$_enableList = self::$_enableList + [$name];
    }
963347
static function enable(Int $level = 0)
    {
        if (!self::$instance)
            self::$instance  = new self($level);

        if (!self::$locked)
            self::$instance->level = $level;
    }
268342
void startPass(String passName) {
    checkState(currentTracer == null);
    currentPassName = passName;
    currentTracer = newTracer(passName);
    beforePass(passName);
  }
757439
protected function initConnection($username = null, $passwd = null) {
		if (is_null(self::$_parsedDsn['charset'])) {
			self::$_parsedDsn['charset'] = 'UTF8';
		}

		$session_mode = OCI_DEFAULT;
		if ($username === '/' && empty($passwd)) {
			$session_mode = OCI_CRED_EXT;
		}

		if ($this->getAttribute(PDO::ATTR_PERSISTENT)) {
			$this->_dbh = @oci_pconnect($username, $passwd, self::$_parsedDsn['dbname'], self::$_parsedDsn['charset'], $session_mode);
		}
		else {
			$this->_dbh = @oci_new_connect ($username, $passwd, self::$_parsedDsn['dbname'], self::$_parsedDsn['charset'], $session_mode);
		}

		if (YII_DEBUG) {
			$this->checkError($this->_dbh);
		}
		else {
			if ($this->_dbh === false) {
				throw new CDbNoConnectionException('No DB');
			}
		}
	}