added social connection action
This commit is contained in:
@ -10,6 +10,8 @@ class FormEvent extends Event
|
||||
const EVENT_AFTER_REQUEST = 'afterRequest';
|
||||
const EVENT_BEFORE_RESEND = 'beforeResend';
|
||||
const EVENT_AFTER_RESEND = 'afterResend';
|
||||
const EVENT_BEFORE_LOGIN = 'beforeLogin';
|
||||
const EVENT_AFTER_LOGIN = 'afterLogin';
|
||||
|
||||
protected $form;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -18,6 +18,8 @@ class UserEvent extends Event
|
||||
const EVENT_AFTER_UNBLOCK = 'afterUnblock';
|
||||
const EVENT_BEFORE_BLOCK = 'beforeBlock';
|
||||
const EVENT_AFTER_BLOCK = 'afterBlock';
|
||||
const EVENT_BEFORE_LOGOUT = 'beforeLogout';
|
||||
const EVENT_AFTER_LOGOUT = 'afterLogout';
|
||||
|
||||
|
||||
protected $user;
|
||||
|
||||
Reference in New Issue
Block a user