ApiProvider.addCsrfTokens

Adds CSRF tokens to the document for use by script (required by the Javascript API) and then calls addCsrfTokens(document.root) to add them to all POST forms as well.

  1. void addCsrfTokens(Document document)
    class ApiProvider
    protected
    void
    addCsrfTokens
    (
    Document document
    )
  2. void addCsrfTokens(Element element)

Meta