diff options
Diffstat (limited to 'lib/classes/LTI13a/PlatformManager.php')
| -rw-r--r-- | lib/classes/LTI13a/PlatformManager.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/classes/LTI13a/PlatformManager.php b/lib/classes/LTI13a/PlatformManager.php index 9017267..95c4c66 100644 --- a/lib/classes/LTI13a/PlatformManager.php +++ b/lib/classes/LTI13a/PlatformManager.php @@ -70,21 +70,6 @@ class PlatformManager return \Keyring::generate('lti13a_platform', 'global'); } - public static function getLtiRoleClaimForStudipRole(string $role) : string - { - if (in_array($role, ['dozent', 'admin', 'root'])) { - //Lecturer/admin - return 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor'; - } elseif ($role === 'tutor') { - return 'http://purl.imsglobal.org/vocab/lis/v2/membership#Mentor'; - } elseif (in_array($role, ['user', 'autor'])) { - //Learner - return 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'; - } - //Invalid role: - return ''; - } - /** * Generates the URL for returning from the tool in an LTI deep linking process. * |
