From ff7fc68382bf1359adc31bd65bb6786b7f63e31a Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 26 Oct 2011 17:15:36 +0200 Subject: oauthapi: authorize app --- include/api.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/api.php') diff --git a/include/api.php b/include/api.php index 252caeb8e..2de965681 100644 --- a/include/api.php +++ b/include/api.php @@ -1158,9 +1158,8 @@ echo "oauth_token=".$r->key."&oauth_secret=".$r->secret; killme(); } - function api_oauth_authorize(&$a, $type){ - } + api_register_func('api/oauth/request_token', 'api_oauth_request_token', false); api_register_func('api/oauth/access_token', 'api_oauth_access_token', false); - api_register_func('api/oauth/authorize', 'api_oauth_authorize', false); + -- cgit v1.2.3