authclient\widgets\AuthChoice defaultClients()

defaultClients() protected method Returns default auth clients list. protected yii\authclient\ClientInterface[] defaultClients ( )return yii\authclient\ClientInterface[] Auth clients list.

authclient\widgets\AuthChoice defaultBaseAuthUrl()

defaultBaseAuthUrl() protected method Composes default base auth URL configuration. protected array defaultBaseAuthUrl ( )return array Base auth URL configuration.

authclient\widgets\AuthChoice clientLink()

clientLink() public method Outputs client auth link. public void clientLink ( $client, $text = null, array $htmlOptions = [] )$client yii\authclient\ClientInterface External auth client instance. $text string Link text, if not set - default value will be generated. $htmlOptions array Link HTML options. throws yii\base\InvalidConfigException on wrong configuration.

authclient\widgets\AuthChoice createClientUrl()

createClientUrl() public method Composes client auth URL. public string createClientUrl ( $provider )$provider yii\authclient\ClientInterface External auth client instance. return string Auth URL.

authclient\widgets\AuthChoice $popupMode

$popupMode public property Indicates if popup window should be used instead of direct links. public boolean $popupMode = true

authclient\widgets\AuthChoice $clientOptions

$clientOptions public property Additional options to be passed to the underlying JS plugin. public array $clientOptions = []

authclient\widgets\AuthChoice $options

$options public property The HTML attributes that should be rendered in the div HTML tag representing the container element. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = ['class' => 'auth-clients']

authclient\widgets\AuthChoice $clients

$clients public property Auth providers public yii\authclient\ClientInterface[] getClients ( )public void setClients ( array $clients )

authclient\widgets\AuthChoice $clientIdGetParamName

$clientIdGetParamName public property Name of the GET param , which should be used to passed auth client id to URL defined by $baseAuthUrl. public string $clientIdGetParamName = 'authclient'

authclient\widgets\AuthChoice $baseAuthUrl

$baseAuthUrl public property Base auth URL configuration. public array getBaseAuthUrl ( )public void setBaseAuthUrl ( array $baseAuthUrl )