1.0.1 • Published 8 years ago

adal-node-delegation v1.0.1

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

Adal delegation

This library is used for acquiring downstream tokens via delegation.

An example of which would be web client -> Web Api A -> Web Api B.

Example usage

var adal = require('adal-node-delegation');
var options= {
    tenant: 'mycompany.onmicrosoft.com',
    clientId: 'yourId',
    clientSecret: 'yoursecret'
}
adal.acquireToken(options, theBearerTokenFromRequest).then(r=>{
    //perform request using access token.
});
1.0.1

8 years ago

1.0.0

8 years ago