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