Minecraft-Console-Client/MinecraftClient/Protocol
copilot-swe-agent[bot] 5147fb42df Replace PPFT/urlPost HTML scraping with OAuth 2.0 device code flow for 2FA support
- Add Microsoft.RequestDeviceCode() and Microsoft.PollDeviceCodeToken() methods
- Remove XboxLive.PreAuth() and XboxLive.UserLogin() (HTML scraping)
- Remove PreAuthResponse struct, PPFT/urlPost regex patterns
- Update XblAuthenticate to always use "d=" prefix for OAuth tokens
- Update MicrosoftMCCLogin to use device code flow
- Skip password prompting for Microsoft device code method
- Add translation strings for device code prompts
- Update config comments and documentation

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/e13b31f3-8d76-4240-bb69-a519a145fc6a
2026-03-23 15:38:47 +00:00
..
Handlers Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
Message Address code review feedback 2026-03-22 16:46:33 +00:00
ProfileKey Add configurable authlib-injector API path and HTTP support for Yggdrasil auth 2026-03-23 00:15:32 +01:00
Session Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
DataTypeGenerator.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
EntityActionType.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
GuidExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
IMinecraftCom.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
IMinecraftComHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
JwtPayloadDecode.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
MicrosoftAuthentication.cs Replace PPFT/urlPost HTML scraping with OAuth 2.0 device code flow for 2FA support 2026-03-23 15:38:47 +00:00
MojangAPI.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
PlayerInfo.cs Trim 2023-01-14 21:07:09 +08:00
ProtocolHandler.cs Replace PPFT/urlPost HTML scraping with OAuth 2.0 device code flow for 2FA support 2026-03-23 15:38:47 +00:00
ProxiedWebRequest.cs Address code review feedback 2026-03-22 16:46:33 +00:00
ReplayHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00