public class LoginEncryptionUtils extends Object
| Constructor and Description |
|---|
LoginEncryptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
authenticateFromForm(GeyserSession session,
GeyserConnector connector,
int formId,
String formData) |
static void |
encryptPlayerConnection(GeyserConnector connector,
GeyserSession session,
com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket) |
static void |
showLoginDetailsWindow(GeyserSession session) |
static void |
showLoginWindow(GeyserSession session) |
static void |
showMicrosoftAuthenticationWindow(GeyserSession session)
Prompts the user between either OAuth code login or manual password authentication
|
static void |
showMicrosoftCodeWindow(GeyserSession session,
com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse response)
Shows the code that a user must input into their browser
|
public static void encryptPlayerConnection(GeyserConnector connector, GeyserSession session, com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket)
public static void showLoginWindow(GeyserSession session)
public static void showLoginDetailsWindow(GeyserSession session)
public static void showMicrosoftAuthenticationWindow(GeyserSession session)
public static void showMicrosoftCodeWindow(GeyserSession session, com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse response)
public static boolean authenticateFromForm(GeyserSession session, GeyserConnector connector, int formId, String formData)
Copyright © 2021 GeyserMC. All rights reserved.