2 implementations of GetDefaultAuthenticateSchemeAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
68public virtual Task<AuthenticationScheme?> GetDefaultAuthenticateSchemeAsync()
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
1365public Task<AuthenticationScheme> GetDefaultAuthenticateSchemeAsync() => throw new NotImplementedException();
10 references to GetDefaultAuthenticateSchemeAsync
Microsoft.AspNetCore.Authentication (1)
AuthenticationMiddleware.cs (1)
59var defaultAuthenticate = await Schemes.GetDefaultAuthenticateSchemeAsync();
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
63var defaultScheme = await Schemes.GetDefaultAuthenticateSchemeAsync();
Microsoft.AspNetCore.Authentication.Core.Test (4)
AuthenticationSchemeProviderTests.cs (4)
50Assert.Equal("B", (await provider.GetDefaultAuthenticateSchemeAsync())!.Name); 68Assert.Equal("B", (await provider.GetDefaultAuthenticateSchemeAsync())!.Name); 125Assert.Equal("C", (await provider.GetDefaultAuthenticateSchemeAsync())!.Name); 250Assert.Equal(await provider.GetDefaultAuthenticateSchemeAsync(), expected);
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (4)
67schemeProvider.Setup(p => p.GetDefaultAuthenticateSchemeAsync()) 90schemeProvider.Setup(p => p.GetDefaultAuthenticateSchemeAsync()) 110schemeProvider.Setup(p => p.GetDefaultAuthenticateSchemeAsync()) 136schemeProvider.Setup(p => p.GetDefaultAuthenticateSchemeAsync())