示例#1
0
        private void SetServiceIdentifyer(OAuthServiceIdentifyer ServiceIdentifyer)
        {
            base["ServiceType"] = ServiceIdentifyer.ServiceType;
            base["ServiceKey"] = ServiceIdentifyer.ServiceKey;

            Save();
        }
示例#2
0
 public static void SetUserIdntifyer(string MembershipUserName, OAuthServiceIdentifyer ServiceIdentifyer)
 {
     var p = GetUserProfile(MembershipUserName);
     p.SetServiceIdentifyer(ServiceIdentifyer);
 }