Class dektrium\user\widgets\Connect
Inheritance | dektrium\user\widgets\Connect » yii\authclient\widgets\AuthChoice |
---|
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$accounts | array|null | An array of user's accounts | dektrium\user\widgets\Connect |
$options | dektrium\user\widgets\Connect |
Public Methods
Method | Description | Defined By |
---|---|---|
createClientUrl() | dektrium\user\widgets\Connect | |
init() | dektrium\user\widgets\Connect | |
isConnected() | Checks if provider already connected to user. | dektrium\user\widgets\Connect |
Property Details
An array of user's accounts
Method Details
public void createClientUrl ( $provider ) | ||
$provider |
public void init ( ) |
Checks if provider already connected to user.
public bool isConnected ( \yii\authclient\ClientInterface $provider ) | ||
$provider | \yii\authclient\ClientInterface |