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