public function createClientUrl($client) { $this->autoRender = false; $url = $this->getBaseAuthUrl(); $url[$this->clientIdGetParamName] = $client->getId(); return Url::to($url); }
/** * @inheritdoc */ public function createClientUrl($provider) { if ($this->isConnected($provider)) { return Url::to(['/user/setting/disconnect', 'id' => $this->accounts[$provider->getId()]->id]); } else { return parent::createClientUrl($provider); } }