mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-65547 tool_mobile: New WS for generating tokens with qr login keys
This commit is contained in:
parent
9df5151013
commit
118852a710
4 changed files with 235 additions and 2 deletions
|
@ -78,5 +78,14 @@ $functions = array(
|
|||
'type' => 'write',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
);
|
||||
|
||||
'tool_mobile_get_tokens_for_qr_login' => array(
|
||||
'classname' => 'tool_mobile\external',
|
||||
'methodname' => 'get_tokens_for_qr_login',
|
||||
'description' => 'Returns a WebService token (and private token) for QR login.',
|
||||
'type' => 'read',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
'ajax' => true,
|
||||
'loginrequired' => false,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue