23 references to CookieAuthenticationScheme
Microsoft.AspNetCore.Authentication.Test (23)
FacebookTests.cs (3)
388services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 389.AddCookie(TestExtensions.CookieAuthenticationScheme) 459Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
GoogleTests.cs (12)
569Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 732Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 772Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 893Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 937Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 981Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 1018Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 1092Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 1173var result = await context.AuthenticateAsync(TestExtensions.CookieAuthenticationScheme); 1183var result = await context.AuthenticateAsync(TestExtensions.CookieAuthenticationScheme); 1236services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 1237.AddCookie(TestExtensions.CookieAuthenticationScheme, o => o.ForwardChallenge = GoogleDefaults.AuthenticationScheme)
MicrosoftAccountTests.cs (4)
254Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 359Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 423services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 424.AddCookie(TestExtensions.CookieAuthenticationScheme, o => { })
Transaction.cs (1)
25var authCookie = SetCookie.SingleOrDefault(c => c.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme + "="));
TwitterTests.cs (3)
572var result = await context.AuthenticateAsync(TestExtensions.CookieAuthenticationScheme); 589services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 590.AddCookie(TestExtensions.CookieAuthenticationScheme, o => o.ForwardChallenge = TwitterDefaults.AuthenticationScheme)