You are here

BrowserAuthenticationTrait.php in Zircon Profile 8.0

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserAuthenticationTrait.php
View 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

Namesort descending Description
BrowserAuthenticationTrait Trait BrowserAuthenticationTrait @package Zumba\GastonJS\Browser