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 otherapplications
Source: lib/private/AppFramework/Middleware/Security/CSPMiddleware.php#65
Parameters: - $controller (
OCP\AppFramework\Controller
) - $methodName (string)
- $response (
OCP\AppFramework\Http\Response
)
Returns: - $controller (