Fr3nch13/CakePHP Utilities

Basic
in package

Basic authentication adapter for Cake\Http\Client

Generally not directly constructed, but instead used by when $options['auth']['type'] is 'basic'

Table of Contents

Methods

authentication()  : Request
Add Authorization header to the request.
proxyAuthentication()  : Request
Proxy Authentication
_generateHeader()  : string
Generate basic [proxy] authentication header

Methods

_generateHeader()

Generate basic [proxy] authentication header

protected _generateHeader(string $user, string $pass) : string
Parameters
$user : string

Username.

$pass : string

Password.

Return values
string

        
On this page

Search results