Package Exports
- xal-node
- xal-node/dist/lib.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xal-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
xal-node
xal-node: Typescript implementation for Xbox Authentication Library (XAL)
Installing xal-node
You can install the project with npm. In the project directory, run:
$ npm install xal-nodeBuilding xal-node
Once the repository has been cloned you can run the command below to build the project:
$ npm run buildCLI
You can install the xbox-auth cli app using the instructions below:
$ npm install -g xal-nodeOnce installed make sure the npm path is properly set. You should be able to run xbox-auth to generate a .xbox.tokens.json file with tokens.
Tokens
The tokens are stored in the current working directory in the file .xbox.tokens.json.
Roadmap
The current library is a very bare bones implementation. The long term plan is to extend the library to support more authentication options and cycle tokens properly.
Credits
Big thanks to @tuxuser and Team OpenXbox for creating the xal-rs library and giving the inspiration to port this over to Typescript