Skip to main content
Module

x/minecraft_lib/auth/mod.ts>DeviceCodeVerificationRequest

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

Properties

deviceCode: string

The code used for requesting the access token.

userCode: string

The code the user needs to enter.

verificationUri: string

The URI the user has to visit.

expiresAt: number

Unix timestamp in milliseconds when the device code and user code expires.

interval: number

Token request interval in milliseconds.