|
|
@@ -10,7 +10,6 @@ use Firebase\JWT\Key;
|
|
|
use Ramsey\Uuid\Uuid;
|
|
|
use SixShop\Auth\Contracts\AuthInterface;
|
|
|
use SixShop\Auth\Enum\UserTypeEnum;
|
|
|
-use think\Env;
|
|
|
use think\facade\Event;
|
|
|
|
|
|
class Auth implements AuthInterface
|
|
|
@@ -19,7 +18,7 @@ class Auth implements AuthInterface
|
|
|
|
|
|
public const int SLEEP_WAY = 60;
|
|
|
|
|
|
- private static array $config;
|
|
|
+ public static array $config;
|
|
|
|
|
|
public function __construct(private readonly UserTypeEnum $userType)
|
|
|
{
|
|
|
@@ -83,9 +82,4 @@ class Auth implements AuthInterface
|
|
|
{
|
|
|
return $this->userType;
|
|
|
}
|
|
|
-
|
|
|
- public static function getConfig(): array
|
|
|
- {
|
|
|
- return self::$config;
|
|
|
- }
|
|
|
}
|