Created
March 30, 2015 23:47
-
-
Save lkdocs/5fe2aedd87adff3e05ad to your computer and use it in GitHub Desktop.
LaunchKey Node.js SDK - DeOrbit
This file contains 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 AuthRequest = require("launchkey-sdk").AuthRequest, | |
authRequest = new AuthRequest("auth request ID") | |
error = function (error) { | |
console.error("Error encountered: [" + error.code + "] " + error.message); | |
}; | |
launchKey.deorbit( | |
authRequest, | |
function () { | |
console.log("Logged out " + authRequest.getId()); | |
}, | |
error | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment