平安校园
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.
 
 
 
 
 
 

22 lines
623 B

  1. namespace SafeCampus.Plugin.Mqtt
  2. {
  3. /// <summary>
  4. ///Mqtt服务
  5. /// </summary>
  6. public interface IMqttService : ITransient
  7. {
  8. /// <summary>
  9. /// mqtt登录http认证
  10. /// </summary>
  11. /// <param name="input">认证参数</param>
  12. /// <param name="userId">用户Id</param>
  13. /// <returns>认证结果</returns>
  14. Task<MqttAuthOutput> Auth(MqttAuthInput input);
  15. /// <summary>
  16. /// 获取mqtt登录web端参数
  17. /// </summary>
  18. /// <returns>登录参数</returns>
  19. Task<MqttParameterOutput> GetWebLoginParameter();
  20. }
  21. }