minecraft-auth
Version:
Package to authenticate with minecraft using traditional yggdrasil, new microsoft authentication and non-premium.
13 lines (12 loc) • 454 B
TypeScript
import { Account } from "./Account";
export declare class AccountsStorage {
accountList: Account[];
constructor();
getAccount(index: number): Account | undefined;
getAccountByUUID(uuid: string): Account | undefined;
getAccountByName(name: string): Account | undefined;
addAccount(account: Account): void;
deleteAccount(account: Account): void;
serialize(): string;
static deserialize(data: string): AccountsStorage;
}