Gets nonce if RequestAttr.CSPNonce has a nonce value set.
Gets nonce if RequestAttr.CSPNonce has a nonce value set.
the request containing the CSP nonce attribute
nonce value, or exception if not set.
Gets Html containing "nonce=$nonce" attribute value.
Gets Html containing "nonce=$nonce" attribute value.
the request containing the CSP nonce attribute
Html with nonce attribute or empty string if not defined.
Gets nonce attribute if RequestAttr.CSPNonce has a nonce value set.
Gets nonce attribute if RequestAttr.CSPNonce has a nonce value set.
the request containing the CSP nonce attribute
Map("nonce" -> nonce), or Map.empty if not set.
Gets nonce if RequestAttr.CSPNonce has a nonce value set.
Gets nonce if RequestAttr.CSPNonce has a nonce value set.
the request containing the CSP nonce attribute
Some(nonce) or None if not set.
A helper that renders the CSP nonce if it is present.
play.api.mvc.request.RequestAttrKey.CSPNonce