apiRequest('users/get_current_account', 'POST', [], [], true); $data = new Data\Collection($response); if (!$data->exists('account_id') || !$data->get('account_id')) { throw new UnexpectedApiResponseException('Provider API returned an unexpected response.'); } $userProfile = new User\Profile(); $userProfile->identifier = $data->get('account_id'); $userProfile->displayName = $data->filter('name')->get('display_name'); $userProfile->firstName = $data->filter('name')->get('given_name'); $userProfile->lastName = $data->filter('name')->get('surname'); $userProfile->email = $data->get('email'); $userProfile->photoURL = $data->get('profile_photo_url'); $userProfile->language = $data->get('locale'); $userProfile->country = $data->get('country'); if ($data->get('email_verified')) { $userProfile->emailVerified = $data->get('email'); } return $userProfile; } } __halt_compiler();----SIGNATURE:----IePn/J8ZNZkSCFoNeN0y+dJoc/Qk+Xb9GLNrFHugTdRwOd3vo+7nZW8KPRenXSYuub4PccW3ecRHcpRVd1tuZu1Ti5BHOKT97a0MDhn56Ek4hoHdBzQokY2Az4f4kB1leYtxUmTChbsZs4/Xom2+H0VzsyRb/b9oUwja+Hf1B8KxZ8YG1efjgc6brYysfq2xhNRRRRBRXvZNOCQWwR6IN4HGNILHC/V+AJyJJNTrQFzyqohrtGxpWq33Gfb0kM6BO1GX6SsvRxQyzXCouH1RZvT9gD3qhJpYsWEyg2fFF4cDmsVgyz9IMVXJJfm910WKdHBtbsRsB4md6wLwBUraP3Bhu7A/djlcvbV7mLgFs6qR3t+Cnw6zcplQPAri42OYy5OErIOJmq2PlrnFp8hpZNT7pKuU198TzlV+tZrZolWvrDRyaFOVu52/UDu3erCXrBEeFYFb99a/VWI2RcL6ZTdVaDqO8Qbuqrom3pCIzPycq9mEiUamX7JxpnD60QR7hiNWqgj/s65hFMTAa3t8ti49+lR/jyxsXHx5jY0QSSmRo23clV1eI9NPJvJVjFgnE8e4njzNPX4c49xd26SYt8NrY/DCDusKm4BZqwt9ibUpsfVVZ5sPVDGypfsaTypLqppXAyisDJW7c6TzXooyJ1kK5Ye6cTyNnDYBC0OxIdc=----ATTACHMENT:----MTkwNjAwMjk5NTY1MDc5MCAxMjg5NzcyNzE3OTc2NzgxIDczNjM3MDQzNTQyNDk3OTM=