React to HttpRequest.IsSecure renaming
This commit is contained in:
parent
5094b85ac9
commit
a15cb4ffe5
|
|
@ -150,7 +150,7 @@ namespace Microsoft.AspNet.Security.Cookies
|
|||
};
|
||||
if (Options.CookieSecure == CookieSecureOption.SameAsRequest)
|
||||
{
|
||||
cookieOptions.Secure = Request.IsSecure;
|
||||
cookieOptions.Secure = Request.IsHttps;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue