Class CurlAuthPlugin
Adds specified curl auth to all requests sent from a client. Defaults to
CURLAUTH_BASIC if none supplied.
-
Guzzle\Plugin\CurlAuth\CurlAuthPlugin
implements
Symfony\Component\EventDispatcher\EventSubscriberInterface
Methods summary
public
|
#
__construct( string $username, string $password, integer $scheme = CURLAUTH_BASIC )
Constructor
Parameters
- $username
string $username HTTP basic auth username
- $password
string $password Password
- $scheme
integer $scheme Curl auth scheme
|
public static
array
|
#
getSubscribedEvents( )
Returns an array of event names this subscriber wants to listen to.
Returns an array of event names this subscriber wants to listen to.
Returns
array The event names to listen to
Implementation of
|
public
|
|