sharepoint-apponly-node

1.0.5 • Public • Published

SharePoint-apponly-node

access SharePoint using client credentials "apponly" from nodejs applications
run npm install sharepoint-apponly-node --save

  1. Require the sharepoint-apponly module
    var sharepoint=require('sharepoint-apponly-node');
  2. Execute call to getSharePointAppOnlyAccessToken and get the token response body in the callback sharepoint.getSharePointAppOnlyAccessToken('https://yoursubdomain.sharepoint.com', 'YourClientId','YourClientSecret',function(response){ console.log(response); });
    the result will be something like Client Credentials Token Response

Package Sidebar

Install

npm i sharepoint-apponly-node

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

161 kB

Total Files

5

Last publish

Collaborators

  • amrfouad