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

usingTrustAuthentication() public method

Build nodes with trust 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 usingTrustAuthentication ( string $user = '' )
$user string
    public function usingTrustAuthentication($user = '')
    {
        $this->config->setUser($user);
        $this->config->setAuth(true);
        return $this;
    }