Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

In case of using Basic authentication client sends credential with every request. The credential includes user name and password. There is a way to use so called Therefore Token instead of user's password. To retrieve the token use one of the following methods GetConnectionToken or GetConnectionTokenFromADFSToken.

Once you have the token you can use it instead of user's password.

 

note

 

When sending token to the server, you need to inform the server by setting the UseToken HTTP header to "1".

Please read more about the UseToken header here.

 

 

 

Sample 1. Requesting token calling the GetConnectionToken Web API method.

 

WebAPI.Sample.GetConnectionToken

 

 

 

Sample 2. Using token in subsequent requests.

 

WebAPI.Sample.TokenInRequest

 

 

 

 

© 2022 Therefore Corporation, all rights reserved.