nextcloud/apps/cloud_federation_api/lib/Controller
Micke Nordin c753aad9e3 refactor(ocm): expose confirmRequestOrigin as a function on ocmDiscoveryService
Apps implementing OCM endpoints via OCMEndpointRequestEvent (e.g.
SUNET/nextcloud-ocm_request_share for request-share, nextcloud/contacts
for invite-accepted) need to apply the same identity check that the
built-in addShare and receiveNotification handlers apply, so it makes
sense to make it publicly accessible.

It also allows us to refactor RequestHandlerController::confirmSignedOrigin
to use the new public method and drop the confirmNotificationIdentity helper.

Signed-off-by: Micke Nordin <kano@sunet.se>
2026-05-27 11:03:55 +02:00
..
OCMRequestController.php fix(ocm): Correctly track OCM requests 2026-04-20 11:52:17 +02:00
RequestHandlerController.php refactor(ocm): expose confirmRequestOrigin as a function on ocmDiscoveryService 2026-05-27 11:03:55 +02:00