Example #1
0
 protected SocialUserInfo(SocialNetwork issuer, SocialUserInfoToken?existingToken = null)
 {
     m_IssuerNetworkName = issuer.Name;
     if (existingToken.HasValue)
     {
         ID = existingToken.Value.NetUserID;
         LongTermProviderToken = existingToken.Value.NetLongToken;
         issuer.RetrieveUserInfo(this);
     }
 }
Example #2
0
 public void ApplicationStartAfterInit(IApplication application)
 {
     SocialNetwork.AutoStartNetworks();
 }