cloud-services/token
@ckeditor/ckeditor5-cloud-services/src/token
module
Filtering
Classes
-
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
-
defaultRefreshToken( tokenUrl )
private
Parameters
tokenUrl : String
-
refreshToken() → Promise.<String>
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.Returns
Promise.<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.