Basho\Riak\Node\Builder::usingPamAuthentication PHP Method

usingPamAuthentication() public method

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.
public usingPamAuthentication ( $user )
$user
    public function usingPamAuthentication($user)
    {
        $this->config->setUser($user);
        $this->config->setAuth(true);
        return $this;
    }