adapter-ckfinder/utils

Api-module icon module

Functions

  • Chevron-right icon

    getCookie( name ) → null | string
    internal

    Returns the value of the cookie with a given name or null if the cookie is not found.

    Parameters

    name : string

    Returns

    null | string
  • Chevron-right icon

    getCsrfToken() → string
    internal

    Returns the CSRF token value. The value is a hash stored in document.cookie under the ckCsrfToken key. The CSRF token can be used to secure the communication between the web browser and the CKFinder server.

    Returns

    string
  • Chevron-right icon

    setCookie( name, value ) → void
    internal

    Sets the value of the cookie with a given name.

    Parameters

    name : string
    value : string

    Returns

    void