Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / modules / linkedin-backend / lib / index.js
blob1308abe2785e73421ad5e5e87395eba94d853d42
1 'use strict';
3 function LinkedInBackend(user, identity) {
4 this.user = user;
5 this.identity = identity;
8 LinkedInBackend.prototype.getEmailAddress = function(/*preferStoredEmail*/) {
9 return this.identity.email;
12 LinkedInBackend.prototype.findOrgs = function() {
13 return [];
16 LinkedInBackend.prototype.getProfile = function() {
17 // TODO: gravatar or fullcontact?
18 return { provider: 'linkedin' };
21 module.exports = LinkedInBackend;