Skip to content

Soundofdarkness/mojang-authenticator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mojang Authenticator

npm (scoped) NPM

Installation

npm install @lumia/mojang-authenticator

Usage Example

import { Authenticator } from "@lumia/mojang-authenticator"

(async () => {
    const auth = new Authenticator();
    const res = await auth.authenticate("your-username", "your-password");
    console.log(res);
})();

License

MIT License