Last active
February 14, 2016 20:52
-
-
Save spencercarli/79bcd28fe9dcebe033b1 to your computer and use it in GitHub Desktop.
Meteor Authentication from React Native - Signing In with a Resume Token - ddp.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RNApp/app/ddp.js | |
/* | |
* Removed from snippet for brevity | |
*/ | |
ddpClient.loginWithToken = (loginToken, cb) => { | |
let params = { resume: loginToken }; | |
return ddpClient.call("login", [params], cb) | |
} | |
export default ddpClient; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment