code: 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.');
      }
docs: Try to resolve the signature generator
  
  @return SignatureGeneratorInterface
  
  @throws \LogicException