getServiceLocator()->get(common_ext_ExtensionsManager::SERVICE_ID); $config = $extensionManager ->getExtensionById('taoLti')->getConfig('auth'); /** @var \common_user_auth_Adapter $adapter */ $adapter = new $config['adapter']($request); $this->propagate($adapter); return $adapter; } }