- Joined
- Apr 21, 2005
- Sythe Gold
- 5,470
- Messages
- 8,074
To any developers,
We've put together an API which will let sythe.org users authenticate themselves in third party apps without entering their password.
The system works via tokens which are one use automatically generated passwords.
A user get a token from Quick Links like so:
Then the user copy pastes their token into the third party app which you (developer) have made. You then check that they are who they say they are with the script at http://www.sythe.org/checktoken.php?token=token_here
When a token is run with the script above it is 'used up'. These are one use passwords. The user can generate a new one by repeating steps above.
Output of the check token script is json, like so:
Simple_username field is username with annoying characters stripped (for example if you want a simple version of their username for a chat name or something.) Other fields are self explanatory. Joindate is unixtimestamp, you can look up how to convert those.
We will be adding more info (such as donation amount/status) later.
Let me know what you think!
Cheers,
Richard
We've put together an API which will let sythe.org users authenticate themselves in third party apps without entering their password.
The system works via tokens which are one use automatically generated passwords.
A user get a token from Quick Links like so:
Then the user copy pastes their token into the third party app which you (developer) have made. You then check that they are who they say they are with the script at http://www.sythe.org/checktoken.php?token=token_here
When a token is run with the script above it is 'used up'. These are one use passwords. The user can generate a new one by repeating steps above.
Output of the check token script is json, like so:
Code:
{"userid":"1","username":"Sythe","usergroupid":"6","joindate":"1114082940","posts":"3819","usertitle":"Director","icq":"","aim":"","yahoo":"","msn":"","skype":"","simple_username":"Sythe"}
Simple_username field is username with annoying characters stripped (for example if you want a simple version of their username for a chat name or something.) Other fields are self explanatory. Joindate is unixtimestamp, you can look up how to convert those.
We will be adding more info (such as donation amount/status) later.
Let me know what you think!
Cheers,
Richard





































































