OneDrive / onedrive-sdk-dotnet-msa-auth-adapter

Other
25 stars 22 forks source link

PromptType.DoNotPrompt for MsaAuthenticationProvider #55

Open tipa opened 7 years ago

tipa commented 7 years ago

The constructor of OnlineIdAuthenticationProvider accepts a parameter of type OnlineIdAuthenticationProvider.PromptType to allow scenarios where a login should be tried, but fail silently if there are no cached credentials so the users isn't bothered by a login prompt. Could something similar be possible with the MsaAuthenticationProvider? Or am I missing something?