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