Changeset 52328 for trunk/src/wp-includes/Requests/Auth.php
- Timestamp:
- 12/06/2021 09:29:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/Auth.php
r52244 r52328 3 3 * Authentication provider interface 4 4 * 5 * @package Requests\Authentication 5 * @package Requests 6 * @subpackage Authentication 6 7 */ 7 8 namespace WpOrg\Requests;9 10 use WpOrg\Requests\Hooks;11 8 12 9 /** … … 18 15 * makes it much easier for users to use your provider. 19 16 * 20 * @see \WpOrg\Requests\Hooks21 * 22 * @ package Requests\Authentication17 * @see Requests_Hooks 18 * @package Requests 19 * @subpackage Authentication 23 20 */ 24 interface Auth {21 interface Requests_Auth { 25 22 /** 26 23 * Register hooks as needed 27 24 * 28 * This method is called in {@see \WpOrg\Requests\Requests::request()} when the user29 * has setan instance as the 'auth' option. Use this callback to register all the25 * This method is called in {@see Requests::request} when the user has set 26 * an instance as the 'auth' option. Use this callback to register all the 30 27 * hooks you'll need. 31 28 * 32 * @see \WpOrg\Requests\Hooks::register()33 * @param \WpOrg\Requests\Hooks $hooks Hook system29 * @see Requests_Hooks::register 30 * @param Requests_Hooks $hooks Hook system 34 31 */ 35 public function register( Hooks $hooks);32 public function register(Requests_Hooks $hooks); 36 33 }
Note: See TracChangeset
for help on using the changeset viewer.