<?php /** * Authentication provider interface * * @package Requests\Authentication */ namespace WpOrg\Requests; use WpOrg\Requests\Hooks; /** * 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. * * @see \WpOrg\Requests\Hooks * * @package Requests\Authentication */ interface Auth { /** * Register hooks as needed * * This method is called in {@see \WpOrg\Requests\Requests::request()} when the user * has set an instance as the 'auth' option. Use this callback to register all the * hooks you'll need. * * @see \WpOrg\Requests\Hooks::register() * @param \WpOrg\Requests\Hooks $hooks Hook system */ public function register(Hooks $hooks); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Auth | Folder | 0755 |
|
|
Cookie | Folder | 0755 |
|
|
Exception | Folder | 0755 |
|
|
Proxy | Folder | 0755 |
|
|
Response | Folder | 0755 |
|
|
Transport | Folder | 0755 |
|
|
Utility | Folder | 0755 |
|
|
Auth.php | File | 860 B | 0644 |
|
Autoload.php | File | 9.12 KB | 0644 |
|
Capability.php | File | 652 B | 0644 |
|
Cookie.php | File | 15.03 KB | 0644 |
|
Exception.php | File | 1.09 KB | 0644 |
|
HookManager.php | File | 709 B | 0644 |
|
Hooks.php | File | 2.96 KB | 0644 |
|
IdnaEncoder.php | File | 12.14 KB | 0644 |
|
Ipv6.php | File | 5.51 KB | 0644 |
|
Iri.php | File | 28.93 KB | 0644 |
|
Port.php | File | 1.47 KB | 0644 |
|
Proxy.php | File | 867 B | 0644 |
|
Requests.php | File | 33.2 KB | 0644 |
|
Response.php | File | 4.18 KB | 0644 |
|
Session.php | File | 8.89 KB | 0644 |
|
Ssl.php | File | 5.3 KB | 0644 |
|
Transport.php | File | 1.51 KB | 0644 |
|