dev-master
9999999-dev http://github.com/yiiauth/spotifySpotify OAuth2 for yii2-authclient
BSD-2.0
The Requires
- php ^7.0
- yiisoft/yii2-authclient ~2.1
oauth yii2 spotify authclient
Spotify OAuth2 for yii2-authclient
This extension adds GitLab OAuth2 supporting for yii2-authclient., (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require yiiauth/spotify
or add, (*5)
"yiiauth/spotify": "~0.1"
to the require
section of your composer.json., (*6)
You must read the yii2-authclient docs, (*7)
Register your application in Spotify, (*8)
and add the Spotify client to your auth clients., (*9)
php
'components' => [
'authClientCollection' => [
'class' => \yii\authclient\Collection::class,
'clients' => [
'spotify' => [
'class' => \yiiauth\spotify\SpotifyClient:class,
'clientId' => 'client_id',
'clientSecret' => 'client_secret',
],
// other clients
],
],
// ...
]
, (*10)
Spotify OAuth2 for yii2-authclient
BSD-2.0
oauth yii2 spotify authclient