2 implementations of GetDefaultSignInSchemeAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
101public virtual Task<AuthenticationScheme?> GetDefaultSignInSchemeAsync()
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
1368public Task<AuthenticationScheme> GetDefaultSignInSchemeAsync() => throw new NotImplementedException();
6 references to GetDefaultSignInSchemeAsync
Microsoft.AspNetCore.Authentication.Abstractions (1)
IAuthenticationSchemeProvider.cs (1)
61/// Otherwise, this will fallback to <see cref="GetDefaultSignInSchemeAsync"/> .
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
182var defaultScheme = await Schemes.GetDefaultSignInSchemeAsync();
Microsoft.AspNetCore.Authentication.Core.Test (4)
AuthenticationSchemeProviderTests.cs (4)
52Assert.Equal("B", (await provider.GetDefaultSignInSchemeAsync())!.Name); 70Assert.Equal("B", (await provider.GetDefaultSignInSchemeAsync())!.Name); 127Assert.Equal("C", (await provider.GetDefaultSignInSchemeAsync())!.Name); 252Assert.Equal(await provider.GetDefaultSignInSchemeAsync(), expected);