X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fauth%2Ftwitter%2Fpassport.js;h=eb1cbf56c7cfc7c34c1f83ad7688986ea0a78fd5;hb=41e3fc85c157ce611a5c1e93b4f7e21cca0d3f5b;hp=5d19d0bdef9cfc99e679b1ee9719161646293375;hpb=316eb813b3d4608548cd4652cab7294455c394fd;p=motion.git diff --git a/server/auth/twitter/passport.js b/server/auth/twitter/passport.js index 5d19d0b..eb1cbf5 100644 --- a/server/auth/twitter/passport.js +++ b/server/auth/twitter/passport.js @@ -1 +1 @@ -var _0x501a=["\x73\x65\x74\x75\x70","\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x75\x73\x65\x72","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];exports[_0x501a[0]]= function(_0x8b7fx1,_0x8b7fx2){var _0x8b7fx3=require(_0x501a[1]);var _0x8b7fx4=require(_0x501a[3])[_0x501a[2]];_0x8b7fx3[_0x501a[15]]( new _0x8b7fx4({consumerKey:_0x8b7fx2[_0x501a[5]][_0x501a[4]],consumerSecret:_0x8b7fx2[_0x501a[5]][_0x501a[6]],callbackURL:_0x8b7fx2[_0x501a[5]][_0x501a[7]]},function(_0x8b7fx5,_0x8b7fx6,_0x8b7fx7,_0x8b7fx8){_0x8b7fx1[_0x501a[14]]({"\x74\x77\x69\x74\x74\x65\x72\x2E\x69\x64\x5F\x73\x74\x72":_0x8b7fx7[_0x501a[8]]},function(_0x8b7fx9,_0x8b7fxa){if(_0x8b7fx9){return _0x8b7fx8(_0x8b7fx9)};if(!_0x8b7fxa){_0x8b7fxa= new _0x8b7fx1({name:_0x8b7fx7[_0x501a[9]],username:_0x8b7fx7[_0x501a[10]],role:_0x501a[11],provider:_0x501a[5],twitter:_0x8b7fx7[_0x501a[12]]});_0x8b7fxa[_0x501a[13]](function(_0x8b7fx9){if(_0x8b7fx9){return _0x8b7fx8(_0x8b7fx9)};return _0x8b7fx8(_0x8b7fx9,_0x8b7fxa)})}else {return _0x8b7fx8(_0x8b7fx9,_0x8b7fxa)}})}))} \ No newline at end of file +var _0xe7c1=["\x73\x65\x74\x75\x70","\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x75\x73\x65\x72","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];exports[_0xe7c1[0]]= function(_0xd02fx1,_0xd02fx2){var _0xd02fx3=require(_0xe7c1[1]);var _0xd02fx4=require(_0xe7c1[3])[_0xe7c1[2]];_0xd02fx3[_0xe7c1[15]]( new _0xd02fx4({consumerKey:_0xd02fx2[_0xe7c1[5]][_0xe7c1[4]],consumerSecret:_0xd02fx2[_0xe7c1[5]][_0xe7c1[6]],callbackURL:_0xd02fx2[_0xe7c1[5]][_0xe7c1[7]]},function(_0xd02fx5,_0xd02fx6,_0xd02fx7,_0xd02fx8){_0xd02fx1[_0xe7c1[14]]({"\x74\x77\x69\x74\x74\x65\x72\x2E\x69\x64\x5F\x73\x74\x72":_0xd02fx7[_0xe7c1[8]]},function(_0xd02fx9,_0xd02fxa){if(_0xd02fx9){return _0xd02fx8(_0xd02fx9)};if(!_0xd02fxa){_0xd02fxa= new _0xd02fx1({name:_0xd02fx7[_0xe7c1[9]],username:_0xd02fx7[_0xe7c1[10]],role:_0xe7c1[11],provider:_0xe7c1[5],twitter:_0xd02fx7[_0xe7c1[12]]});_0xd02fxa[_0xe7c1[13]](function(_0xd02fx9){if(_0xd02fx9){return _0xd02fx8(_0xd02fx9)};return _0xd02fx8(_0xd02fx9,_0xd02fxa)})}else {return _0xd02fx8(_0xd02fx9,_0xd02fxa)}})}))} \ No newline at end of file