BrowserAuthenticationTrait.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
Zumba\GastonJS\BrowserFile
vendor/jcalderonzumba/gastonjs/src/Browser/BrowserAuthenticationTrait.phpView source
<?php
namespace Zumba\GastonJS\Browser;
/**
* Trait BrowserAuthenticationTrait
* @package Zumba\GastonJS\Browser
*/
trait BrowserAuthenticationTrait {
/**
* Sets basic HTTP authentication
* @param $user
* @param $password
* @return bool
*/
public function setHttpAuth($user, $password) {
return $this
->command('set_http_auth', $user, $password);
}
}
Traits
Name | Description |
---|---|
BrowserAuthenticationTrait | Trait BrowserAuthenticationTrait @package Zumba\GastonJS\Browser |