0.1.0 • Published 8 years ago

proactive-sharepoint-auth v0.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

proactive-sharepoint-auth

This package is used to get SharePoint authenticate cookie.

For use in task running file use as follow..

JavaScript: var proactive = require('proactive-sharepoint-auth'); var auth = new proactive.SharePoint.Authenticate("https://URL.sharepoint.com", "USERNAME@DOMAIN.onmicrosoft.com", "PASSWORD"); auth.authenticate().then(function(cookie) { //... run code here which uses cookie }).catch(function (reason) { console.log(reason); });

TypeScript var proactive = require('proactive-sharepoint-auth'); var auth = new proactive.SharePoint.Authenticate("https://URL.sharepoint.com", "USERNAME@DOMAIN.onmicrosoft.com", "PASSWORD"); auth.authenticate().then(cookie => { //... run code here which uses cookie }).catch(reason => { console.log(reason); });