. /** * Web services for auth_userkey. * * @package auth_userkey * @copyright 2016 Dmitrii Metelkin (dmitriim@catalyst-au.net) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $functions = array( 'auth_userkey_request_login_url' => array( 'classname' => 'auth_userkey_external', 'methodname' => 'request_login_url', 'classpath' => 'auth/userkey/externallib.php', 'description' => 'Return one time key based login URL', 'type' => 'write', 'capabilities' => 'auth/userkey:generatekey', ) ); $services = array( 'Request login URL Service' => array( 'functions' => array ('auth_userkey_request_login_url'), 'restrictedusers' => 0, 'enabled' => 1, ) );