Module

cloud-services/token

@ckeditor/ckeditor5-cloud-services/src/token

module

Filtering

Classes

  • Token

Functions

  • private

    defaultRefreshToken( tokenUrl )

    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>