summaryrefslogtreecommitdiffstats
path: root/apps/oauth2/appinfo/routes.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-08 09:52:27 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-19 11:42:41 +0200
commitd2d1e8e3750eb1c5f8049aa5d0e7326f8b49a659 (patch)
treed47b15245bfe9b238ca02ac97bd2a5e794f8af6c /apps/oauth2/appinfo/routes.php
parent7b8063a2424ea9f9d87493a23074b62afdd57854 (diff)
downloadnextcloud-server-d2d1e8e3750eb1c5f8049aa5d0e7326f8b49a659.tar.gz
nextcloud-server-d2d1e8e3750eb1c5f8049aa5d0e7326f8b49a659.zip
Migrate OAuth Admin settings to vue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/oauth2/appinfo/routes.php')
-rw-r--r--apps/oauth2/appinfo/routes.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/oauth2/appinfo/routes.php b/apps/oauth2/appinfo/routes.php
index 84b1336e37e..c9ff6c97828 100644
--- a/apps/oauth2/appinfo/routes.php
+++ b/apps/oauth2/appinfo/routes.php
@@ -23,13 +23,18 @@ return [
'routes' => [
[
'name' => 'Settings#addClient',
- 'url' => '/settings',
+ 'url' => '/clients',
'verb' => 'POST',
],
[
+ 'name' => 'Settings#getClients',
+ 'url' => '/clients',
+ 'verb' => 'GET',
+ ],
+ [
'name' => 'Settings#deleteClient',
- 'url' => '/clients/{id}/delete',
- 'verb' => 'POST'
+ 'url' => '/clients/{id}',
+ 'verb' => 'DELETE'
],
[
'name' => 'LoginRedirector#authorize',