45 lines
No EOL
1.3 KiB
Text
45 lines
No EOL
1.3 KiB
Text
{
|
|
// Auth Button
|
|
"authButton": {
|
|
// Position of the button on the multiplayer screen
|
|
"x": 6,
|
|
// Position of the button on the multiplayer screen
|
|
"y": 6,
|
|
// True if the button can be dragged to a new position
|
|
"draggable": true
|
|
},
|
|
// Login Methods
|
|
"methods": {
|
|
// Login via Microsoft
|
|
"microsoft": {
|
|
// Indicates the type of user interaction that is required
|
|
"prompt": "DEFAULT",
|
|
// The port from which to listen for OAuth2 callbacks
|
|
"port": 25585,
|
|
// OAuth2 client id
|
|
"clientId": "e16699bb-2aa8-46da-b5e3-45cbcce29091",
|
|
// OAuth2 authorization url
|
|
"authorizeUrl": "https://login.live.com/oauth20_authorize.srf",
|
|
// OAuth2 access token url
|
|
"tokenUrl": "https://login.live.com/oauth20_token.srf",
|
|
// Xbox authentication url
|
|
"xboxAuthUrl": "https://user.auth.xboxlive.com/user/authenticate",
|
|
// Xbox XSTS authorization url
|
|
"xboxXstsUrl": "https://xsts.auth.xboxlive.com/xsts/authorize",
|
|
// Minecraft authentication url
|
|
"mcAuthUrl": "https://api.minecraftservices.com/authentication/login_with_xbox",
|
|
// Minecraft profile url
|
|
"mcProfileUrl": "https://api.minecraftservices.com/minecraft/profile"
|
|
},
|
|
// Login via Mojang (or legacy)
|
|
"mojang": {
|
|
// Last used username
|
|
"lastUsername": ""
|
|
},
|
|
// Login Offline
|
|
"offline": {
|
|
// Last used username
|
|
"lastUsername": ""
|
|
}
|
|
}
|
|
} |