git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oauth dance works
[grauphel.git]
/
appinfo
/
routes.php
diff --git
a/appinfo/routes.php
b/appinfo/routes.php
index da62dc988ed1be821a5c7c2e969cc857b1bd26a8..5567670fecec69fa01e4a8c5405f3ecd802d5dd9 100644
(file)
--- a/
appinfo/routes.php
+++ b/
appinfo/routes.php
@@
-11,16
+11,11
@@
$application->registerRoutes(
'name' => 'access#test',
),
'name' => 'access#test',
),
- array(
- 'url' => '/authorize',
- 'name' => 'access#authorize',
- 'verb' => 'GET',
- ),/*
array(
'url' => '/authorize',
'name' => 'access#authorize',
'verb' => 'POST',
array(
'url' => '/authorize',
'name' => 'access#authorize',
'verb' => 'POST',
- ),
*/
+ ),
array(
'url' => '/login',
'name' => 'access#login',
array(
'url' => '/login',
'name' => 'access#login',
@@
-37,6
+32,11
@@
$application->registerRoutes(
'name' => 'oauth#authorize',
'verb' => 'GET',
),
'name' => 'oauth#authorize',
'verb' => 'GET',
),
+ array(
+ 'url' => '/oauth/confirm',
+ 'name' => 'oauth#confirm',
+ 'verb' => 'POST',
+ ),
array(
'url' => '/oauth/request_token',
'name' => 'oauth#requestToken',
array(
'url' => '/oauth/request_token',
'name' => 'oauth#requestToken',