Overview

Packages

  • Requests
    • Authentication
    • Cookies
    • Proxy
    • Session
    • Transport
    • Utilities

Classes

  • Requests_Auth_Basic

Interfaces

  • Requests_Auth
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Warning! You are currently reading the documentation for Requests 1.x.

It is recommended to upgrade to Requests 2.x at your earliest convenience. Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.

Visit the documentation for Requests_Auth in Requests 2.x.

Interface Requests_Auth

Authentication provider interface

Implement this interface to act as an authentication provider.

Parameters should be passed via the constructor where possible, as this makes it much easier for users to use your provider.

Direct known implementers

Requests_Auth_Basic
Package: Requests\Authentication
See: Requests_Hooks
Located at Requests/Auth.php
Methods summary
public
# register( Requests_Hooks $hooks )

Register hooks as needed

Register hooks as needed

This method is called in Requests::request when the user has set an instance as the 'auth' option. Use this callback to register all the hooks you'll need.

Parameters

$hooks
Hook system

See

Requests_Hooks::register()
Requests 1.8.1 API Documentation API documentation generated by ApiGen