1 write to SetCookie
Microsoft.AspNetCore.Authentication.Test (1)
51 references to SetCookie
Microsoft.AspNetCore.Authentication.Test (51)
GoogleTests.cs (26)
138Assert.Contains(transaction.SetCookie, cookie => cookie.StartsWith(".AspNetCore.Correlation.", StringComparison.Ordinal));
560Assert.Equal(2, transaction.SetCookie.Count);
561Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]);
562Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
723Assert.Equal(2, transaction.SetCookie.Count);
724Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]);
725Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
763Assert.Equal(2, transaction.SetCookie.Count);
764Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]);
765Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
884Assert.Equal(2, transaction.SetCookie.Count);
885Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]); // Delete
886Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
928Assert.Equal(2, transaction.SetCookie.Count);
929Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]); // Delete
930Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
972Assert.Equal(2, transaction.SetCookie.Count);
973Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]); // Delete
974Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
1009Assert.Equal(2, transaction.SetCookie.Count);
1010Assert.Contains($".AspNetCore.Correlation.{correlationValue}", transaction.SetCookie[0]); // Delete
1011Assert.Contains(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);
1075var nonceCookie = transaction.SetCookie.Single();
1083Assert.Equal(2, transaction.SetCookie.Count);
1084Assert.StartsWith(".AspNetCore.Correlation.", transaction.SetCookie[0]);
1085Assert.StartsWith(".AspNetCore." + TestExtensions.CookieAuthenticationScheme, transaction.SetCookie[1]);