Package org.geysermc.geyser.util
Class LoginEncryptionUtils
java.lang.Object
org.geysermc.geyser.util.LoginEncryptionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildAndShowConsentWindow(GeyserSession session)Build a window that explains the user's credentials will be saved to the system.static voidbuildAndShowLoginDetailsWindow(GeyserSession session)static voidbuildAndShowLoginWindow(GeyserSession session)static voidPrompts the user between either OAuth code login or manual password authenticationstatic voidbuildAndShowMicrosoftCodeWindow(GeyserSession session, com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse msCode)Shows the code that a user must input into their browserstatic voidbuildAndShowTokenExpiredWindow(GeyserSession session)static voidencryptPlayerConnection(GeyserSession session, com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket)
-
Constructor Details
-
LoginEncryptionUtils
public LoginEncryptionUtils()
-
-
Method Details
-
encryptPlayerConnection
public static void encryptPlayerConnection(GeyserSession session, com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket) -
buildAndShowLoginWindow
-
buildAndShowConsentWindow
Build a window that explains the user's credentials will be saved to the system. -
buildAndShowTokenExpiredWindow
-
buildAndShowLoginDetailsWindow
-
buildAndShowMicrosoftAuthenticationWindow
Prompts the user between either OAuth code login or manual password authentication -
buildAndShowMicrosoftCodeWindow
public 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
-