Skip to content

Commit

Permalink
Update basic.js
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat authored May 4, 2024
1 parent 93cf5f9 commit f77e3c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/xbox/basic.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const { Authflow } = require('prismarine-auth')
const flow = new Authflow() // No parameters needed
// No parameters needed - will login as Minecraft by default unless a custom Azure client ID is passed (see ./azure.js)
const flow = new Authflow()
module.exports = flow.getXboxToken().then(console.log)

0 comments on commit f77e3c5

Please sign in to comment.