FeaturePolicyMiddleware¶
-
class
OC\AppFramework\Middleware\Security\
FeaturePolicyMiddleware
¶ Source: lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php#36 Parent: OCP\AppFramework\Middleware
Properties¶
Methods¶
-
public
OC\AppFramework\Middleware\Security\FeaturePolicyMiddleware::
__construct
($policyManager)¶ Source: lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php#41
-
public
OC\AppFramework\Middleware\Security\FeaturePolicyMiddleware::
afterController
($controller, $methodName, $response)¶ - Performs the default FeaturePolicy modifications that may be injected by otherapplications
Source: lib/private/AppFramework/Middleware/Security/FeaturePolicyMiddleware.php#54
Parameters: - $controller (
OCP\AppFramework\Controller
) - $methodName (string)
- $response (
OCP\AppFramework\Http\Response
)
Returns: - $controller (