getConf('authurl')); } /** @inheritdoc */ public function getAccessTokenEndpoint() { $plugin = plugin_load('helper', 'oauthauthsch'); return new Uri('https://auth.sch.bme.hu/oauth2/token'); //new Uri($plugin->getConf('tokenurl')); } /** * @inheritdoc */ protected function getAuthorizationMethod() { $plugin = plugin_load('helper', 'oauthauthsch'); return 2; // Query String v1 // (int) $plugin->getConf('authmethod'); } }