adapter-ckfinder/utils
module
Functions
-
getCookie( name ) → null | string
internalmodule:adapter-ckfinder/utils~getCookie
Returns the value of the cookie with a given name or
null
if the cookie is not found.Parameters
name : string
Returns
null | string
-
getCsrfToken() → string
internalmodule:adapter-ckfinder/utils~getCsrfToken
Returns the CSRF token value. The value is a hash stored in
document.cookie
under theckCsrfToken
key. The CSRF token can be used to secure the communication between the web browser and the CKFinder server.Returns
string
-
setCookie( name, value ) → void
internalmodule:adapter-ckfinder/utils~setCookie
Sets the value of the cookie with a given name.
Parameters
name : string
value : string
Returns
void