1.0.0-beta2 • Published 2 years ago

xal-node v1.0.0-beta2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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-node

Building xal-node

Once the repository has been cloned you can run the command below to build the project:

$ npm run build

CLI

You can install the xbox-auth cli app using the instructions below:

$ npm install -g xal-node

Once installed make sure the npm path is properly set. You should be able to run xbox-auth to start the program.

Available commands

CommandDescription
xbox-auth authRuns the authentication flow and provides an URL to login to.
xbox-auth showShows the current status of the tokens and if they are expired or not.
xbox-auth refreshRefreshes the current stored tokens to new up to date tokens without running the full flow again.
xbox-auth tokensFetches all tokens for use with xCloud and xHome
xbox-auth logoutRemoves the current stored 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

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-beta2

2 years ago

0.2.0

2 years ago

1.0.0-beta1

2 years ago