Zend_Http_Client::encodeAuthHeader
Create a HTTP authentication "Authorization:" header according to the specified user, password and authentication method.
Signature
public function encodeAuthHeader(string
$user,
string
$password,
[string
$type = self::AUTH_BASIC] )
Parameters
$user
— string$password
— string$type
— string
Returns
- string