Class LoginEncryptionUtils

java.lang.Object
org.geysermc.geyser.util.LoginEncryptionUtils

public class LoginEncryptionUtils extends Object
  • Constructor Details

    • LoginEncryptionUtils

      public LoginEncryptionUtils()
  • Method Details

    • encryptPlayerConnection

      public static void encryptPlayerConnection​(GeyserSession session, com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket)
    • buildAndShowLoginWindow

      public static void buildAndShowLoginWindow​(GeyserSession session)
    • buildAndShowLoginDetailsWindow

      public static void buildAndShowLoginDetailsWindow​(GeyserSession session)
    • buildAndShowMicrosoftAuthenticationWindow

      public static void buildAndShowMicrosoftAuthenticationWindow​(GeyserSession session)
      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