Cameyo provides Windows applications with information regarding the user which can be useful for identification purposes such as licensing, identity and login enforcement.


Simple method: local data

To authenticate the current user, your application can read the user's identity from the plain text file %USERPROFILE%\User.id. Its contents looks like this:

user@company.com
 

Advanced method: online authentication

The token validation API provides a secure mechanism for validating and obtaining session information:

https://api.cameyo.com/tokens/RAP_TOKENID/validate?tokenKey=RAP_TOKENKEY&ttl=300&userId=USER_ID


Example below:


https://online.cameyo.com/tokens/267113ba-206b-4bbc-8d19-c00dbd4a7e12/validate?tokenKey=lD70gbODkASaW7p5B749MV5teKzr33J8&ttl=300&userId=cameyo@cameyo.com gives 200 success:


image.png


https://online.cameyo.com/tokens/267113ba-206b-4bbc-8d19-c00dbd4a7e12/validate?tokenKey=lD70gbODkASaW7p5B749MV5teKzr33J8&ttl=300&userId=fake@cameyo.com gives 403 forbidden:


image.png


 See the API documentation for more details about Cameyo APIs.