22 lines
475 B
PHP
22 lines
475 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\SCIMServiceProvider\Controller;
|
|
|
|
use Exception;
|
|
use OCA\SCIMServiceProvider\Responses\SCIMJSONResponse;
|
|
use OCA\SCIMServiceProvider\Responses\SCIMListResponse;
|
|
use OCP\AppFramework\ApiController;
|
|
|
|
class CatchAllController extends ApiController {
|
|
/**
|
|
* @NoCSRFRequired
|
|
* @PublicPage
|
|
*
|
|
* @return SCIMListResponse
|
|
*/
|
|
public function index(string $path): SCIMJSONResponse {
|
|
throw new Exception('Not found', 404);
|
|
}
|
|
}
|