@nextcloud/auth

    Function getCSPNonce

    • Get the CSP nonce for script loading

      Returns undefined | string

      Current nonce if set

      import { getCSPNonce } from '@nextcloud/auth'

      __webpack_nonce__ = getCSPNonce()
    MMNEPVFCICPMFPCPTTAAATR