src/Auth/HybridAuthAuthenticate.php
public function getUser(Request $request)
    {
        $this->_init($request);

        $providers = Hybrid_Auth::getConnectedProviders();
        foreach ($providers as $provider) {
            $adapter = Hybrid_Auth::getAdapter($provider);

            return $this->_getUser($adapter);
        }

        return false;
    }
public function getUser(Request $request)
    {
        $this->_init($request);

        $providers = Hybrid_Auth::getConnectedProviders();
        foreach ($providers as $provider) {
            $adapter = Hybrid_Auth::getAdapter($provider);

            return $this->_getUser($adapter);
        }

        return false;
    }
public function getUser ( Request $ request ) { $ this -> _init ( $ request ) ; $ providers = Hybrid_Auth :: getConnectedProviders ( ) ; foreach ( $ providers as $ provider ) { $ adapter = Hybrid_Auth :: getAdapter ( $ provider ) ; return $ this -> _getUser ( $ adapter ) ; } return false ; }
Check if a provider is already connected, return user record if available.

@param \Cake\Network\Request $request Request instance.
@return array|bool User array on success, false on failure.
Check if a provider is already connected return user record if available .