Basic authentication adapter for Cake\Http\Client
Generally not directly constructed, but instead used by Cake\Http\Client when $options['auth']['type'] is 'basic'
_generateHeader( string $user , string $pass )
Generate basic [proxy] authentication header
$user
$pass
authentication( Cake\Http\Client\Request $request , array $credentials )
Add Authorization header to the request.
Cake\Http\Client\Request
$request
$credentials
Cake\Http\Client\Request
proxyAuthentication( Cake\Http\Client\Request $request , array $credentials )
Proxy Authentication
Cake\Http\Client\Request
$request
$credentials
Cake\Http\Client\Request
© 2005–2017 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.
https://api.cakephp.org/3.4/class-Cake.Http.Client.Auth.Basic.html