adapter-ckfinder/utils
@ckeditor/ckeditor5-adapter-ckfinder/src/utils
module
Filtering
Functions
-
getCookie( name ) → String | null
Returns the value of the cookie with a given name or
null
if the cookie is not found.Parameters
name : String
Returns
String | null
-
getCsrfToken() → String
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 )
Sets the value of the cookie with a given name.
Parameters
name : String
value : String
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.