kernel/private/rest/classes/oauth/utility.php
protected static function getTokenFromHttpBody( ezpRestRequest $request )
    {
        $token = null;
        if ( isset( $request->post['oauth_token'] ) )
        {
            $token = $request->post['oauth_token'];
        }

        return $token;
    }
protected static function getTokenFromHttpBody( ezpRestRequest $request )
    {
        $token = null;
        if ( isset( $request->post['oauth_token'] ) )
        {
            $token = $request->post['oauth_token'];
        }

        return $token;
    }
protected static function getTokenFromHttpBody ( ezpRestRequest $ request ) { $ token = null ; if ( isset ( $ request -> post [ 'oauth_token' ] ) ) { $ token = $ request -> post [ 'oauth_token' ] ; } return $ token ; }
Extracts OAuth token fro HTTP Post body.

For more information see section 5.1.3 oauth2.0 v10
@param ezpRestRequest $request
@return string The access token string
Extracts OAuth token fro HTTP Post body .