. /** * Web services for auth_jwt. * * @package auth_jwt * @copyright 2016 Dmitrii Metelkin (dmitriim@catalyst-au.net), 2024 Kumi Systems e.U. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die; $functions = array( 'auth_jwt_request_login_url' => array( 'classname' => 'auth_jwt_external', 'methodname' => 'request_login_url', 'classpath' => 'auth/jwt/externallib.php', 'description' => 'Return one time key based login URL', 'type' => 'write', 'capabilities' => 'auth/jwt:generatekey', ) ); $services = array( 'User key authentication web service' => array( 'functions' => array ('auth_jwt_request_login_url'), 'restrictedusers' => 1, 'enabled' => 1, ) );