2 implementations of GetDefaultChallengeSchemeAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
79public virtual Task<AuthenticationScheme?> GetDefaultChallengeSchemeAsync()
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
1366public Task<AuthenticationScheme> GetDefaultChallengeSchemeAsync() => throw new NotImplementedException();
6 references to GetDefaultChallengeSchemeAsync
Microsoft.AspNetCore.Authentication.Abstractions (1)
IAuthenticationSchemeProvider.cs (1)
45/// Otherwise, this will fallback to <see cref="GetDefaultChallengeSchemeAsync"/> .
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
111var defaultChallengeScheme = await Schemes.GetDefaultChallengeSchemeAsync();
Microsoft.AspNetCore.Authentication.Core.Test (4)
AuthenticationSchemeProviderTests.cs (4)
51Assert.Equal("B", (await provider.GetDefaultChallengeSchemeAsync())!.Name); 69Assert.Equal("B", (await provider.GetDefaultChallengeSchemeAsync())!.Name); 126Assert.Equal("A", (await provider.GetDefaultChallengeSchemeAsync())!.Name); 251Assert.Equal(await provider.GetDefaultChallengeSchemeAsync(), expected);