accessToken type?

Created at 29 Mar 2017, 10:48
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
mindbreaker's avatar

mindbreaker

Joined 19.07.2014

accessToken type?
29 Mar 2017, 10:48


How to check the type of the token?

Is it possible to add a field of type(privilages) (Account or Trading) in a string returned with a token (now i need create to apllications if i need catch Trading and Accounts data)?


@mindbreaker
Replies

Spotware
29 Mar 2017, 11:53

Hi mindbreaker,

You cannot check the type of the token but you should know what type of token it is since you are the one requesting it. You can keep this information and associate it with the token.


@Spotware

mindbreaker
29 Mar 2017, 13:22

RE:

Spotware said:

Hi mindbreaker,

You cannot check the type of the token but you should know what type of token it is since you are the one requesting it. You can keep this information and associate it with the token.

Hi Spotware,

I know that and i do but it is not convenient and not practical.

Thanks.


@mindbreaker