Skip to content

@loontail/minecraft-kit / AuthModes

Variable: AuthModes

ts
const AuthModes: {
  OFFLINE: "offline";
  ONLINE: "online";
};

Defined in: src/types/auth.ts:4

Authentication modes accepted by the launch composer.

Type Declaration

NameTypeDefault valueDescriptionDefined in
OFFLINE"offline""offline"Offline-mode play with a chosen username and synthetic UUID.src/types/auth.ts:6
ONLINE"online""online"Pre-authenticated session — caller provides the access token and identity.src/types/auth.ts:8

MIT License