survirtual / vue-adal

Vue plugin for using Azure Active Directory
108 stars 29 forks source link

docs: Explain how to get an access token for an API #1

Closed survirtual closed 6 years ago

survirtual commented 6 years ago

-

survirtual commented 6 years ago

The new readme explains how to get a token & also added an AxiosAuthHttp helper class for generating an axios HTTP client configure to auto-acquire tokens for a specific resource and an interceptor for renewing tokens upon a 401 response to a resource.

Would like to improve this further, but this should be good enough for now. Please create an issue if you need help!