src/Jwt/SignatureGenerator/SignatureGeneratorFactory.php
public static function resolve(): SignatureGeneratorInterface
    {
        self::addDefaultResolvers();

        foreach (self::$resolvers as $resolver) {
            if ($generator = $resolver()) {
                return $generator;
            }
        }

        throw new \LogicException('Cannot resolve available JWT Signature Generator.');
    }
public static function resolve(): SignatureGeneratorInterface
    {
        self::addDefaultResolvers();

        foreach (self::$resolvers as $resolver) {
            if ($generator = $resolver()) {
                return $generator;
            }
        }

        throw new \LogicException('Cannot resolve available JWT Signature Generator.');
    }
Try to resolve the signature generator

@return SignatureGeneratorInterface

@throws \LogicException