Token-Related Configuration Properties
The initComposerEmbedManager
window function supports the following token-related configuration properties.
Property | Description | Description |
---|---|---|
initialToken | Provides a string representing a token from Trusted Access. There is no default. It is ignored when |
|
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" }); } | This method returns a token using Trusted Access. This is the same as the the window.composerGetToken method. There is no default. |
Comments
0 comments
Please sign in to leave a comment.