Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
Fix offline access order
Dieser Commit ist enthalten in:
Ursprung
8c89615922
Commit
07522a7d8f
@ -54,7 +54,7 @@ public class PendingMicrosoftAuthentication {
|
|||||||
public static final HttpClient AUTH_CLIENT = MinecraftAuth.createHttpClient();
|
public static final HttpClient AUTH_CLIENT = MinecraftAuth.createHttpClient();
|
||||||
public static final BiFunction<Boolean, Integer, StepFullJavaSession> AUTH_FLOW = (offlineAccess, timeoutSec) -> MinecraftAuth.builder()
|
public static final BiFunction<Boolean, Integer, StepFullJavaSession> AUTH_FLOW = (offlineAccess, timeoutSec) -> MinecraftAuth.builder()
|
||||||
.withClientId(GeyserImpl.OAUTH_CLIENT_ID)
|
.withClientId(GeyserImpl.OAUTH_CLIENT_ID)
|
||||||
.withScope(offlineAccess ? "XboxLive.signin" : "XboxLive.signin XboxLive.offline_access")
|
.withScope(offlineAccess ? "XboxLive.signin XboxLive.offline_access" : "XboxLive.signin")
|
||||||
.withTimeout(timeoutSec)
|
.withTimeout(timeoutSec)
|
||||||
.deviceCode()
|
.deviceCode()
|
||||||
.withoutDeviceToken()
|
.withoutDeviceToken()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren