'name' => 'tokenSecret'
] );
} /**
* Returns information about shop upgrade state and installed plugins.
*
* @return PluginInformationResultStruct|false
*/
public function getPluginInformation(Response
$response, Request
$request) { if (!
$this->
isPluginsSubscriptionCookieValid($request)) { return false;
} try { $cookie =
new Cookie('lastCheckSubscriptionDate',
date('dmY'
),
time() + 60 * 60 * 24, '/', null,
$request->
isSecure());
$response->headers->
setCookie($cookie);
return $this->
getPluginInformationFromApi();
} catch (ShopSecretException
$e) { $this->exception =
$e;
$this->
resetShopSecret();