public function BrowserAuthenticationTrait::setHttpAuth in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserAuthenticationTrait.php \Zumba\GastonJS\Browser\BrowserAuthenticationTrait::setHttpAuth()
Sets basic HTTP authentication
Parameters
$user:
$password:
Return value
bool
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Browser/ BrowserAuthenticationTrait.php, line 16
Class
- BrowserAuthenticationTrait
- Trait BrowserAuthenticationTrait @package Zumba\GastonJS\Browser
Namespace
Zumba\GastonJS\BrowserCode
public function setHttpAuth($user, $password) {
return $this
->command('set_http_auth', $user, $password);
}