Deployer\Server\Configuration::setAuthenticationMethod PHP Method

setAuthenticationMethod() public method

Set authentication method
public setAuthenticationMethod ( integer $authenticationMethod ) : Configuration
$authenticationMethod integer
return Configuration
    public function setAuthenticationMethod($authenticationMethod)
    {
        $this->authenticationMethod = $authenticationMethod;
        return $this;
    }

Usage Example

コード例 #1
0
ファイル: Builder.php プロジェクト: acorncom/deployer
 /**
  * Using forward agent to authentication
  *
  * @return Builder
  */
 public function forwardAgent()
 {
     $this->config->setAuthenticationMethod(Configuration::AUTH_BY_AGENT);
     return $this;
 }