Class BasicAuthentication

Basic authentication

Method Detail

_generateHeadersource protected static

_generateHeader( string $user , string $pass )

Generate basic [proxy] authentication header

Parameters

string $user
Username.
string $pass
Password.

Returns

string
string

authenticationsource public static

authentication( HttpSocket $http , array $authInfo )

Authentication

Parameters

HttpSocket $http
Http socket instance.
array $authInfo
$authInfo Authentication info.

See

http://www.ietf.org/rfc/rfc2617.txt

proxyAuthenticationsource public static

proxyAuthentication( HttpSocket $http , array $proxyInfo )

Proxy Authentication

Parameters

HttpSocket $http
Http socket instance.
array $proxyInfo
$proxyInfo Proxy info.

See

http://www.ietf.org/rfc/rfc2617.txt

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/class-BasicAuthentication.html