Closed shweaver-MSFT closed 3 years ago
Hello shweaver-MSFT, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Describe the problem this feature would solve
Currently, the only way to add scopes is to configure them during provider initialization. This means that it is difficult to add any additional scopes at runtime without completely reconfiguring the global IProvider instance.
Describe the solution
Enable
IProvider.GetTokenAsync
to accept an array of access scopes:Providing none will default to any pre-configured scopes in the provider.
Describe alternatives you've considered
None
Additional context & Screenshots
This request is inspired by the pattern in MGT.