23 references to CookieAuthenticationScheme
Microsoft.AspNetCore.Authentication.Test (23)
FacebookTests.cs (3)
381services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 382.AddCookie(TestExtensions.CookieAuthenticationScheme) 452Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
GoogleTests.cs (12)
562Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 725Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 765Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 886Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 930Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 974Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 1011Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 1085Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 1166var result = await context.AuthenticateAsync(TestExtensions.CookieAuthenticationScheme); 1176var result = await context.AuthenticateAsync(TestExtensions.CookieAuthenticationScheme); 1229services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 1230.AddCookie(TestExtensions.CookieAuthenticationScheme, o => o.ForwardChallenge = GoogleDefaults.AuthenticationScheme)
MicrosoftAccountTests.cs (4)
247Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 352Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]); 416services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 417.AddCookie(TestExtensions.CookieAuthenticationScheme, o => { })
Transaction.cs (1)
25var authCookie = SetCookie.SingleOrDefault(c => c.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme + "="));
TwitterTests.cs (3)
565var result = await context.AuthenticateAsync(TestExtensions.CookieAuthenticationScheme); 582services.AddAuthentication(TestExtensions.CookieAuthenticationScheme) 583.AddCookie(TestExtensions.CookieAuthenticationScheme, o => o.ForwardChallenge = TwitterDefaults.AuthenticationScheme)