Skip to content

Commit b431a5d

Browse files
rido-minchkr1011
andauthored
Add ReasonCode to SendExtendedAuthenticationExchangeDataAsync (#1882)
* add reason code to ext auth * Update ReleaseNotes.md --------- Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com>
1 parent b9683c2 commit b431a5d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ReleaseNotes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
* [Server] Fixed not working _UpdateRetainedMessageAsync_ public api (#1858, thanks to @kimdiego2098).
22
* [Client] Added support for custom CA chain validation (#1851, thanks to @rido-min).
3-
* [Client] Fixed handling of unobserved tasks exceptions (#1871).
3+
* [Client] Fixed handling of unobserved tasks exceptions (#1871).
4+
* [Client] Fixed not specified ReasonCode when using _SendExtendedAuthenticationExchangeDataAsync_ (#1882, thanks to @rido-min).

Source/MQTTnet/Client/MqttClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ public Task SendExtendedAuthenticationExchangeDataAsync(MqttExtendedAuthenticati
309309
AuthenticationMethod = Options.AuthenticationMethod,
310310
AuthenticationData = data.AuthenticationData,
311311
ReasonString = data.ReasonString,
312+
ReasonCode = data.ReasonCode,
312313
UserProperties = data.UserProperties
313314
};
314315

0 commit comments

Comments
 (0)