diff --git a/src/Microsoft.AspNet.Security.Cookies/CookieAuthenticationHandler.cs b/src/Microsoft.AspNet.Security.Cookies/CookieAuthenticationHandler.cs
index 45ee685990..1a2b7eeb82 100644
--- a/src/Microsoft.AspNet.Security.Cookies/CookieAuthenticationHandler.cs
+++ b/src/Microsoft.AspNet.Security.Cookies/CookieAuthenticationHandler.cs
@@ -210,7 +210,7 @@ namespace Microsoft.AspNet.Security.Cookies
Context,
Options.CookieName,
cookieValue,
- cookieOptions);
+ signInContext.CookieOptions);
var signedInContext = new CookieResponseSignedInContext(
Context,
@@ -238,7 +238,7 @@ namespace Microsoft.AspNet.Security.Cookies
Options.CookieManager.DeleteCookie(
Context,
Options.CookieName,
- cookieOptions);
+ context.CookieOptions);
}
else if (_shouldRenew)
{
diff --git a/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieAuthenticationNotifications.cs b/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieAuthenticationNotifications.cs
index e378a08c17..c38489ed83 100644
--- a/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieAuthenticationNotifications.cs
+++ b/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieAuthenticationNotifications.cs
@@ -95,10 +95,10 @@ namespace Microsoft.AspNet.Security.Cookies
}
///
- /// Called when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware
+ /// Implements the interface method by invoking the related delegate method
///
/// Contains information about the event
- public void ApplyRedirect(CookieApplyRedirectContext context)
+ public virtual void ApplyRedirect(CookieApplyRedirectContext context)
{
OnApplyRedirect.Invoke(context);
}
diff --git a/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieResponseSignOutContext.cs b/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieResponseSignOutContext.cs
index b484b74365..a7cf4129ac 100644
--- a/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieResponseSignOutContext.cs
+++ b/src/Microsoft.AspNet.Security.Cookies/Notifications/CookieResponseSignOutContext.cs
@@ -26,7 +26,7 @@ namespace Microsoft.AspNet.Security.Cookies
///
/// The options for creating the outgoing cookie.
- /// May be replace or altered during the ResponseSignIn call.
+ /// May be replace or altered during the ResponseSignOut call.
///
public CookieOptions CookieOptions
{
diff --git a/src/Microsoft.AspNet.Security.Cookies/Notifications/ICookieAuthenticationNotifications.cs b/src/Microsoft.AspNet.Security.Cookies/Notifications/ICookieAuthenticationNotifications.cs
index b6ced343f4..edfb6b69cc 100644
--- a/src/Microsoft.AspNet.Security.Cookies/Notifications/ICookieAuthenticationNotifications.cs
+++ b/src/Microsoft.AspNet.Security.Cookies/Notifications/ICookieAuthenticationNotifications.cs
@@ -39,7 +39,7 @@ namespace Microsoft.AspNet.Security.Cookies
void ApplyRedirect(CookieApplyRedirectContext context);
///
- ///
+ /// Called during the sign-out flow to augment the cookie cleanup process.
///
/// Contains information about the login session as well as information about the authentication cookie.
void ResponseSignOut(CookieResponseSignOutContext context);