-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Middleware Architecture Implementation #132
Conversation
Breaking changes proposed: 1. AuthProvider should be an instance of AuthenticationProvider 2. Removing unnecessary public methods like buildFullURL, parsePath 3. Removed Callback support for requests 4. Options that is been passed to Client.init is changed 5. Removed redundant support for OData query params (without $ support) 6. Changed access specifier for large file upload task members to protected 7. Renamed common.ts to Common.ts Other Changes proposed: 1. Refactored unit test cases 2. Added License information in each file
2. Removing combined minified graph-js-sdk-core.js 3. Cleaning up Common.ts file 4. Added UT's for Auth provider
…esponse. Added Graph request and error handlers
2. Two MSALAuthenticationProviders one for output js and one for npm package
Auth provider Implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we made some mistakes in our design review with regards to the middleware pipeline and maintaining a concept of chained outer and inner handlers. At least that is the impression I'm getting from the examples. We need to provide the updated context back with each returned promise. That context must pass through with the response from the final httpMessageHandler.
93342d2
Changes:
Fixes Bugs:
NOTE: Failure of Travis-ci is because of dependency of a UT is in ES6 which is not supported by older versions of Node (Refer: Travis Error)
Reviewers Note: Please ignore the changes in files under lib folder, because they are generated ones.