The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ahmadrezaei/yii-adaccount "*"
or add
"ahmadrezaei/yii-adaccount": "*"
to the require
section of your composer.json.
You must read the yii2-authclient docs
and add the adaccount client to your auth clients.
'components' => [
'authClientCollection' => [
'class' => 'yii\authclient\Collection',
'clients' => [
'adaccount' => [
'class' => 'ahmadrezaei\yii\authclient\Adaccount',
'clientId' => 'adaccount_client_id',
'clientSecret' => 'adaccount_client_secret',
],
],
// other clients
],
],
// ...
]