Merge pull request #2201 from nextcloud/new-events

New events for typed event handling
This commit is contained in:
Christoph Wurst
2020-07-17 09:10:41 +02:00
committed by GitHub

View File

@@ -167,6 +167,20 @@ Available Events
Here you find an overview of the public events that can be consumed in apps. See their source files for more details.
``\OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent``
********************************************************
*Available in Nextcloud 20 and later.*
Emitted before the rendering step of the public share page happens. The event holds a flag that specifies if it is the authentication page of a public share.
``\OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent``
*************************************************************
*Available in Nextcloud 20 and later.*
Emitted before the rendering step of each TemplateResponse. The event holds a flag that specifies if an user is logged in.
``\OCP\Authentication\Events\LoginFailedEvent``
***********************************************