Fixes for authlib-injector accounts #2890
Open
+165
−118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes several fixes for authlib-injector (here called "Yggdrasil" or "Authlib") accounts. For unmojang/drasl#66.
Main.General.AuthServer.AuthlibInjectorAPIPath
, to allow specifying the path to the root of the authlib-injector API. Whereas Blessing Skin places their API at/api/yggdrasil
, other authlib-injector servers (Drasl, Ely.By) do not, so this change enables compatibility with them.AuthServer
config optionsDoHTTPSRequest
withSystem.Net.Http.HttpClient
, but still respect the configured proxy.TcpClient
toHttpClient
---that's what I did here. It sent the request through my TCP proxy when I tested it. Is this correct?feature.enable_profile_key
flag setSee commit message for more details. I'm a C# amateur, so a thorough review would be appreciated :)