RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
kenzuke



PostPosted: Tue Nov 22, 2011 6:30 am    Post subject: External authentication & Enjin.com-site ? Reply with quote

Enjin.com have recently published some docs about their API:

Code:
List users in site
This will return a list of all the users on the website.
URL:
/api/get-users
Returns:
{
    "<User ID>":{
            "username":"<Username>",
            "forum_post_count":"<Total Forum Posts>",
            "forum_votes":"<Total Forum Votes>",
            "forum_up_votes":"<Forum Up Votes>",
            "forum_down_votes":"<Forum Down Votes>",
            "lastseen":"<Unix Timestamp when user last visited website>"
    }
}
Example:
{
    "286":{"username":"Duke Nukem","forum_post_count":"0","forum_votes":"0","forum_up_votes":"0","forum_down_votes":"0","lastseen":null},
    "297":{"username":"Gordon Freeman","forum_post_count":"14","forum_votes":"3","forum_up_votes":"3","forum_down_votes":"0","lastseen":"1269925299"},
    "339":{"username":"Commander Keen","forum_post_count":"9001","forum_votes":"1337","forum_up_votes":"1339","forum_down_votes":"2","lastseen":"1302875826"}
}


Does anyone know if I can use external authentication based on this info?
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Kybber



PostPosted: Sat Nov 26, 2011 11:55 am    Post subject: Reply with quote

You will at the very least need to be able to verify a user's logon password. Does Enjin allow you to do that?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.