Class BasicAuthentication
Basic authentication
Package: Cake\Network\Http
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Network/Http/BasicAuthentication.php
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Network/Http/BasicAuthentication.php
Method Summary
-
_generateHeader() protected static
Generate basic [proxy] authentication header -
authentication() public static
Authentication -
proxyAuthentication() public static
Proxy Authentication
Method Detail
_generateHeader() protected static ¶
_generateHeader( string $user , string $pass )
Generate basic [proxy] authentication header
Parameters
- string $user
- string $pass
Returns
string
proxyAuthentication() public static ¶
proxyAuthentication( HttpSocket
$http , array $proxyInfo )
Proxy Authentication
Parameters
-
HttpSocket
$http - array $proxyInfo
See
http://www.ietf.org/rfc/rfc2617.txt