You are here

public function BrowserAuthenticationTrait::setHttpAuth 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::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\Browser

Code

public function setHttpAuth($user, $password) {
  return $this
    ->command('set_http_auth', $user, $password);
}