1.2.3 • Published 11 months ago

@pyrondev/dash-auth v1.2.3

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
11 months ago

dash-auth

Used to authenticate with an xbox account for dash

Installation

npm install @pyrondev/dash-auth

Usage

Get the xsts token of an xbox account using username and password

Javascript (async)

const { comboAuthenticate } = require("@pyrondev/dash-auth");
(async () => {
	const dashAuth = await comboAuthenticate("email", "password");
	console.log(`XBL3.0 x=${dashAuth.user_hash};${dashAuth.xsts_token}`);
})(); // Async function needed so nodejs doesnt complain about the await

Javascript

const { comboAuthenticate } = require("@pyrondev/dash-auth");
comboAuthenticate("email", "password").then(dashAuth => {
	console.log(`XBL3.0 x=${dashAuth.user_hash};${dashAuth.xsts_token}`);
});
1.2.0

12 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

12 months ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago