类 MicrosoftAuthenticationService
java.lang.Object
jmccc.microsoft.core.MicrosoftAuthenticationService
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getMicrosoftToken(String deviceCode) getMinecraftProfile(String minecraftToken) getMinecraftToken(String userHash, String xboxXstsToken) getXboxUserToken(String microsoftAccessToken) getXboxXstsToken(String xboxUserToken, String relyingParty) refreshMicrosoftToken(String microsoftRefreshToken)
-
构造器详细资料
-
MicrosoftAuthenticationService
-
-
方法详细资料
-
getMicrosoftDeviceCode
- 抛出:
IOException
-
getMicrosoftToken
- 抛出:
IOException
-
refreshMicrosoftToken
public MicrosoftTokenResponse refreshMicrosoftToken(String microsoftRefreshToken) throws IOException - 抛出:
IOException
-
getXboxUserToken
- 抛出:
IOException
-
getXboxXstsToken
public XboxAuthenticateResponse getXboxXstsToken(String xboxUserToken, String relyingParty) throws IOException - 抛出:
IOException
-
getMinecraftToken
public MinecraftLoginWithXboxResponse getMinecraftToken(String userHash, String xboxXstsToken) throws IOException - 抛出:
IOException
-
getMinecraftProfile
- 抛出:
IOException
-