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