UNPKG

onelnchr-mc-auth

Version:

Package to authenticate with minecraft. Fork of minecraft-auth by dommilosz which uses my own appID by default.

11 lines (10 loc) 352 B
import { PKCEPairType } from "../types"; import { Account } from "../Account"; export declare class MicrosoftAccount extends Account { refreshToken?: string; authCode?: string; constructor(); refresh(): Promise<string>; authFlow(authCode: string, PKCEPair?: PKCEPairType): Promise<string>; use(): Promise<string | undefined>; }