Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna <anna@nextcloud.com>2022-11-07 13:57:19 +0300
committerGitHub <noreply@github.com>2022-11-07 13:57:19 +0300
commit7a82c74f1707c1bd9be8f5d327319599b569e2ee (patch)
treec95202036e383b8b71de51e92ca4ac29dca2fe77
parent16c0792140b80c0127286ebd5b25b6dfe68f000c (diff)
parent866e141e685ca35f63e67b4146865fa22c188cd3 (diff)
Merge pull request #9269 from nextcloud/enh/document-imip-change-for-26
Document iMIP API change for 26
-rw-r--r--developer_manual/digging_deeper/groupware/calendar.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/developer_manual/digging_deeper/groupware/calendar.rst b/developer_manual/digging_deeper/groupware/calendar.rst
index 91467c837..437e59290 100644
--- a/developer_manual/digging_deeper/groupware/calendar.rst
+++ b/developer_manual/digging_deeper/groupware/calendar.rst
@@ -161,6 +161,27 @@ Calendars that only return `ICalendar` are implicitly read-only. If your app's c
}
+Handling iMIP data
+~~~~~~~~~~~~~~~~~~
+
+You may implement the ``IHandleIMipMessage`` interface to process iMIP data you receive in a client and want to pass on for processing to the backend.
+
+Please be aware that there are some security considerations to take into account. You can find more infomation on these and the conditions that have to be fulfilled for iMIP data to be processed in the `RFC <https://www.rfc-editor.org/rfc/rfc6047>`_
+
+.. code-block:: php
+
+ <?php
+
+ use OCP\Calendar\IHandleIMipMessage;
+
+ class HandleIMipMessage implements IHandleIMipMessage {
+
+ public function handleIMipMessage(string $name, string $calendarData): void {
+ // Validation and write to your calendar representation
+ }
+
+ }
+
Resources
---------