18 references to CorrelationCookie
Microsoft.AspNetCore.Authentication (5)
RemoteAuthenticationHandler.cs (5)
234
var cookieOptions = Options.
CorrelationCookie
.Build(Context, TimeProvider.GetUtcNow());
238
var cookieName = Options.
CorrelationCookie
.Name + correlationId;
254
Logger.CorrelationPropertyNotFound(Options.
CorrelationCookie
.Name!);
260
var cookieName = Options.
CorrelationCookie
.Name + correlationId;
269
var cookieOptions = Options.
CorrelationCookie
.Build(Context, TimeProvider.GetUtcNow());
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectConfigureOptions.cs (2)
51
SetCookieFromConfig(configSection.GetSection(nameof(options.
CorrelationCookie
)), options.
CorrelationCookie
);
Microsoft.AspNetCore.Authentication.Test (11)
OAuthTests.cs (1)
150
opt.
CorrelationCookie
.Path = "/";
OpenIdConnect\OpenIdConnectTests.cs (10)
148
opt.
CorrelationCookie
.Path = "/";
149
opt.
CorrelationCookie
.Extensions.Add("ExtC");
449
Assert.Equal("https://localhost:5000", options.
CorrelationCookie
.Domain); // Can set nested properties on cookie
450
Assert.Equal("CookieName", options.
CorrelationCookie
.Name);
477
Assert.Equal("https://localhost:5000", options.
CorrelationCookie
.Domain);
478
Assert.False(options.
CorrelationCookie
.IsEssential);
479
Assert.Equal(CookieSecurePolicy.Always, options.
CorrelationCookie
.SecurePolicy);
481
Assert.Equal(".AspNetCore.Correlation.", options.
CorrelationCookie
.Name);
482
Assert.True(options.
CorrelationCookie
.HttpOnly);
483
Assert.Equal(SameSiteMode.None, options.
CorrelationCookie
.SameSite);