public static string Create(string userName, TimeSpan timeSpan) { return(Base64.Encode($"{userName}|{UnixTimeStamp.ToUnixTimaStamp(DateTime.Now + timeSpan)}")); }
public static string Create(string userName, TimeSpan timeSpan) { return(Base64.Encode($"{userName}|{UnixTimeStamp.ToUnixTimaStamp(DateTime.Now + timeSpan)}")); }