Skip to main content

getUserToken

Deprecated

getUserToken is deprecated. The SDK now delivers this request through onPanelEvent instead.

Should return a Promise that resolves to the user's cookie token string, or null if unavailable.

Method Signature​

getUserToken(): Promise<string | null>;

Parameters​

This method does not take any parameters.

Return Value​

Promise<string | null> — resolves to the user's cookie token string, or null if it is unavailable.