setUser() public method

public setUser ( string $user )
$user string
コード例 #1
0
ファイル: Builder.php プロジェクト: jjulien/riak-php-client
 /**
  * usingPamAuthentication
  *
  * Build nodes with PAM authentication
  *
  * User authentication and access rules are only available in Riak versions 2 and above. To use this feature, TSL
  * is required to communicate with your Riak nodes.
  *
  * @param $user
  *
  * @return $this
  */
 public function usingPamAuthentication($user)
 {
     $this->config->setUser($user);
     $this->config->setAuth(true);
     return $this;
 }