public class LoginEncryptionUtils extends Object
| Constructor and Description |
|---|
LoginEncryptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildAndShowLoginDetailsWindow(GeyserSession session) |
static void |
buildAndShowLoginWindow(GeyserSession session) |
static void |
buildAndShowMicrosoftAuthenticationWindow(GeyserSession session)
Promts the user between either OAuth code login or manual password authentication
|
static void |
buildAndShowMicrosoftCodeWindow(GeyserSession session,
com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse msCode)
Shows the code that a user must input into their browser
|
static void |
encryptPlayerConnection(GeyserConnector connector,
GeyserSession session,
com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket) |
public static void encryptPlayerConnection(GeyserConnector connector, GeyserSession session, com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket)
public static void buildAndShowLoginWindow(GeyserSession session)
public static void buildAndShowLoginDetailsWindow(GeyserSession session)
public static void buildAndShowMicrosoftAuthenticationWindow(GeyserSession session)
public static void buildAndShowMicrosoftCodeWindow(GeyserSession session, com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse msCode)
Copyright © 2021 GeyserMC. All rights reserved.