Property | Type | Description | |
---|---|---|---|
$httpClient | HTTP client instance or configuration for the [[clients]]. If set, this value will be passed as 'httpClient' config option while instantiating particular client object. This option is useful for adjusting HTTP client configuration for the entire list of auth clients. |
Method | Description | |
---|---|---|
getClient ( string $id ) : yii\authclient\ClientInterface | ||
getClients ( ) : yii\authclient\ClientInterface[] | ||
hasClient ( string $id ) : boolean | Checks if client exists in the hub. | |
setClients ( array $clients ) |
Method | Description | |
---|---|---|
createClient ( string $id, array $config ) : yii\authclient\ClientInterface | Creates auth client instance from its array configuration. |
protected createClient ( string $id, array $config ) : yii\authclient\ClientInterface | ||
$id | string | auth client id. |
$config | array | auth client instance configuration. |
return | yii\authclient\ClientInterface | auth client instance. |
public getClients ( ) : yii\authclient\ClientInterface[] | ||
return | yii\authclient\ClientInterface[] | list of auth clients. |
public $httpClient |