Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
eZ
Bundle
EzPublishRestBundle
Features
Context
RestClient
DriverInterface
setAuthentication
eZ\Bundle\EzPublishRestBundle\Features\Context\RestClient\DriverInterface::setAuthentication PHP Method
DriverInterface Interface Documentation
Show file
Open project: ezsystems/ezpublish-kernel
setAuthentication()
public
method
Set authentication.
public
setAuthentication
(
string
$user
,
string
$password
,
string
$type
= self::AUTH_TYPE_BASIC )
$user
string
$password
string
$type
string
Authentication type
public function setAuthentication($user, $password, $type = self::AUTH_TYPE_BASIC);
DriverInterface
getBody
getHeader
getHeaders
getStatusCode
getStatusMessage
send
setAuthentication
setBody
setHeader
setHeaders
setHost
setMethod
setResource