React to HttpRequest.IsSecure renaming

This commit is contained in:
Levi B 2015-02-17 11:08:12 -08:00
parent 5094b85ac9
commit a15cb4ffe5
4 changed files with 7 additions and 7 deletions

View File

@ -150,7 +150,7 @@ namespace Microsoft.AspNet.Security.Cookies
};
if (Options.CookieSecure == CookieSecureOption.SameAsRequest)
{
cookieOptions.Secure = Request.IsSecure;
cookieOptions.Secure = Request.IsHttps;
}
else
{

View File

@ -472,7 +472,7 @@ namespace Microsoft.AspNet.Security.OpenIdConnect
new CookieOptions
{
HttpOnly = true,
Secure = Request.IsSecure
Secure = Request.IsHttps
});
}
@ -502,7 +502,7 @@ namespace Microsoft.AspNet.Security.OpenIdConnect
var cookieOptions = new CookieOptions
{
HttpOnly = true,
Secure = Request.IsSecure
Secure = Request.IsHttps
};
Response.Cookies.Delete(nonceKey, cookieOptions);

View File

@ -108,7 +108,7 @@ namespace Microsoft.AspNet.Security.Twitter
var cookieOptions = new CookieOptions
{
HttpOnly = true,
Secure = Request.IsSecure
Secure = Request.IsHttps
};
Response.Cookies.Delete(StateCookie, cookieOptions);
@ -167,7 +167,7 @@ namespace Microsoft.AspNet.Security.Twitter
var cookieOptions = new CookieOptions
{
HttpOnly = true,
Secure = Request.IsSecure
Secure = Request.IsHttps
};
Response.Cookies.Append(StateCookie, Options.StateDataFormat.Protect(requestToken), cookieOptions);

View File

@ -393,7 +393,7 @@ namespace Microsoft.AspNet.Security.Infrastructure
var cookieOptions = new CookieOptions
{
HttpOnly = true,
Secure = Request.IsSecure
Secure = Request.IsHttps
};
properties.Dictionary[correlationKey] = correlationId;
@ -415,7 +415,7 @@ namespace Microsoft.AspNet.Security.Infrastructure
var cookieOptions = new CookieOptions
{
HttpOnly = true,
Secure = Request.IsSecure
Secure = Request.IsHttps
};
Response.Cookies.Delete(correlationKey, cookieOptions);