CSPMiddleware

class OC\AppFramework\Middleware\Security\CSPMiddleware
Source:lib/private/AppFramework/Middleware/Security/CSPMiddleware.php#39
Parent:OCP\AppFramework\Middleware

Properties

Methods

public OC\AppFramework\Middleware\Security\CSPMiddleware::__construct($policyManager, $cspNonceManager, $csrfTokenManager)
Source:lib/private/AppFramework/Middleware/Security/CSPMiddleware.php#48
public OC\AppFramework\Middleware\Security\CSPMiddleware::afterController($controller, $methodName, $response)
Performs the default CSP modifications that may be injected by other
applications
Source:

lib/private/AppFramework/Middleware/Security/CSPMiddleware.php#65

Parameters:
Returns:

\OCP\AppFramework\Http\Response