From d22047aaffce3fc79ebd597d733ac459455cabb9 Mon Sep 17 00:00:00 2001 From: Sasha Rybkin Date: Fri, 26 Jun 2026 16:14:24 +0300 Subject: [PATCH] =?UTF-8?q?#127634=20=D0=9C=D0=B5=D1=82=D0=BE=D0=B4=20?= =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BE=D0=B9=20=D1=81=D0=B5=D1=81=D1=81=D0=B8=D0=B8=20?= =?UTF-8?q?=D1=87=D0=B5=D0=BA=D0=B0=D1=83=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GraphQL.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GraphQL.php b/GraphQL.php index faf5f7f..f8d4f8b 100644 --- a/GraphQL.php +++ b/GraphQL.php @@ -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);