1
0

routes.php 541 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. return [
  7. 'routes' => [
  8. [
  9. 'name' => 'Settings#addClient',
  10. 'url' => '/clients',
  11. 'verb' => 'POST',
  12. ],
  13. [
  14. 'name' => 'Settings#deleteClient',
  15. 'url' => '/clients/{id}',
  16. 'verb' => 'DELETE'
  17. ],
  18. [
  19. 'name' => 'LoginRedirector#authorize',
  20. 'url' => '/authorize',
  21. 'verb' => 'GET',
  22. ],
  23. [
  24. 'name' => 'OauthApi#getToken',
  25. 'url' => '/api/v1/token',
  26. 'verb' => 'POST'
  27. ],
  28. ],
  29. ];