You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.Name"/> on <see cref="Cookie"/>.
67
+
/// </para>
68
+
/// <para>
69
+
/// Determines the cookie name used to persist the identity. The default value is ".AspNetCore.Cookies".
70
+
/// This value should be changed if you change the name of the AuthenticationScheme, especially if your
71
+
/// system uses the cookie authentication handler multiple times.
72
+
/// </para>
73
+
/// </summary>
74
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.Domain)+".")]
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.Domain"/> on <see cref="Cookie"/>.
80
+
/// </para>
81
+
/// <para>
52
82
/// Determines the domain used to create the cookie. Is not provided by default.
83
+
/// </para>
53
84
/// </summary>
54
-
publicstringCookieDomain{get;set;}
85
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.Domain)+".")]
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.Path"/> on <see cref="Cookie"/>.
91
+
/// </para>
92
+
/// <para>
57
93
/// Determines the path used to create the cookie. The default value is "/" for highest browser compatibility.
94
+
/// </para>
58
95
/// </summary>
59
-
publicstringCookiePath{get;set;}
96
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.Path)+".")]
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.SameSite"/> on <see cref="Cookie"/>.
102
+
/// </para>
103
+
/// <para>
62
104
/// Determines if the browser should allow the cookie to be attached to same-site or cross-site requests. The
63
105
/// default is Lax, which means the cookie is only allowed to be attached to cross-site requests using safe
64
106
/// HTTP methods and same-site requests.
107
+
/// </para>
65
108
/// </summary>
66
-
publicSameSiteModeCookieSameSite{get;set;}
109
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.SameSite)+".")]
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.HttpOnly"/> on <see cref="Cookie"/>.
115
+
/// </para>
116
+
/// <para>
69
117
/// Determines if the browser should allow the cookie to be accessed by client-side javascript. The
70
118
/// default is true, which means the cookie will only be passed to http requests and is not made available
71
119
/// to script on the page.
120
+
/// </para>
72
121
/// </summary>
73
-
publicboolCookieHttpOnly{get;set;}
122
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.SameSite)+".")]
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.SecurePolicy"/> on <see cref="Cookie"/>.
128
+
/// </para>
129
+
/// <para>
76
130
/// Determines if the cookie should only be transmitted on HTTPS request. The default is to limit the cookie
77
131
/// to HTTPS requests if the page which is doing the SignIn is also HTTPS. If you have an HTTPS sign in page
78
132
/// and portions of your site are HTTP you may need to change this value.
133
+
/// </para>
79
134
/// </summary>
80
-
publicCookieSecurePolicyCookieSecure{get;set;}
135
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.SecurePolicy)+".")]
/// This property is obsolete and will be removed in a future version. The recommended alternative is <seealso cref="CookieBuilder.Expiration"/> on <see cref="Cookie"/>.
146
+
/// </para>
147
+
/// <para>
88
148
/// Controls how much time the cookie will remain valid from the point it is created. The expiration
89
149
/// information is in the protected cookie ticket. Because of that an expired cookie will be ignored
90
150
/// even if it is passed to the server after the browser should have purged it
151
+
/// </para>
91
152
/// </summary>
92
-
publicTimeSpanExpireTimeSpan{get;set;}
153
+
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is "+nameof(Cookie)+"."+nameof(CookieBuilder.Expiration)+".")]
154
+
publicTimeSpanExpireTimeSpan
155
+
{
156
+
get=>Cookie.Expiration??default(TimeSpan);
157
+
set=>Cookie.Expiration=value;
158
+
}
93
159
94
160
/// <summary>
95
161
/// The SlidingExpiration is set to true to instruct the handler to re-issue a new cookie with a new
0 commit comments