GetAuthToken

Manually retrieves the authentication token stored in the embed cookie.

getAuthToken(): string
  • This function is provided for to retrieve the current token value stored in the embed cookie.

Example

The following retrieves the current authentication token in the embed cookie - driving the authentication of the embed client.

var myToken = client.getAuthToken();