For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
78.1k 246 52 72

​The document also mentions about token credentials. I would like to know more about it. (from WebSocket API Webinar Nov 29)

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.

treprdp-apiwebsocketsrrtotoken
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
1.9k 7 10 16

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.