scimserviceprovider/lib/Controller/CatchAllController.php

23 lines
475 B
PHP
Raw Normal View History

<?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);
}
}