Class BasicAuthentication
Basic authentication
		
		
		
		Package: Cake\Network\Http
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Network/Http/BasicAuthentication.php
	
	Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
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
 - Username.
 - string $pass
 - Password.
 
Returns
					string
				
		authentication() 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
				
		proxyAuthentication() 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