Classes
-
Token
module:cloud-services/token~Token
Class representing the token used for communication with CKEditor Cloud Services.
Value of the token is retrieving from the specified URL and is refreshed every 1 hour by default.
Functions
-
Parameters
tokenUrl
:
String
-
-
refreshToken() → Promise.<String>
module:cloud-services/token~refreshToken
This function is called in a defined interval by the Token
class. It also can be invoked manually.
It should return a promise, which resolves with the new token value.
If any error occurs it should return a rejected promise with an error message.
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.