Skip to content

isudakoff/yii2-foursquare-authclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yii2-foursquare-authclient

This extension adds Foursquare OAuth2 supporting for yii2-authclient.

License Total Downloads Latest Stable Version Latest Unstable Version

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist isudakoff/yii2-foursquare-authclient "*"

or add

"isudakoff/yii2-foursquare-authclient": "*"

to the require section of your composer.json.

Usage

You must read the yii2-authclient docs

Register your application in Foursquare

and add the Foursquare client to your auth clients.

'components' => [
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'foursquare' => [
                'class' => 'isudakoff\authclient\Foursquare',
                'clientId' => 'foursquare_app_id',
                'clientSecret' => 'foursquare_app_secret',
            ],
            // other clients
        ],
    ],
    // ...
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages