You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
1.2 KiB

using System;
namespace Common.Models
{
public class TokenManageModel
{
public string UserName { get; set; }
public string Password { get; set; }
public string AppId { get; set; }
public string ApiAccessKey { get; set; }
public string TokenNo { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
public DateTime ExpiresTime { get; set; }
public string SecrateKey { get; set; }
public string tokenUser { get; set; }
//public string tokenUser {
// set {
// _tokenUser = (!string.IsNullOrWhiteSpace(UserName) ? Regex.Replace(UserName, "\\s", "_") : UserName) +
// (!string.IsNullOrWhiteSpace(Password) ? "|" + Password : "") + (!string.IsNullOrWhiteSpace(AppId) ? "|" + AppId : "")
// + (!string.IsNullOrWhiteSpace(ApiAccessKey) ? "|" + ApiAccessKey : "") + (!string.IsNullOrWhiteSpace(SecrateKey) ? "|" + SecrateKey : "")
// + (!string.IsNullOrWhiteSpace(Issuer) ? "|" + Issuer : "") + (!string.IsNullOrWhiteSpace(Audience) ? "|" + Audience : "");
// }
// get { return _tokenUser; }
//}
}
}