Class YggdrasilGameProfileRepository
java.lang.Object
com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository
- All Implemented Interfaces:
GameProfileRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate static final intprivate static final intprivate static final intprivate static final org.slf4j.Loggerprivate static final intprivate final Stringprivate final URL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindProfileByName(String name) Find UUID and canonical name for a single account.voidfindProfilesByNames(String[] names, ProfileLookupCallback callback) Find UUID and canonical name for muliple accounts Note 1: returned names might differ in casing from requested one Note 2: might be slower thanGameProfileRepository.findProfileByName(String)private static StringnormalizeName(String name)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
ENTRIES_PER_PAGE
private static final int ENTRIES_PER_PAGE- See Also:
-
MAX_FAIL_COUNT
private static final int MAX_FAIL_COUNT- See Also:
-
DELAY_BETWEEN_PAGES
private static final int DELAY_BETWEEN_PAGES- See Also:
-
DELAY_BETWEEN_FAILURES
private static final int DELAY_BETWEEN_FAILURES- See Also:
-
client
-
searchPageUrl
-
nameLookupUrl
-
-
Constructor Details
-
YggdrasilGameProfileRepository
-
-
Method Details
-
findProfilesByNames
Description copied from interface:GameProfileRepositoryFind UUID and canonical name for muliple accounts Note 1: returned names might differ in casing from requested one Note 2: might be slower thanGameProfileRepository.findProfileByName(String)- Specified by:
findProfilesByNamesin interfaceGameProfileRepository
-
findProfileByName
Description copied from interface:GameProfileRepositoryFind UUID and canonical name for a single account. Note: returned name might differ in casing from requested one- Specified by:
findProfileByNamein interfaceGameProfileRepository
-
normalizeName
-