eZ\Bundle\EzPublishRestBundle\Features\Context\RestClient\DriverInterface::setAuthentication PHP Method

setAuthentication() public method

Set authentication.
public setAuthentication ( string $user, string $password, string $type = self::AUTH_TYPE_BASIC )
$user string
$password string
$type string Authentication type
    public function setAuthentication($user, $password, $type = self::AUTH_TYPE_BASIC);