Appearance
@loontail/minecraft-kit v0.5.0 / AuthModes
Variable: AuthModes
ts
const AuthModes: {
OFFLINE: "offline";
ONLINE: "online";
};Authentication modes accepted by the launch composer.
Type declaration
| Member | Type | Value | Description |
|---|---|---|---|
OFFLINE | "offline" | "offline" | Offline-mode play with a chosen username and synthetic UUID. |
ONLINE | "online" | "online" | Pre-authenticated session — caller provides the access token and identity. |