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