2017 © Pedro Peláez
 

yii2-extension yii2-googleuser

Enables signing in using a google account.

image

vip9008/yii2-googleuser

Enables signing in using a google account.

  • Friday, November 11, 2016
  • by vip9008
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Google user module

Enables signing in using a google account., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist vip9008/yii2-googleuser "*"

or add, (*4)

"vip9008/yii2-googleuser": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply create web api credentials at developers console and add your sign-in link to Authorized redirect URIs [link_to_your_yii2_app]user/sign-in. Then add the module to your configuration file :, (*6)

'modules' => [
    'user' => [
        'class' => 'vip9008\googleuser\Module',
        'apiTokens' => [
            'clientId' => 'API_CREDENTIALS_CLIENT_ID',
            'clientSecret' => 'API_CREDENTIALS_CLIENT_SECRET',
        ],
    ],
    .
    .
    .
],

Available actions

/user/index
/user/sign-in
/user/sign-out

The Versions

11/11 2016

dev-master

9999999-dev

Enables signing in using a google account.

  Sources   Download

MIT

The Requires

 

user yii2 module google vip9008

09/11 2016

v1.0.0

1.0.0.0

Enables signing in using a google account.

  Sources   Download

MIT

The Requires

 

user yii2 module google vip9008