Merge branch 'MDL-67301-dynreg-squashed-310' of https://github.com/cengage/moodle...
[moodle.git] / mod / lti / service / memberships / classes / local / service / memberships.php
index 46d437c..695e33f 100644 (file)
@@ -102,6 +102,15 @@ class memberships extends \mod_lti\local\ltiservice\service_base {
 
     }
 
+    /**
+     * Get the scope(s) defined by this service.
+     *
+     * @return array
+     */
+    public function get_scopes() {
+        return [self::SCOPE_MEMBERSHIPS_READ];
+    }
+
     /**
      * Get the JSON for members.
      *