|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($username, $password, $scheme=CURLAUTH_BASIC) | |
| onRequestCreate (Event $event) | |
Static Public Member Functions | |
| static | getSubscribedEvents () |
Adds specified curl auth to all requests sent from a client. Defaults to CURLAUTH_BASIC if none supplied.
Definition at line 13 of file CurlAuthPlugin.php.
| Guzzle\Plugin\CurlAuth\CurlAuthPlugin::__construct | ( | $username, | |
| $password, | |||
$scheme = CURLAUTH_BASIC |
|||
| ) |
| string | $username | HTTP basic auth username |
| string | $password | Password |
| int | $scheme | Curl auth scheme |
Definition at line 24 of file CurlAuthPlugin.php.
References Guzzle\Common\Version\warn().
|
static |
Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
Implements Symfony\Component\EventDispatcher\EventSubscriberInterface.
Definition at line 32 of file CurlAuthPlugin.php.
| Guzzle\Plugin\CurlAuth\CurlAuthPlugin::onRequestCreate | ( | Event | $event | ) |