code: public static function connect($type, $options = [])
      {
          $class         = '\\thinkextend\\oauth\\driver\\' . ucwords($type);
          self::$handler = new $class($options);
          return self::$handler;
      }
docs: 连接oauth
  @access public
  @param string $type  Oauth类型
  @param array $options  配置数组
  @return object