MDL-61622 auth: New WS is_age_digital_consent_verification_enabled

This commit is contained in:
Juan Leyva 2018-03-09 13:39:40 +01:00
parent 1287039e62
commit 1f7565c121
4 changed files with 85 additions and 1 deletions

View file

@ -55,6 +55,15 @@ $functions = array(
'methodname' => 'is_minor',
'description' => 'Requests a check if a user is a digital minor.',
'type' => 'read',
'ajax' => true,
'loginrequired' => false,
),
'core_auth_is_age_digital_consent_verification_enabled' => array(
'classname' => 'core_auth_external',
'methodname' => 'is_age_digital_consent_verification_enabled',
'description' => 'Checks if age digital consent verification is enabled.',
'type' => 'read',
'ajax' => true,
'loginrequired' => false,
),
'core_badges_get_user_badges' => array(