Method | Description | |
---|---|---|
failedSocialLogin ( mixed $exception, mixed $data, boolean | false $flash = false ) : mixed | ||
failedSocialLoginListener ( Cake\Event\Event $event ) : void | ||
login ( ) : mixed | Login user | |
logout ( ) : type | Logout | |
socialLogin ( ) : array | Social login | |
twitterLogin ( ) : mixed | void | Do twitter login | |
verify ( ) : void | Verify for Google Authenticator If Google Authenticator's enabled we need to verify authenticated user. To avoid accidental access to other URL's we store auth'ed used into temporary session to perform code verification. |
Method | Description | |
---|---|---|
_afterIdentifyUser ( array $user, boolean $socialLogin = false, $googleAuthenticatorLogin = false ) : array | Update remember me and determine redirect url after user identified | |
_checkReCaptcha ( ) : boolean | Check reCaptcha if enabled for login | |
_isGoogleAuthenticator ( ) : boolean | Check if we doing Google Authenticator Two Factor auth | |
_isSocialLogin ( ) : boolean | Check if we are doing a social login |
protected _checkReCaptcha ( ) : boolean | ||
return | boolean |
protected _isGoogleAuthenticator ( ) : boolean | ||
return | boolean | true if Google Authenticator is enabled |
protected _isSocialLogin ( ) : boolean | ||
return | boolean | true if social login is enabled and we are processing the social login data in the request |
public failedSocialLoginListener ( Cake\Event\Event $event ) : void | ||
$event | Cake\Event\Event | event |
return | void |
public twitterLogin ( ) : mixed | void | ||
return | mixed | void |