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