Class HttpAuthenticationService
java.lang.Object
com.mojang.authlib.HttpAuthenticationService
- All Implemented Interfaces:
AuthenticationService
- Direct Known Subclasses:
YggdrasilAuthenticationService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildQuery(Map<String, Object> query) Turns the specified Map into an encoded invalid input: '&' escaped querystatic URLconcatenateURL(URL url, String query) Concatenates the givenURLand query.static URLconstantURL(String url) getProxy()Gets the proxy to be used with every HTTP(S) request.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AuthenticationService
createMinecraftSessionService, createProfileRepository
-
Field Details
-
proxy
-
-
Constructor Details
-
HttpAuthenticationService
-
-
Method Details
-
getProxy
Gets the proxy to be used with every HTTP(S) request.- Returns:
- Proxy to be used.
-
constantURL
-
buildQuery
-
concatenateURL
-