diff --git a/extensions/yii/authclient/widgets/Choice.php b/extensions/yii/authclient/widgets/Choice.php index 1bcdd95..75e65c3 100644 --- a/extensions/yii/authclient/widgets/Choice.php +++ b/extensions/yii/authclient/widgets/Choice.php @@ -14,6 +14,7 @@ use yii\authclient\ClientInterface; /** * Choice prints buttons for authentication via various auth clients. + * It opens a popup window for the client authentication process. * By default this widget relies on presence of [[\yii\authclient\Collection]] among application components * to get auth clients information. * @@ -41,6 +42,10 @@ use yii\authclient\ClientInterface; * * ~~~ * + * This widget supports following keys for [[ClientInterface::getViewOptions()]] result: + * - popupWidth - integer width of the popup window in pixels. + * - popupHeight - integer height of the popup window in pixels. + * * @see \yii\authclient\AuthAction * * @property array $baseAuthUrl Base auth URL configuration. This property is read-only.