diff options
author | Anna Larch <anna@nextcloud.com> | 2022-10-31 15:39:21 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2022-11-03 12:18:25 +0300 |
commit | 866e141e685ca35f63e67b4146865fa22c188cd3 (patch) | |
tree | c70175b1cca8c426913afba088d3f59a413cd74b | |
parent | 252868b2cb64f09d11c03d6759789981f865f5c1 (diff) |
Document iMIP API change for 26
Signed-off-by: Anna Larch <anna@nextcloud.com>
-rw-r--r-- | developer_manual/digging_deeper/groupware/calendar.rst | 21 |
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 --------- |