You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace SafeCampus.Plugin.Mqtt
- {
- /// <summary>
- /// mqtt登录参数输出
- /// </summary>
- public class MqttParameterOutput
- {
- /// <summary>
- /// 地址
- /// </summary>
- public string Url { get; set; }
-
- /// <summary>
- /// 用户名
- /// </summary>
- public string UserName { get; set; }
-
- /// <summary>
- /// 密码
- /// </summary>
-
- public string Password { get; set; }
-
- /// <summary>
- /// 客户端ID
- /// </summary>
- public string ClientId { get; set; }
-
- /// <summary>
- /// 主题列表
- /// </summary>
- public List<string> Topics { get; set; }
- }
-
- /// <summary>
- /// mqtt认证输出
- /// </summary>
- public class MqttAuthOutput
- {
- /// <summary>
- /// 结果 "allow" | "deny" | "ignore", // Default `"ignore"`
- /// </summary>
- public string Result { get; set; } = "deny";
-
- /// <summary>
- /// 是否超级管理员
- /// </summary>
- public bool Is_superuser { get; set; } = false;
- }
- }
|