Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/minecraft_lib/auth/mod.ts

A collection of modules that can be used to build Minecraft servers, clients, utilities and other tools.
Latest
import * as minecraftLib from "https://deno.land/x/minecraft_lib@0.1.0/auth/mod.ts";

Helper functions for authentication with Microsoft accounts and retrieval of access tokens.

Classes

A simple OAuth client that supports public clients (without client secret).

Variables

A preconfigured OAuth client that uses the client ID and OAuth endpoints of the official Minecraft launcher.

Functions

Retrieves the Minecraft access token via Xbox Live services using the provided OAuth access token.

Interfaces

The access token used for accessing Minecraft APIs and joining servers.

Configuration for the OAuthClient