The document also mentions about token credentials. I would like to know more about it. Where is the token coming from? Typically, I use the username in the login request when connection to TREP.
The token is retrieved from an authentication server as part of the TREP Authentication feature. You can find more information on TREP Authentication within the ADS Installation Manual and TREP Authentication Guide. When reviewing the example applications, each language we show how to retrieve the token by providing login credentials via an HTTP request, and how to include it as a cookie on a Websocket.
This question was first asked in an Introduction to the Elektron WebSocket API webinar (29th of Nov). Please see here: Introduction to the Elektron WebSocket API