Class YggdrasilAuthenticationService
java.lang.Object
com.mojang.authlib.HttpAuthenticationService
com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService
- All Implemented Interfaces:
AuthenticationService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Environmentprivate static final org.slf4j.Loggerprivate final ServicesKeySet -
Constructor Summary
ConstructorsModifierConstructorDescriptionYggdrasilAuthenticationService(Proxy proxy, Environment environment) privateYggdrasilAuthenticationService(Proxy proxy, ServicesKeySet servicesKeySet, Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionCreates a relevantMinecraftSessionServicedesigned for this authentication service.createOffline(Proxy proxy) createOffline(Proxy proxy, Environment environment) Creates a relevantGameProfileRepositorydesigned for this authentication service.createUserApiService(String accessToken) private static EnvironmentMethods inherited from class HttpAuthenticationService
buildQuery, concatenateURL, constantURL, getProxy
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
environment
-
servicesKeySet
-
-
Constructor Details
-
YggdrasilAuthenticationService
-
YggdrasilAuthenticationService
-
YggdrasilAuthenticationService
private YggdrasilAuthenticationService(Proxy proxy, @Nullable ServicesKeySet servicesKeySet, Environment environment)
-
-
Method Details
-
createOffline
-
createOffline
-
determineEnvironment
-
createMinecraftSessionService
Description copied from interface:AuthenticationServiceCreates a relevantMinecraftSessionServicedesigned for this authentication service. This is a Minecraft specific service and is not relevant to any other game agent.- Returns:
- New minecraft session service
-
createProfileRepository
Description copied from interface:AuthenticationServiceCreates a relevantGameProfileRepositorydesigned for this authentication service.- Returns:
- New profile repository
-
createUserApiService
-
getServicesKeySet
-