Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Browser / BrowserAuthenticationTrait.php
1 <?php
2
3 namespace Zumba\GastonJS\Browser;
4
5 /**
6  * Trait BrowserAuthenticationTrait
7  * @package Zumba\GastonJS\Browser
8  */
9 trait BrowserAuthenticationTrait {
10   /**
11    * Sets basic HTTP authentication
12    * @param $user
13    * @param $password
14    * @return bool
15    */
16   public function setHttpAuth($user, $password) {
17     return $this->command('set_http_auth', $user, $password);
18   }
19 }