8 lines
184 B
JavaScript
8 lines
184 B
JavaScript
const { Authflow } = require('prismarine-auth')
|
|
|
|
const doAuth = () => {
|
|
const flow = new Authflow('test', './', { flow: 'msal' })
|
|
flow.getXboxToken().then(console.log)
|
|
}
|
|
|
|
doAuth()
|