kernel/private/rest/classes/oauth/utility.php
protected static function getTokenFromQueryComponent( ezpRestRequest $request )
    {
        $token = null;
        if( isset( $request->get['oauth_token'] ) )
        {
            //throw new ezpOauthInvalidRequestException( "OAuth token not found in query component." );
            $token = $request->get['oauth_token'];
        }

        return $token;
    }
protected static function getTokenFromQueryComponent( ezpRestRequest $request )
    {
        $token = null;
        if( isset( $request->get['oauth_token'] ) )
        {
            //throw new ezpOauthInvalidRequestException( "OAuth token not found in query component." );
            $token = $request->get['oauth_token'];
        }

        return $token;
    }
protected static function getTokenFromQueryComponent ( ezpRestRequest $ request ) { $ token = null ; if ( isset ( $ request -> get [ 'oauth_token' ] ) ) { //throw new ezpOauthInvalidRequestException( "OAuth token not found in query component." ); $ token = $ request -> get [ 'oauth_token' ] ; } return $ token ; }
Extracts OAuth token query component aka GET parameter.

For more information See section 5.1.2 of  oauth2.0 v10

@throws ezpOauthInvalidRequestException
@param ezcMvcRequest $request
@return string The access token string
Extracts OAuth token query component aka GET parameter .