File Manager Lite
Dir:
/home/atomylvb/jarangomd.com/old/wp-includes/Requests/src
Upload
[..]
Auth/
Rename
Del
Auth.php (860 B)
Edit
Rename
Del
Autoload.php (9.12 KB)
Edit
Rename
Del
Capability.php (652 B)
Edit
Rename
Del
Cookie/
Rename
Del
Cookie.php (15.03 KB)
Edit
Rename
Del
Exception/
Rename
Del
Exception.php (1.09 KB)
Edit
Rename
Del
HookManager.php (709 B)
Edit
Rename
Del
Hooks.php (2.96 KB)
Edit
Rename
Del
Ipv6.php (5.51 KB)
Edit
Rename
Del
Iri.php (28.93 KB)
Edit
Rename
Del
Port.php (1.47 KB)
Edit
Rename
Del
Proxy/
Rename
Del
Proxy.php (867 B)
Edit
Rename
Del
Requests.php (33.2 KB)
Edit
Rename
Del
Response/
Rename
Del
Response.php (4.18 KB)
Edit
Rename
Del
Session.php (8.89 KB)
Edit
Rename
Del
Ssl.php (5.3 KB)
Edit
Rename
Del
Transport/
Rename
Del
Transport.php (1.51 KB)
Edit
Rename
Del
Utility/
Rename
Del
Edit: Auth.php
<?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); }
Simpan