Edit File by line
/home/barbar84/public_h.../wp-inclu.../Requests
File: Auth.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Authentication provider interface
[2] Fix | Delete
*
[3] Fix | Delete
* @package Requests
[4] Fix | Delete
* @subpackage Authentication
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/**
[8] Fix | Delete
* Authentication provider interface
[9] Fix | Delete
*
[10] Fix | Delete
* Implement this interface to act as an authentication provider.
[11] Fix | Delete
*
[12] Fix | Delete
* Parameters should be passed via the constructor where possible, as this
[13] Fix | Delete
* makes it much easier for users to use your provider.
[14] Fix | Delete
*
[15] Fix | Delete
* @see Requests_Hooks
[16] Fix | Delete
* @package Requests
[17] Fix | Delete
* @subpackage Authentication
[18] Fix | Delete
*/
[19] Fix | Delete
interface Requests_Auth {
[20] Fix | Delete
/**
[21] Fix | Delete
* Register hooks as needed
[22] Fix | Delete
*
[23] Fix | Delete
* This method is called in {@see Requests::request} when the user has set
[24] Fix | Delete
* an instance as the 'auth' option. Use this callback to register all the
[25] Fix | Delete
* hooks you'll need.
[26] Fix | Delete
*
[27] Fix | Delete
* @see Requests_Hooks::register
[28] Fix | Delete
* @param Requests_Hooks $hooks Hook system
[29] Fix | Delete
*/
[30] Fix | Delete
public function register(Requests_Hooks &$hooks);
[31] Fix | Delete
}
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function