Created
October 13, 2015 20:21
-
-
Save rom1504/07a3da17ad347ec7bba7 to your computer and use it in GitHub Desktop.
checking user/pass
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
| var ygg = require("yggdrasil")({host: 'https://authserver.mojang.com'}); | |
| ygg.auth({user:"Corgano",pass:"super password"},function(err,data) { if(err) console.log("fail"); else | |
| console.log("success"); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment