Token-Related Configuration Properties

The initComposerEmbedManager window function supports the following token-related configuration properties.

Property Description
getToken

This method returns a token using Trusted Access. This is the same as the the window.composerGetToken method. There is no default.

 

getToken: () => {
  return Promise.resolve({ // this is an example function. server side should be called in production 
    "access_token": "60a26b4f-c5d7-49af-a90b-1da4e6eb12b8",
    "expires_in": "6000"
});
						}