AgoraIO / Tools

382 stars 828 forks source link

Why c# code is using _uid as _channelName RTM Token generation c# #332

Closed Harsh-U-Joshi closed 3 months ago

Harsh-U-Joshi commented 1 year ago

In Repository code for C# RtmTokenTest class we are passing uid as channel name in AccessToken class constructor what is purpose of that can anyone explain this. Same code also available in RtmTokenBuilderTest class. Thank you for any kind help

sunshinexcode commented 3 months ago

@Harsh-U-Joshi The design of RTM Token 006 version is like this, but version 007 doesn't have this problem. We recommend using the latest 007 version.

Refer to https://github.com/AgoraIO/Tools/blob/master/DynamicKey/AgoraDynamicKey/csharp/src/AgoraIO/TokenBuilders/RtmTokenBuilder2.cs

Harsh-U-Joshi commented 3 months ago

@sunshinexcode Okay. Thanks for reply