CmlLib.Core.Auth.Microsoft

Login, logout, and account management in Minecraft: Java Edition

Install

Install nuget package CmlLib.Core.Auth.Microsoft

Getting Started

using CmlLib.Core.Auth.Microsoft;

var loginHandler = JELoginHandlerBuilder.BuildDefault();
var session = await loginHandler.Authenticate();

Set Session property of Launch Options.

Example

CmlLib-Minecraft-Launcher: CmlLib.Core and CmlLib.Core.Auth.Microsoft sample launcher.

WinFormTest

ConsoleTest

Usage

Login, logout, and account managements.

Builder for initializing an instance of JELoginHandler.

Manage account list.

Last updated