MCPcopy Create free account
hub / github.com/MultiMC/Launcher / invalidateClientToken

Method invalidateClientToken

launcher/minecraft/auth/AccountData.cpp:405–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void AccountData::invalidateClientToken() {
406 if(type != AccountType::Mojang) {
407 return;
408 }
409 yggdrasilToken.extra["clientToken"] = QUuid::createUuid().toString().remove(QRegExp("[{-}]"));
410}
411
412QString AccountData::profileId() const {
413 return minecraftProfile.id;

Callers

nothing calls this directly

Calls 2

removeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected