public function authenticate($sProvider, $mParams = null)
    {
        try {
            $sProvider = $this->getProviderClass($sProvider);
            return $this->oHybridAuth->authenticate($sProvider, $mParams);
        } catch (\Exception $e) {
            $this->setError('Provider Error: ' . $e->getMessage());
            return false;
        }
    }
public function authenticate($sProvider, $mParams = null)
    {
        try {
            $sProvider = $this->getProviderClass($sProvider);
            return $this->oHybridAuth->authenticate($sProvider, $mParams);
        } catch (\Exception $e) {
            $this->setError('Provider Error: ' . $e->getMessage());
            return false;
        }
    }
public function authenticate ( $ sProvider , $ mParams = null ) { try { $ sProvider = $ this -> getProviderClass ( $ sProvider ) ; return $ this -> oHybridAuth -> authenticate ( $ sProvider , $ mParams ) ; } catch ( \ Exception $ e ) { $ this -> setError ( 'Provider Error: ' . $ e -> getMessage ( ) ) ; return false ; } }
Authenticates a user using Hybrid Auth's authenticate method

@param  string $sProvider The provider to authenticate against
@param  mixed  $mParams   Additional parameters to pass to the Provider

@return Hybrid_Provider_Adapter|false
Authenticates a user using Hybrid Auth s authenticate method