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)
157
opt.
CorrelationCookie
.Path = "/";
OpenIdConnect\OpenIdConnectTests.cs (10)
155
opt.
CorrelationCookie
.Path = "/";
156
opt.
CorrelationCookie
.Extensions.Add("ExtC");
456
Assert.Equal("https://localhost:5000", options.
CorrelationCookie
.Domain); // Can set nested properties on cookie
457
Assert.Equal("CookieName", options.
CorrelationCookie
.Name);
484
Assert.Equal("https://localhost:5000", options.
CorrelationCookie
.Domain);
485
Assert.False(options.
CorrelationCookie
.IsEssential);
486
Assert.Equal(CookieSecurePolicy.Always, options.
CorrelationCookie
.SecurePolicy);
488
Assert.Equal(".AspNetCore.Correlation.", options.
CorrelationCookie
.Name);
489
Assert.True(options.
CorrelationCookie
.HttpOnly);
490
Assert.Equal(SameSiteMode.None, options.
CorrelationCookie
.SameSite);