Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CurlAuthPlugin
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

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
Namespace: Guzzle\Plugin\CurlAuth
Located at Guzzle/Plugin/CurlAuth/CurlAuthPlugin.php
Methods summary
public
# __construct( string $username, string $password, integer $scheme = CURLAUTH_BASIC )

Constructor

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

Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()
public
# onRequestCreate( Guzzle\Common\Event $event )

Add basic auth

Add basic auth

Parameters

$event
Guzzle\Common\Event
$event
php-coveralls API documentation generated by ApiGen 2.8.0