| 1 | <?php | ||
| 19 | class Http extends BaseHttp | ||
| 20 | { | ||
| 21 | /** | ||
| 22 | * @const integer Use no authentication for HTTP connections. | ||
| 23 | * @since 1.0 | ||
| 24 | */ | ||
| 25 | const AUTHENTICATION_NONE = 0; | ||
| 26 | |||
| 27 | /** | ||
| 28 | * @const integer Use basic authentication for HTTP connections. | ||
| 29 | * @since 1.0 | ||
| 30 | */ | ||
| 31 | const AUTHENTICATION_BASIC = 1; | ||
| 32 | |||
| 33 | /** | ||
| 34 | * @const integer Use OAuth authentication for HTTP connections. | ||
| 35 | * @since 1.0 | ||
| 36 | */ | ||
| 37 | const AUTHENTICATION_OAUTH = 2; | ||
| 38 | |||
| 39 | /** | ||
| 40 | * Constructor. | ||
| 41 | * | ||
| 42 | * @param array $options Client options array. | ||
| 43 | * @param TransportInterface $transport The HTTP transport object. | ||
| 44 | * | ||
| 45 | * @since 1.0 | ||
| 46 | */ | ||
| 47 | public function __construct($options = array(), TransportInterface $transport = null) | ||
| 64 | } | ||
| 65 |