Stubs for API OAuth token exchange stuff

This commit is contained in:
Zach Copley
2010-01-07 13:19:21 -08:00
parent 48e5f2b3c5
commit 6472331be5
4 changed files with 150 additions and 3 deletions

View File

@@ -659,11 +659,11 @@ class Router
);
$m->connect('oauth/request_token',
array('action' => 'oauthrequesttoken'));
array('action' => 'apioauthrequesttoken'));
$m->connect('oauth/access_token',
array('action' => 'oauthaccesstoken'));
array('action' => 'apioauthaccesstoken'));
$m->connect('oauth/authorize',
array('action' => 'oauthauthorize'));
array('action' => 'apioauthauthorize'));
foreach (array('subscriptions', 'subscribers') as $a) {
$m->connect(':nickname/'.$a.'/:tag',