0.4.2 • Published 1 year ago
@matteopolak/minecraft-auth v0.4.2
Minecraft Auth
# Install with yarn
yarn add @matteopolak/minecraft-auth
# Install with npm
npm install @matteopolak/minecraft-auth
Usage
import { MicrosoftAuth } from '@matteopolak/minecraft-auth';
const auth = new MicrosoftAuth('username', 'password');
const java = await auth.getJavaToken();
console.log(java.token); // eyJhbG...