public static function Android($Username, $Password, $JSONP) { $AuthorizationStatus = AccountAPI::Authorize($Username, $Password, $JSONP, true); if ($AuthorizationStatus) { return parent::Encode(AccountAPI::AddAndroidArmoryKey($Username, $Password), $JSONP); } else { return parent::Encode(['code' => 403, 'response' => 'Incorrect Login Details'], $JSONP); } }