Skip to content

Commit

Permalink
added auth packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Apr 12, 2024
1 parent 3743e2a commit 5c7b12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TurboMqtt.Core/PacketTypes/AuthPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace TurboMqtt.Core.PacketTypes;
/// <remarks>
/// This packet is only applicable in MQTT 5.0 and is used both in the initial connection phase and for dynamic re-authentication.
/// </remarks>
public class AuthPacket(string authenticationMethod, AuthReasonCode reasonCode) : MqttPacket
public sealed class AuthPacket(string authenticationMethod, AuthReasonCode reasonCode) : MqttPacket
{
// turn the reason code into a ReasonString

Expand Down

0 comments on commit 5c7b12c

Please sign in to comment.