public class MinecraftAuth
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MinecraftAuth.Bedrock |
static class |
MinecraftAuth.Java |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
MinecraftAuth() |
| Modifier and Type | Method and Description |
|---|---|
static StepMCChain.MCChain |
requestBedrockLogin(java.util.function.Consumer<StepMsaDeviceCode.MsaDeviceCode> msaDeviceCodeConsumer) |
static StepMCChain.MCChain |
requestBedrockLogin(StepCredentialsMsaCode.MsaCredentials msaCredentials) |
static StepMCProfile.MCProfile |
requestJavaLogin(java.util.function.Consumer<StepMsaDeviceCode.MsaDeviceCode> msaDeviceCodeConsumer) |
static StepMCProfile.MCProfile |
requestJavaLogin(StepCredentialsMsaCode.MsaCredentials msaCredentials) |
public static StepMCProfile.MCProfile requestJavaLogin(java.util.function.Consumer<StepMsaDeviceCode.MsaDeviceCode> msaDeviceCodeConsumer) throws java.lang.Exception
java.lang.Exceptionpublic static StepMCProfile.MCProfile requestJavaLogin(StepCredentialsMsaCode.MsaCredentials msaCredentials) throws java.lang.Exception
java.lang.Exceptionpublic static StepMCChain.MCChain requestBedrockLogin(java.util.function.Consumer<StepMsaDeviceCode.MsaDeviceCode> msaDeviceCodeConsumer) throws java.lang.Exception
java.lang.Exceptionpublic static StepMCChain.MCChain requestBedrockLogin(StepCredentialsMsaCode.MsaCredentials msaCredentials) throws java.lang.Exception
java.lang.Exception