3 function LinkedInBackend(user
, identity
) {
5 this.identity
= identity
;
8 LinkedInBackend
.prototype.getEmailAddress = function(/*preferStoredEmail*/) {
9 return this.identity
.email
;
12 LinkedInBackend
.prototype.findOrgs = function() {
16 LinkedInBackend
.prototype.getProfile = function() {
17 // TODO: gravatar or fullcontact?
18 return { provider
: 'linkedin' };
21 module
.exports
= LinkedInBackend
;