hello everyone!
does anyone know how to identify a token generated from which username?
thank you!
True. It is valid only when token is not expired.
thank you for the information. But this way is valid only when the token is not expired.I think that the generated token log should be implemented by developer!
In Java Script API, you can try the following:
Use method findCredential() in "IdentityManager" which will return "credential". Then get user information using "userId" from credential property.
Thanks,
Biraja
Please go to browser and add token in front of any service for which token is generated to access as per below example. You find the user name on the top right corner of the rest end point service marked in screen capture provided below.
Example:
https://xyz.esri.com/server/rest/services/parceltest/MapServer?token=token value
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.