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); } }
public void ApplicationStartAfterInit(IApplication application) { SocialNetwork.AutoStartNetworks(); }