public function DriverInterface::setBasicAuth in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Driver/DriverInterface.php \Behat\Mink\Driver\DriverInterface::setBasicAuth()
Sets HTTP Basic authentication parameters.
Parameters
string|Boolean $user user name or false to disable authentication:
string $password password:
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
1 method overrides DriverInterface::setBasicAuth()
- CoreDriver::setBasicAuth in vendor/
behat/ mink/ src/ Driver/ CoreDriver.php - Sets HTTP Basic authentication parameters.
File
- vendor/
behat/ mink/ src/ Driver/ DriverInterface.php, line 151
Class
- DriverInterface
- Driver interface.
Namespace
Behat\Mink\DriverCode
public function setBasicAuth($user, $password);