类 MicrosoftAuthenticationController

java.lang.Object
jmccc.microsoft.core.MicrosoftAuthenticationController

public class MicrosoftAuthenticationController extends Object
  • 构造器详细资料

    • MicrosoftAuthenticationController

      public MicrosoftAuthenticationController(String clientId)
  • 方法详细资料

    • getMicrosoftToken

      public MicrosoftSession getMicrosoftToken(Consumer<MicrosoftVerification> callback) throws org.to2mbn.jmccc.auth.AuthenticationException
      抛出:
      org.to2mbn.jmccc.auth.AuthenticationException
    • refreshMicrosoftToken

      public MicrosoftSession refreshMicrosoftToken(MicrosoftSession session) throws org.to2mbn.jmccc.auth.AuthenticationException
      抛出:
      org.to2mbn.jmccc.auth.AuthenticationException
    • getMinecraftToken

      public MicrosoftSession getMinecraftToken(MicrosoftSession session) throws org.to2mbn.jmccc.auth.AuthenticationException
      抛出:
      org.to2mbn.jmccc.auth.AuthenticationException
    • getMinecraftProfile

      public MinecraftProfile getMinecraftProfile(MicrosoftSession session) throws org.to2mbn.jmccc.auth.AuthenticationException
      抛出:
      org.to2mbn.jmccc.auth.AuthenticationException