Skip to main content
Module

x/minecraft_lib/auth/xbox.ts>MinecraftAccessToken

A collection of modules that can be used to build Minecraft servers, clients, utilities and other tools.
Latest
interface MinecraftAccessToken
import { type MinecraftAccessToken } from "https://deno.land/x/minecraft_lib@0.1.0/auth/xbox.ts";

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

Properties

accessToken: string

The token used to authenticate and join Minecraft servers.

expiresAt: number

Unix timestamp in milliseconds when the access token expires.