From d241352dcc2c641bcf97efee596c0cfba4d34dc5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 4 Jun 2008 22:40:35 -0400 Subject: automatically prepend filename to debug output darcs-hash:20080605024035-84dde-bc3abc4329f3181cffd26e83d37968ee6a02a26e.gz --- actions/userauthorization.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'actions/userauthorization.php') diff --git a/actions/userauthorization.php b/actions/userauthorization.php index 29a0c9d6a..fd4ed5b08 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -326,13 +326,21 @@ class UserauthorizationAction extends Action { function validate_request(&$req) { # OAuth stuff -- have to copy from OAuth.php since they're # all private methods, and there's no user-authentication method + common_debug('checking version', __FILE__); $this->check_version($req); + common_debug('getting datastore', __FILE__); $datastore = omb_oauth_datastore(); + common_debug('getting consumer', __FILE__); $consumer = $this->get_consumer($datastore, $req); + common_debug('getting token', __FILE__); $token = $this->get_token($datastore, $req, $consumer); + common_debug('checking timestamp', __FILE__); $this->check_timestamp($req); + common_debug('checking nonce', __FILE__); $this->check_nonce($datastore, $req, $consumer, $token); + common_debug('checking signature', __FILE__); $this->check_signature($req, $consumer, $token); + common_debug('checking signature', __FILE__); $this->validate_omb($req); return true; } -- cgit v1.2.3-54-g00ecf