public function getUserProfile($provider)
    {
        $oAdapter = $this->authenticate($provider);

        try {
            return $oAdapter->getUserProfile();
        } catch (\Exception $e) {
            $this->setError('Provider Error: ' . $e->getMessage());
            return false;
        }
    }
public function getUserProfile($provider)
    {
        $oAdapter = $this->authenticate($provider);

        try {
            return $oAdapter->getUserProfile();
        } catch (\Exception $e) {
            $this->setError('Provider Error: ' . $e->getMessage());
            return false;
        }
    }
public function getUserProfile ( $ provider ) { $ oAdapter = $ this -> authenticate ( $ provider ) ; try { return $ oAdapter -> getUserProfile ( ) ; } catch ( \ Exception $ e ) { $ this -> setError ( 'Provider Error: ' . $ e -> getMessage ( ) ) ; return false ; } }
Returns the user's profile for a particular provider.

@param  string $provider The name of the provider.

@return mixed           Hybrid_User_Profile on success, false on failure
Returns the user s profile for a particular provider .