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