getConf('needs-state'); } /** @inheritdoc */ public function getAuthorizationEndpoint() { $plugin = plugin_load('helper', 'oauthgeneric'); return new Uri($plugin->getConf('authurl')); } /** @inheritdoc */ public function getAccessTokenEndpoint() { $plugin = plugin_load('helper', 'oauthgeneric'); return new Uri($plugin->getConf('tokenurl')); } /** * @inheritdoc */ protected function getAuthorizationMethod() { $plugin = plugin_load('helper', 'oauthgeneric'); return (int) $plugin->getConf('authmethod'); } }