You are here

trait BrowserAuthenticationTrait in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserAuthenticationTrait.php \Zumba\GastonJS\Browser\BrowserAuthenticationTrait

Trait BrowserAuthenticationTrait @package Zumba\GastonJS\Browser

Hierarchy

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserAuthenticationTrait.php, line 9

Namespace

Zumba\GastonJS\Browser
View source
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);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
BrowserAuthenticationTrait::setHttpAuth public function Sets basic HTTP authentication