LoginPacket: use netresearch/jsonmapper for login data decoding

this makes retrieval static analysis friendly without extra steps.
This commit is contained in:
Dylan K. Taylor
2020-03-23 21:58:12 +00:00
parent 3e5d3a646b
commit 83a3adecff
11 changed files with 495 additions and 143 deletions

View File

@ -95,7 +95,7 @@ class ProcessLoginTask extends AsyncTask{
$currentKey = null;
$first = true;
foreach($packet->chainDataJwt as $jwt){
foreach($packet->chainDataJwt->chain as $jwt){
$this->validateToken($jwt, $currentKey, $first);
if($first){
$first = false;