Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_user\devicekey Class Reference

Update public key against registered user device. More...

Static Public Member Functions

static update_device_public_key (string $uuid, string $appid, string $publickey)
 Update the users public key for the specified device and app.
 

Detailed Description

Update public key against registered user device.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 4.2

Member Function Documentation

◆ update_device_public_key()

static core_user\devicekey::update_device_public_key ( string $uuid,
string $appid,
string $publickey )
static

Update the users public key for the specified device and app.

Parameters
string$uuidThe device UUID.
string$appidThe app id, usually something like com.moodle.moodlemobile.
string$publickeyThe app generated public key.
Return values
bool
Since
Moodle 4.2

The documentation for this class was generated from the following file: