using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeanCloud.Realtime
{
///
/// 签名
///
public class AVIMSignature
{
///
/// 经过 SHA1 以及相关操作参数计算出来的加密字符串
///
public string SignatureContent { get; set; }
///
/// 服务端时间戳
///
public long Timestamp { get; set; }
///
/// 随机字符串
///
public string Nonce { get; set; }
///
/// 构造一个签名
///
///
///
///
public AVIMSignature(string s,long t,string n)
{
this.Nonce = n;
this.SignatureContent = s;
this.Timestamp = t;
}
}
}