yii\authclient\widgets\AuthChoice::defaultBaseAuthUrl PHP Method

defaultBaseAuthUrl() protected method

Composes default base auth URL configuration.
protected defaultBaseAuthUrl ( ) : array
return array base auth URL configuration.
    protected function defaultBaseAuthUrl()
    {
        $baseAuthUrl = [Yii::$app->controller->getRoute()];
        $params = $_GET;
        unset($params[$this->clientIdGetParamName]);
        $baseAuthUrl = array_merge($baseAuthUrl, $params);
        return $baseAuthUrl;
    }