#127634 Метод создания новой сессии чекаута
This commit is contained in:
@@ -207,6 +207,11 @@ class GraphQL
|
|||||||
return $jwtExp - time() - 30;
|
return $jwtExp - time() - 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setJwt($jwt)
|
||||||
|
{
|
||||||
|
self::$jwt = $jwt;
|
||||||
|
}
|
||||||
|
|
||||||
public function getJwt()
|
public function getJwt()
|
||||||
{
|
{
|
||||||
self::$jwt = self::$jwt ? self::$jwt: Yii::$app->cache->get(self::$jwtKeyCache);
|
self::$jwt = self::$jwt ? self::$jwt: Yii::$app->cache->get(self::$jwtKeyCache);
|
||||||
|
|||||||
Reference in New Issue
Block a user