JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 207
  • Score
    100M100P100Q80787F
  • License MIT

XAL implementation in Typescript. Used for authenticating to services like Xbox.

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)

Quality Gate Status Lines of Code Vulnerabilities Maintainability Rating

📚 Documentation: https://unknownskl.github.io/xal-node/

Other AppId and titleId's

It is possible to authenticate to different services using this library as well. Not all calls are supported but the authentication part is quite general. You can override the titleId like below:

const xal = xallib.Xal()
xal._app = {
    AppId: '<appId>',
    TitleId: '<titleId>',
    RedirectUri: '<redirectUri>',
}

Credits

Big thanks to @tuxuser and Team OpenXbox for creating the xal-rs library and giving the inspiration to port this over to Typescript