nextcloud/lib/public/OCM
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
..
Enum docs(ocp): Add since tag 2026-04-28 11:17:27 +02:00
Events feat(ocm): event on ocm discovery and ocm request 2026-01-07 17:54:26 -01:00
Exceptions feat(ocm): event on ocm discovery and ocm request 2026-01-07 17:54:26 -01:00
ICapabilityAwareOCMProvider.php feat(ocm): event on ocm discovery and ocm request 2026-01-07 17:54:26 -01:00
IOCMDiscoveryService.php refactor(ocm): expose confirmRequestOrigin as a function on ocmDiscoveryService 2026-05-27 11:03:55 +02:00
IOCMProvider.php chore(ocp): add Override attribute to all OCP classes 2026-04-28 21:29:27 +02:00
IOCMResource.php chore(ocp): add Override attribute to all OCP classes 2026-04-28 21:29:27 +02:00