PHP Class ADmad\HybridAuth\Controller\HybridAuthController

Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt
Inheritance: extends App\Controller\AppController
Show file Open project: admad/cakephp-hybridauth

Public Methods

Method Description
authenticated ( ) : Response This action exists just to ensure AuthComponent fetches user info from hybridauth after successful login
beforeFilter ( Cake\Event\Event $event ) : void Allow methods 'endpoint' and 'authenticated'.
endpoint ( ) : void Endpoint method

Method Details

authenticated() public method

Hyridauth's hauth_return_to is set to this action.
public authenticated ( ) : Response
return Cake\Network\Response

beforeFilter() public method

Allow methods 'endpoint' and 'authenticated'.
public beforeFilter ( Cake\Event\Event $event ) : void
$event Cake\Event\Event Before filter event.
return void

endpoint() public method

Endpoint method
public endpoint ( ) : void
return void