diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-26 17:15:36 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-26 17:15:36 +0200 |
commit | ff7fc68382bf1359adc31bd65bb6786b7f63e31a (patch) | |
tree | 1ab031d66e2f281df964f81ad98c2fbe571162f2 /include/api.php | |
parent | b06588ffa1c925d0a008a34bf8fa5c316b964b87 (diff) | |
download | volse-hubzilla-ff7fc68382bf1359adc31bd65bb6786b7f63e31a.tar.gz volse-hubzilla-ff7fc68382bf1359adc31bd65bb6786b7f63e31a.tar.bz2 volse-hubzilla-ff7fc68382bf1359adc31bd65bb6786b7f63e31a.zip |
oauthapi: authorize app
Diffstat (limited to 'include/api.php')
-rw-r--r-- | include/api.php | 5 |
1 files changed, 2 insertions, 3 deletions
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); + |