Login & Management APIs

(Difference between revisions)
Jump to: navigation, search
(Users)
(Users)
Line 71: Line 71:
 
| Creates a new user manually, given username and/or e-mail.
 
| Creates a new user manually, given username and/or e-mail.
 
|-
 
|-
| [[PUT login/users/:user_id]]
+
| [[PUT login/users]]
 
| Updates username/e-mail/password information of an user.
 
| Updates username/e-mail/password information of an user.
 
|-
 
|-

Revision as of 03:39, 4 November 2014

Contents

Info

Resource Description
GET login/info Validates the token given to the callback_url and returns social login information.

Sign ins

Resource Description
GET login/sign_ins/:id Returns sign_in information.
POST login/apps/:app_id/sign_ins Creates a new sign_in given an user_id.
POST login/apps/:app_id/sign_ins/facebook Creates a new sign_in given a Facebook credential.
POST login/apps/:app_id/sign_ins/twitter Creates a new sign_in given a Twitter credential.
POST login/apps/:app_id/sign_ins/linkedin Creates a new sign_in given a LinkedIn credential.
POST login/apps/:app_id/sign_ins/gplus Creates a new sign_in given a Google+ credential.

Connections

Resource Description
DELETE login/connections/:id Closes a connection (logout).
POST login/apps/:app_id/connections/email Creates a connection given an e-mail.
POST login/connections/:id Keeps the connection alive.

Users

Resource Description
GET login/users/:user_id Returns user information, including his profile (if required).
GET login/users/:user_id/profile Returns the user profile (complete or partial).
PUT login/users/:user_id/token Generates a new token (user_token) for the user.
PUT login/users/:user_id/move_to/:target_id Moves the user data to antoher user and then removes him.
POST login/users Creates a new user manually, given username and/or e-mail.
PUT login/users Updates username/e-mail/password information of an user.
GET login/users/find_by Finds an user by username or e-mail.
POST login/users/login Creates a sign in for an user given its password and username or e-mail.
PUT login/users/:user_id/activate Activates an user for login.
PUT login/users/:user_id/deactivate Deactivates an user for login.

User Updates

Resource Description
POST login/users/:user_id/updates/facebook Posts a message to the user Facebook timeline.

User Mac Address

Resource Description
POST login/users/:user_id/mac_addresses Creates a new mac address associated with an user.

Social Apps

Resource Description
GET login/apps/social_apps Returns all Social Apps from the Social Login App.

User Data

Resource Description
GET login/users/:user_id/data Returns user custom profile information.
PUT login/users/:user_id/data Updates user custom profile information.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox