1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- return [
- 'routes' => [
- [
- 'name' => 'Settings#addServer',
- 'url' => '/trusted-servers',
- 'verb' => 'POST'
- ],
- [
- 'name' => 'Settings#removeServer',
- 'url' => '/trusted-servers/{id}',
- 'verb' => 'DELETE'
- ],
- ],
- 'ocs' => [
-
- [
- 'name' => 'OCSAuthAPI#getSharedSecretLegacy',
- 'url' => '/api/v1/shared-secret',
- 'verb' => 'GET',
- ],
- [
- 'name' => 'OCSAuthAPI#requestSharedSecretLegacy',
- 'url' => '/api/v1/request-shared-secret',
- 'verb' => 'POST',
- ],
-
- [
- 'name' => 'OCSAuthAPI#getSharedSecret',
- 'root' => '/cloud',
- 'url' => '/shared-secret',
- 'verb' => 'GET',
- ],
- [
- 'name' => 'OCSAuthAPI#requestSharedSecret',
- 'root' => '/cloud',
- 'url' => '/shared-secret',
- 'verb' => 'POST',
- ],
- ],
- ];
|