MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / onRequestDone

Method onRequestDone

launcher/minecraft/auth/steps/EntitlementsStep.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void EntitlementsStep::onRequestDone()
49{
50 qCDebug(authCredentials()) << *m_response;
51
52 // TODO: check presence of same entitlementsRequestId?
53 // TODO: validate JWTs?
54 Parsers::parseMinecraftEntitlements(*m_response, m_data->minecraftEntitlement);
55
56 emit finished(AccountTaskState::STATE_WORKING, tr("Got entitlements"));
57}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected