ContentSecurityPolicyNonceManager¶
-
class
OC\Security\CSP\
ContentSecurityPolicyNonceManager
¶ Source: lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php#41
Properties¶
Methods¶
-
public
OC\Security\CSP\ContentSecurityPolicyNonceManager::
__construct
($csrfTokenManager, $request)¶ Source: lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php#53
Parameters: - $csrfTokenManager (
OC\Security\CSRF\CsrfTokenManager
) - $request (
OCP\IRequest
)
- $csrfTokenManager (
-
public
OC\Security\CSP\ContentSecurityPolicyNonceManager::
getNonce
()¶ - Returns the current CSP nounce
Source: lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php#64 Returns: string
-
public
OC\Security\CSP\ContentSecurityPolicyNonceManager::
browserSupportsCspV3
()¶ - Check if the browser supports CSP v3
Source: lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php#81 Returns: bool