Last active
November 12, 2021 13:20
-
-
Save LucienHH/75de27839f8de3fc68fc8d9ced51a8fd to your computer and use it in GitHub Desktop.
test
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
const doAuth = async () => { | |
const onMsaCode = (response) => { console.log(response) } | |
const flow = await new Authflow('whes1015', './caches/', { authTitle: '00000000447D1E48', relyingParty: 'http://xboxlive.com/' }, onMsaCode) | |
const { userXUID } = await flow.getXboxToken() | |
console.log(userXUID) | |
} | |
doAuth(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment