isudakoff / yii2-tumblr-authclient
Tumblr extension for using via yii2-authclient
1.0.1
2017-09-25 12:32 UTC
Requires
- yiisoft/yii2-authclient: ~2.0@dev
This package is auto-updated.
Last update: 2024-10-29 05:22:19 UTC
README
This extension adds Tumblr OAuth1 supporting for yii2-authclient.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist isudakoff/yii2-tumblr-authclient "*"
or add
"isudakoff/yii2-tumblr-authclient": "*"
to the require
section of your composer.json.
Usage
You must read the yii2-authclient docs
Register your application in Tumblr
and add the Tumblr client to your auth clients.
'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'tumblr' => [ 'class' => 'isudakoff\authclient\Tumblr', 'consumerKey' => 'tumblr_app_id', 'consumerSecret' => 'tumblr_app_secret', ], // other clients ], ], // ... ]