Compare commits

..

No commits in common. "8ed2bcb2be59c7b465fe76371e3f7227d0204f5c" and "b8171167116db57eda9fbf1dd20e4cc81bad64c3" have entirely different histories.

5 changed files with 332 additions and 330 deletions

View file

@ -5,14 +5,14 @@
<name>SCIM Service Provider</name> <name>SCIM Service Provider</name>
<summary>Implements SCIM protocol as a Service Provider</summary> <summary>Implements SCIM protocol as a Service Provider</summary>
<description><![CDATA[This app allows to sync users and groups from a scim client.]]></description> <description><![CDATA[This app allows to sync users and groups from a scim client.]]></description>
<version>1.0.0-alpha.2</version> <version>1.0.0-alpha.1</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="contact@indiehosters.net" homepage="https://indiehosters.net/">IndieHosters</author> <author mail="contact@indiehosters.net" homepage="https://indiehosters.net/">IndieHosters</author>
<author homepage="https://www.audriga.com/">Audriga</author> <author homepage="https://www.audriga.com/">Audriga</author>
<namespace>SCIMServiceProvider</namespace> <namespace>SCIMServiceProvider</namespace>
<category>integration</category> <category>integration</category>
<bugs>https://forge.libre.sh/libre.sh/scimserviceprovider</bugs> <bugs>https://lab.libreho.st/libre.sh/scim/scimserviceprovider</bugs>
<dependencies> <dependencies>
<nextcloud min-version="28" max-version="30"/> <nextcloud min-version="27" max-version="29"/>
</dependencies> </dependencies>
</info> </info>

View file

@ -17,7 +17,5 @@ return [
['name' => 'group#create', 'url' => '/Groups', 'verb' => 'POST'], ['name' => 'group#create', 'url' => '/Groups', 'verb' => 'POST'],
['name' => 'group#update', 'url' => '/Groups/{id}', 'verb' => 'PUT'], ['name' => 'group#update', 'url' => '/Groups/{id}', 'verb' => 'PUT'],
['name' => 'group#destroy', 'url' => '/Groups/{id}', 'verb' => 'DELETE'], ['name' => 'group#destroy', 'url' => '/Groups/{id}', 'verb' => 'DELETE'],
['name' => 'catch_all#index', 'url' => '/{path}', 'verb' => 'GET'],
] ]
]; ];

View file

@ -1,8 +1,8 @@
{ {
"require-dev": { "require-dev": {
"vimeo/psalm": "^4.23", "vimeo/psalm": "^4.23",
"nextcloud/ocp": "^28.0", "nextcloud/ocp": "^27.1",
"nextcloud/coding-standard": "^1.3" "nextcloud/coding-standard": "^1.1"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {
@ -29,6 +29,7 @@
} }
], ],
"require": { "require": {
"audriga/scim-server-php": "dev-main" "audriga/scim-server-php": "dev-main",
"doctrine/lexer": "^1.2"
} }
} }

625
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,22 +0,0 @@
<?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);
}
}