net.minecraft.client.multiplayer

public class AccountProfileKeyPairManager

implements ProfileKeyPairManager

fnl
net.minecraft.client.multiplayer.AccountProfileKeyPairManager
net.minecraft.class_7434
net.minecraft.client.session.ProfileKeysImpl
net.minecraft.src.C_252356_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_39074
LOGGER
f_252448_
private static final Duration
c
MINIMUM_PROFILE_KEY_REFRESH_INTERVAL
field_40797
TIME_UNTIL_FIRST_EXPIRY_CHECK
f_252471_
private static final Path
d
PROFILE_KEY_PAIR_DIR
field_39075
PROFILE_KEYS_PATH
f_252484_
private final com.mojang.authlib.minecraft.UserApiService
e
userApiService
field_39958
userApiService
f_252526_
private final Path
f
profileKeyPairPath
field_39076
jsonPath
f_252423_
private CompletableFuture<Optional<ProfileKeyPair>>
g
keyPair
field_39959
keyFuture
f_252428_
private Instant
h
nextProfileKeyRefreshTime
field_40798
expiryCheckTime
f_252478_

Constructor summary

ModifierConstructor
public (com.mojang.authlib.minecraft.UserApiService userApiService, UUID uuid, Path root)

Method summary

Modifier and TypeMethod
public CompletableFuture<Optional<ProfileKeyPair>>
a()
prepareKeyPair()
method_46522()
fetchKeyPair()
m_252904_()
public boolean
b()
shouldRefreshKeyPair()
method_46523()
isExpired()
m_253130_()
private CompletableFuture<Optional<ProfileKeyPair>>
a(Optional<cfk> arg0)
readOrFetchProfileKeyPair(Optional<ProfileKeyPair> arg0)
method_43602(Optional<class_7427> arg0)
getKeyPair(Optional<PlayerKeyPair> currentKey)
m_253041_(Optional<C_213069_> arg0)
private Optional<ProfileKeyPair>
c()
readProfileKeyPair()
method_43606()
loadKeyPairFromFile()
m_252827_()
private void
a(cfk arg0)
writeProfileKeyPair(ProfileKeyPair arg0)
method_43600(class_7427 arg0)
saveKeyPairToFile(PlayerKeyPair keyPair)
m_253216_(C_213069_ arg0)
private ProfileKeyPair
a(com.mojang.authlib.minecraft.UserApiService arg0)
fetchProfileKeyPair(com.mojang.authlib.minecraft.UserApiService arg0)
method_43605(com.mojang.authlib.minecraft.UserApiService arg0)
fetchKeyPair(com.mojang.authlib.minecraft.UserApiService userApiService)
m_253252_(com.mojang.authlib.minecraft.UserApiService arg0)
private static ProfilePublicKey$Data
a(com.mojang.authlib.yggdrasil.response.KeyPairResponse arg0)
parsePublicKey(com.mojang.authlib.yggdrasil.response.KeyPairResponse arg0)
method_44076(com.mojang.authlib.yggdrasil.response.KeyPairResponse arg0)
decodeKeyPairResponse(com.mojang.authlib.yggdrasil.response.KeyPairResponse keyPairResponse)
m_253196_(com.mojang.authlib.yggdrasil.response.KeyPairResponse p_253834_)