Files
MQTTnet/Source/MQTTnet/Packets/MqttAuthPacket.cs
T
2022-02-20 21:10:46 +01:00

23 lines
711 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using MQTTnet.Protocol;
namespace MQTTnet.Packets
{
/// <summary>Added in MQTTv5.0.0.</summary>
public sealed class MqttAuthPacket : MqttPacket
{
public byte[] AuthenticationData { get; set; }
public string AuthenticationMethod { get; set; }
public MqttAuthenticateReasonCode ReasonCode { get; set; }
public string ReasonString { get; set; }
public List<MqttUserProperty> UserProperties { get; set; }
}
}