Skip to content

Instantly share code, notes, and snippets.

@rfaisal
Created March 31, 2014 13:00
Show Gist options
  • Select an option

  • Save rfaisal/9891776 to your computer and use it in GitHub Desktop.

Select an option

Save rfaisal/9891776 to your computer and use it in GitHub Desktop.
exports.get = function(request, response) {
request.user.getIdentities({
success: function (identities) {
response.send(statusCodes.OK, {user: request.user, identities: identities});
},
error: function (err) {
response.send(statusCodes.INTERNAL_SERVER_ERROR, err);
}
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment