added social connection action

This commit is contained in:
Antonio Ramirez
2016-12-09 16:41:25 +01:00
parent f6dcb21205
commit 3fe09e3eb3
9 changed files with 400 additions and 155 deletions

View File

@ -8,6 +8,11 @@ use yii\base\Event;
class SocialNetworkAuthEvent extends Event
{
const EVENT_BEFORE_AUTHENTICATE = 'beforeAuthenticate';
const EVENT_AFTER_AUTHENTICATE = 'afterAuthenticate';
const EVENT_BEFORE_CONNECT = 'beforeConnect';
const EVENT_AFTER_CONNECT = 'afterConnect';
protected $client;
protected $account;