26 references to AddAuthenticationCore
Microsoft.AspNetCore.Authentication.Core.Test (26)
AuthenticationSchemeProviderTests.cs (11)
30var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 43var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 59var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 77var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 93var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 109var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 134var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 147var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 161var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 180.AddAuthenticationCore(o => o.AddScheme<Handler>("signin", "whatever")) 197var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o =>
AuthenticationServiceTests.cs (13)
15var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 31var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 54var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 69var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 84var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 98var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 113var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 136var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 157var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 177var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 195var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 213var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o => 232var services = new ServiceCollection().AddOptions().AddAuthenticationCore(o =>
TokenExtensionTests.cs (2)
127.AddAuthenticationCore(o => 144.AddAuthenticationCore(o => o.AddScheme("simple", s => s.HandlerType = typeof(SimpleAuth)));