MqttClientAuthenticateResult.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System.Collections.Generic;
  2. using MQTTnet.Packets;
  3. namespace MQTTnet.Client.Connecting
  4. {
  5. // TODO: Consider renaming this to _MqttClientConnectResult_
  6. public class MqttClientAuthenticateResult
  7. {
  8. public MqttClientConnectResultCode ResultCode { get; set; }
  9. public bool IsSessionPresent { get; set; }
  10. public bool? WildcardSubscriptionAvailable { get; set; }
  11. public bool? RetainAvailable { get; set; }
  12. public string AssignedClientIdentifier { get; set; }
  13. public string AuthenticationMethod { get; set; }
  14. public byte[] AuthenticationData { get; set; }
  15. public uint? MaximumPacketSize { get; set; }
  16. public string ReasonString { get; set; }
  17. public ushort? ReceiveMaximum { get; set; }
  18. public string ResponseInformation { get; set; }
  19. public ushort? TopicAliasMaximum { get; set; }
  20. public string ServerReference { get; set; }
  21. public ushort? ServerKeepAlive { get; set; }
  22. public uint? SessionExpiryInterval { get; set; }
  23. public bool? SubscriptionIdentifiersAvailable { get; set; }
  24. public bool? SharedSubscriptionAvailable { get; set; }
  25. public List<MqttUserProperty> UserProperties { get; set; }
  26. }
  27. }