security.nonce
This ViewHelper resolves the nonce
attribute from the global server request object,
or from the PolicyProvider
service as a fall-back value.
Examples
Basic usage
<script nonce="{f:security.nonce()}">const inline = 'script';</script>
Arguments
This ViewHelper has no arguments.