File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 44
55using System ;
66using System . Collections . Generic ;
7+ using System . Linq ;
78using System . Net . Http ;
89using System . Net . Http . Headers ;
910using System . Threading ;
@@ -33,7 +34,7 @@ public class WindowsProvider : BaseProvider
3334 private const string SettingsKeyProviderId = "WindowsProvider_ProviderId" ;
3435 private const string SettingsKeyProviderAuthority = "WindowsProvider_Authority" ;
3536
36- private static readonly SemaphoreSlim SemaphoreSlim = new ( 1 ) ;
37+ private static readonly SemaphoreSlim SemaphoreSlim = new ( 1 ) ;
3738
3839 // Default/minimal scopes for authentication, if none are provided.
3940 private static readonly string [ ] DefaultScopes = { "User.Read" } ;
@@ -572,13 +573,6 @@ private async Task<List<WebAccountProvider>> GetWebAccountProvidersAsync()
572573 await FindAndAddProviderAsync ( MicrosoftProviderId , AadAuthority ) ;
573574 }
574575
575- // Local
576- if ( _webAccountProviderConfig . WebAccountProviderType == WebAccountProviderType . Any ||
577- _webAccountProviderConfig . WebAccountProviderType == WebAccountProviderType . Local )
578- {
579- await FindAndAddProviderAsync ( LocalProviderId ) ;
580- }
581-
582576 return providers ;
583577
584578 async Task FindAndAddProviderAsync (
You can’t perform that action at this time.
0 commit comments