2 implementations of GetDefaultForbidSchemeAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
90public virtual Task<AuthenticationScheme?> GetDefaultForbidSchemeAsync()
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
1367public Task<AuthenticationScheme> GetDefaultForbidSchemeAsync() => throw new NotImplementedException();
6 references to GetDefaultForbidSchemeAsync
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
139var defaultForbidScheme = await Schemes.GetDefaultForbidSchemeAsync();
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationSchemeProviderTests.cs (5)
49Assert.Equal("B", (await provider.GetDefaultForbidSchemeAsync())!.Name); 67Assert.Equal("B", (await provider.GetDefaultForbidSchemeAsync())!.Name); 101var scheme = await provider.GetDefaultForbidSchemeAsync(); 124Assert.Equal("B", (await provider.GetDefaultForbidSchemeAsync())!.Name); 249Assert.Equal(await provider.GetDefaultForbidSchemeAsync(), expected);