public SPMarketSyncManager(string siteUrl, string login, string password) { var creds = new SharePointOnlineCredentials(login, password); var auth = creds.AuthenticateAsync(new Uri(siteUrl), true); _siteUrl = siteUrl; _cookieContainer = auth.Result.CookieContainer; }
public SPMarketSyncManager(string siteUrl, string login, string password) { var creds = new SharePointOnlineCredentials(login, password); var auth = creds.AuthenticateAsync(new Uri(siteUrl), true); _siteUrl = siteUrl; _cookieContainer = auth.Result.CookieContainer; }