* LCIMSignature.cs:
* LCIMSignatureAction.cs: chore: 签名相关注释
parent
50120e181f
commit
816e735968
|
@ -1,19 +1,27 @@
|
||||||
namespace LeanCloud.Realtime {
|
namespace LeanCloud.Realtime {
|
||||||
|
/// <summary>
|
||||||
|
/// 签名数据
|
||||||
|
/// </summary>
|
||||||
public class LCIMSignature {
|
public class LCIMSignature {
|
||||||
|
/// <summary>
|
||||||
|
/// 签名
|
||||||
|
/// </summary>
|
||||||
public string Signature {
|
public string Signature {
|
||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 时间戳
|
||||||
|
/// </summary>
|
||||||
public long Timestamp {
|
public long Timestamp {
|
||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 随机字符串
|
||||||
|
/// </summary>
|
||||||
public string Nonce {
|
public string Nonce {
|
||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
|
||||||
public LCIMSignature() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,36 @@
|
||||||
namespace LeanCloud.Realtime {
|
namespace LeanCloud.Realtime {
|
||||||
|
/// <summary>
|
||||||
|
/// 支持签名的动作
|
||||||
|
/// </summary>
|
||||||
public static class LCIMSignatureAction {
|
public static class LCIMSignatureAction {
|
||||||
// 邀请
|
/// <summary>
|
||||||
|
/// 邀请
|
||||||
|
/// </summary>
|
||||||
public const string Invite = "invite";
|
public const string Invite = "invite";
|
||||||
// 踢出
|
|
||||||
|
/// <summary>
|
||||||
|
/// 踢出
|
||||||
|
/// </summary>
|
||||||
public const string Kick = "kick";
|
public const string Kick = "kick";
|
||||||
|
|
||||||
//
|
/// <summary>
|
||||||
|
/// 用户拉黑对话
|
||||||
|
/// </summary>
|
||||||
public const string ClientBlockConversations = "client-block-conversations";
|
public const string ClientBlockConversations = "client-block-conversations";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 用户解除拉黑对话
|
||||||
|
/// </summary>
|
||||||
public const string ClientUnblockConversations = "client-unblock-conversations";
|
public const string ClientUnblockConversations = "client-unblock-conversations";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 对话拉黑用户
|
||||||
|
/// </summary>
|
||||||
public const string ConversationBlockClients = "conversation-block-clients";
|
public const string ConversationBlockClients = "conversation-block-clients";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 对话解除拉黑用户
|
||||||
|
/// </summary>
|
||||||
public const string ConversationUnblockClients = "conversation-unblock-clients";
|
public const string ConversationUnblockClients = "conversation-unblock-clients";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue