ahmadrezaei / yii-adaccount
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2-authclient: ~2.0@dev
This package is auto-updated.
Last update: 2025-03-08 23:52:41 UTC
README
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.
Usage
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 ], ], // ... ]