| 457 | } |
| 458 | |
| 459 | void AccountData::invalidateClientToken() { |
| 460 | if(type != AccountType::Mojang && type != AccountType::AuthlibInjector) { |
| 461 | return; |
| 462 | } |
| 463 | yggdrasilToken.extra["clientToken"] = QUuid::createUuid().toString().remove(QRegularExpression("[{-}]")); |
| 464 | } |
| 465 | |
| 466 | QString AccountData::profileId() const { |
| 467 | return minecraftProfile.id; |