Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit a565a24

Browse files
author
Nate McMaster
committed
fixup! Rename CorrelationIdCookie to CorrelationCookie
1 parent d7cc4bb commit a565a24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.AspNetCore.Authentication/RemoteAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ protected virtual bool ValidateCorrelationId(AuthenticationProperties properties
203203

204204
if (!properties.Items.TryGetValue(CorrelationProperty, out string correlationId))
205205
{
206-
Logger.CorrelationPropertyNotFound(RemoteAuthenticationOptions.CorrelationPrefix);
206+
Logger.CorrelationPropertyNotFound(Options.CorrelationCookie.Name);
207207
return false;
208208
}
209209

src/Microsoft.AspNetCore.Authentication/RemoteAuthenticationOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Authentication
1414
/// </summary>
1515
public class RemoteAuthenticationOptions : AuthenticationSchemeOptions
1616
{
17-
internal const string CorrelationPrefix = ".AspNetCore.Correlation.";
17+
private const string CorrelationPrefix = ".AspNetCore.Correlation.";
1818

1919
private CookieBuilder _correlationCookieBuilder;
2020

0 commit comments

Comments
 (0)