AddFeaturePolicyEvent

class OCP\Security\FeaturePolicy\AddFeaturePolicyEvent
Event that allows to register a feature policy header to a request.
Source:lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php#40
Parent:OCP\EventDispatcher\Event

Properties

Methods

public OCP\Security\FeaturePolicy\AddFeaturePolicyEvent::__construct($policyManager)
Source:lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php#48
Since:17.0.0
public OCP\Security\FeaturePolicy\AddFeaturePolicyEvent::addPolicy($policy)
Source:lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php#56
Since:17.0.0