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

Other
26 stars 22 forks source link

Add background task support for OnlineIdAuthenticationProvider #23

Closed ericpapamarcos closed 7 years ago

ericpapamarcos commented 7 years ago

This pull request adds support for OnlineIdAuthenticationProvider in a background task.

Adds CredentialPromptType as an optional constructor argument. Using CredentialPromptType.DoNotPrompt allows for background task usage. CredentialPromptType.PromptIfNeeded is still the default.

See the issue for more details: #21

ericpapamarcos commented 7 years ago

Added the enum.

cdmayer commented 7 years ago

Thanks a bunch! Will get these merged and publish a new package soon.