Exemple #1
0
        public static string SSOUserKey(db.user user)
        {
            Encryption enc  = new Encryption();
            string     pair = user.name + "|" + user.encPW;
            string     key  = enc.Encrypt(pair);

            return(key);
        }
Exemple #2
0
 public static string LinkToUnsubscripe(db.user user, int subTypeId)
 {
     return(LinkToUnsubscripe(user.encPW, subTypeId));
 }