Add CSP event docs

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-07-16 15:16:08 +02:00
parent 5faaa3d3b1
commit dac43b0dcb
No known key found for this signature in database
GPG Key ID: F941078878347C0C

View File

@ -75,3 +75,8 @@ In the 'Application.php' the event and the listening class are connected. The cl
This provides a clear interface and contract between the emitted event and the listening services.
Available Events
----------------
'OCP\Security\CSP\AddContentSecurityPolicyEvent': This event is emitted so apps can modify the CSP provided by nextcloud. For example if more domains can be used to connect to.