Login & Management APIs
From Social ID Developers
Revision as of 14:22, 10 July 2018 by Ivan.filho (Talk | contribs)
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 a 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. |
GET login/connections/:id | Returns connection information. |
Users
Resource | Description |
---|---|
GET login/users | Returns all users or searches for login app users. |
GET login/users/:user_id | Returns user information, including his/her 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 another user and then removes user. |
POST login/users | Creates a new user manually, given username and/or e-mail. |
PUT login/users/:user_id | Updates username/e-mail/password information of a user. |
DELETE login/users/:user_id | Deletes a user. |
GET login/users/find_by | Finds a user by username, e-mail or reset password token |
POST login/users/login | Creates a sign in for a user given its password and username or e-mail. |
PUT login/users/:user_id/activate | Activates a user for login. |
PUT login/users/:user_id/deactivate | Deactivates a user for login. |
PUT login/users/:user_id/unlock | Unlocks a user for login. |
POST login/users/reset_password/email | Sends a reset password e-mail for a user given its username or e-mail. |
POST login/users/reset_password | Resets the password for a user given a reset password token. |
POST login/users/send_email_confirmation | Sends an e-mail confirmation for a user given its username or e-mail. |
Resource | Description |
---|---|
POST login/users/:user_id/updates/facebook | Posts a message to the user Facebook timeline. |
POST login/users/:user_id/notifications/facebook | Posts a Facebook notification to the user. |
GET login/users/:user_id/friends/facebook | Get Facebook user friends. |
User Mac Address
Resource | Description |
---|---|
POST login/users/:user_id/mac_addresses | Creates a new mac address associated with a user. |
DELETE login/users/:user_id/mac_addresses/:mac_address | Deletes a mac address associated with a user. |
User MPact Client
Resource | Description |
---|---|
POST login/users/:user_id/mpact_client_ids | Creates a new MPact client associated with a 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. |
Clustering
Resource | Description |
---|---|
GET login/apps/clustering/rules | Returns login app clustering rules. |
PUT login/apps/clustering/rules | Updates login app clustering rules. |
GET login/users/:user_id/clustering/features | Returns user clustering features. |