sureshchahal / angular2-adal

Angular 2 wrapper for adal.js
MIT License
41 stars 50 forks source link

Single token for multiple endpoints #60

Open chigivigi opened 6 years ago

chigivigi commented 6 years ago

The method AcquireToken token only allows a single endpoint to be defined to generate a new single token. I need a method that allows an array of endpoints be passed as parameter to generate a single token for all REST API call.

hkusulja commented 6 years ago

The native adal.js and AngularJS 1 example from Microsoft supports that a long time ago - https://github.com/AzureAD/azure-activedirectory-library-for-js , please adjust this code.