function getAuthInfo($grants = false)
    {
        if ($this->_c_info)
            return $this->_c_info;


        $options = null;
        if ( $grants )
            $options['include_grants'] = true;

        try {
            $info = $this->federation()->getMyAccountInfo($options);

        } catch (exOAuthAccessDenied $e) {
            throw new exAccessDenied($e->getMessage(), $e->getCode(), $e);
        }

        return $this->_c_info = $info;
    }
function getAuthInfo($grants = false)
    {
        if ($this->_c_info)
            return $this->_c_info;


        $options = null;
        if ( $grants )
            $options['include_grants'] = true;

        try {
            $info = $this->federation()->getMyAccountInfo($options);

        } catch (exOAuthAccessDenied $e) {
            throw new exAccessDenied($e->getMessage(), $e->getCode(), $e);
        }

        return $this->_c_info = $info;
    }
function getAuthInfo ( $ grants = false ) { if ( $ this -> _c_info ) return $ this -> _c_info ; $ options = null ; if ( $ grants ) $ options [ 'include_grants' ] = true ; try { $ info = $ this -> federation ( ) -> getMyAccountInfo ( $ options ) ; } catch ( exOAuthAccessDenied $ e ) { throw new exAccessDenied ( $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e ) ; } return $ this -> _c_info = $ info ; }
Retrieve User Info From OAuth Server

@param bool $grants

@return array
Retrieve User Info From OAuth Server