Closed shweaver-MSFT closed 3 years ago
Thanks shweaver-MSFT for opening a Pull Request! The reviewers will test the PR and highlight if there is any merge conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌
Fixes #111
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Currently, there is no way to request an access token for scopes that were not initially requested during provider construction. This limits the ability to adopt Graph APIs over time, as features are introduced.
What is the new behavior?
The new behavior adds an additional
string[] scopes = null
parameter to the end ofGetTokenAsync
. This allows the option of providing a specific set of scopes to request in the access token:PR Checklist
Please check if your PR fulfills the following requirements:
Other information