nextcloud/lib/private/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
..
Model chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
OCMDiscoveryHandler.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
OCMDiscoveryService.php refactor(ocm): expose confirmRequestOrigin as a function on ocmDiscoveryService 2026-05-27 11:03:55 +02:00
OCMJwksHandler.php fix: Make sodium optional 2026-05-27 11:03:55 +02:00
OCMSignatoryManager.php fix: Make sodium optional 2026-05-27 11:03:55 +02:00
Rfc9421SignatoryManager.php fix: Make sodium optional 2026-05-27 11:03:55 +02:00