-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
111 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Source/MQTTnet/Options/ReceiveMqttEnhancedAuthenticationDataResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// 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.Packets; | ||
using MQTTnet.Protocol; | ||
|
||
namespace MQTTnet; | ||
|
||
public sealed class ReceiveMqttEnhancedAuthenticationDataResult | ||
{ | ||
public byte[] AuthenticationData { get; init; } | ||
|
||
public string AuthenticationMethod { get; init; } | ||
|
||
public MqttAuthenticateReasonCode ReasonCode { get; init; } | ||
|
||
public string ReasonString { get; init; } | ||
|
||
public List<MqttUserProperty> UserProperties { get; init; } | ||
} |
17 changes: 17 additions & 0 deletions
17
Source/MQTTnet/Options/SendMqttEnhancedAuthenticationDataOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 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.Packets; | ||
|
||
namespace MQTTnet; | ||
|
||
public sealed class SendMqttEnhancedAuthenticationDataOptions | ||
{ | ||
public byte[] Data { get; init; } | ||
|
||
public string ReasonString { get; init; } | ||
|
||
public List<MqttUserProperty> UserProperties { get; init; } | ||
} |