File: FormsAuthentication.xml

package info (click to toggle)
mono-reference-assemblies 3.12.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 604,240 kB
  • ctags: 625,505
  • sloc: cs: 3,967,741; xml: 2,793,081; ansic: 418,042; java: 60,435; sh: 14,833; makefile: 11,576; sql: 7,956; perl: 1,467; cpp: 1,446; yacc: 1,203; python: 598; asm: 422; sed: 16; php: 1
file content (829 lines) | stat: -rw-r--r-- 64,829 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
<?xml version="1.0" encoding="utf-8"?>
<Type Name="FormsAuthentication" FullName="System.Web.Security.FormsAuthentication">
  <TypeSignature Language="C#" Value="public sealed class FormsAuthentication" Maintainer="auto" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Forms authentication enables user and password validation for Web applications that do not require Windows authentication. With forms authentication, user information is stored in an external data source, such as a <see cref="T:System.Web.Security.Membership" /> database, or in the configuration file for an application. Once a user is authenticated, forms authentication maintains an authentication ticket in a cookie or in the URL so that an authenticated user does not need to supply credentials with each request.</para>
      <para>Forms authentication is enabled by setting the mode attribute of the <format type="text/html"><a href="27bc0ba9-f23a-45f3-ae42-dbe7916e3ee2">authentication</a></format> configuration element to Forms. You can require that all requests to an application contain a valid user authentication ticket by using the <format type="text/html"><a href="2d3d9bf6-f914-4c30-ad03-32eea98fa612">authorization</a></format> configuration element to deny the request of any unknown user, as shown in the following example.</para>
      <code>&lt;system.web&gt;
  &lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="login.aspx" /&gt;
  &lt;/authentication&gt;
  &lt;authorization&gt;
    &lt;deny users="?" /&gt;
  &lt;/authorization&gt;
&lt;/system.web&gt;</code>
      <para>In the previous example, any request for an ASP.NET page that is part of the application requires a valid user name that is supplied by forms authentication. If no user name exists, then the request is redirected to the configured <see cref="P:System.Web.Security.FormsAuthentication.LoginUrl" />.</para>
      <para>The <see cref="T:System.Web.Security.FormsAuthentication" /> class provides access to methods and properties that you can use in an application that authenticates users. The <see cref="Overload:System.Web.Security.FormsAuthentication.RedirectToLoginPage" /> method redirects a browser to the configured <see cref="P:System.Web.Security.FormsAuthentication.LoginUrl" /> for users to log into an application. The <see cref="Overload:System.Web.Security.FormsAuthentication.RedirectFromLoginPage" /> method redirects an authenticated user back to the original protected URL that was requested or to the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" />. There are also methods that enable you to manage forms-authentication tickets, if needed.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Manages forms-authentication services for Web applications. This class cannot be inherited.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public FormsAuthentication ();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>This constructor is not intended to be used from your code.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes a new instance of the <see cref="T:System.Web.Security.FormsAuthentication" /> class. </para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Authenticate">
      <MemberSignature Language="C#" Value="public static bool Authenticate (string name, string password);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="name" Type="System.String" />
        <Parameter Name="password" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The Authenticate method verifies user credentials that are stored in the <format type="text/html"><a href="e5a001f8-fdbe-4c88-80ca-bfe36df23479">credentials</a></format> section of the application configuration file. Alternatively, you can use ASP.NET membership to store user credentials and call the <see cref="M:System.Web.Security.MembershipProvider.ValidateUser(System.String,System.String)" /> to verify the credentials. For more information, see <format type="text/html"><a href="824c3a24-f0af-427c-a652-0d2d1e9397cd">Managing Users By Using ASP.NET Membership</a></format>.</para>
          <para>For improved security, you can encrypt passwords stored in the configuration file for an application by using the <see cref="M:System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(System.String,System.String)" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Validates a user name and password against credentials stored in the configuration file for an application.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>true if the user name and password are valid; otherwise, false.</para>
        </returns>
        <param name="name">
          <attribution license="cc4" from="Microsoft" modified="false" />The user name.</param>
        <param name="password">
          <attribution license="cc4" from="Microsoft" modified="false" />The password for the user. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="CookieDomain">
      <MemberSignature Language="C#" Value="public static string CookieDomain { get; }" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.CookieDomain" /> property value is set in the configuration file for an ASP.NET application by using the domain attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. The <see cref="P:System.Web.Security.FormsAuthentication.CookieDomain" /> property value determines the <see cref="P:System.Web.HttpCookie.Domain" /> that the cookie will be used for.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the value of the domain of the forms-authentication cookie.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="CookieMode">
      <MemberSignature Language="C#" Value="public static System.Web.HttpCookieMode CookieMode { get; }" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Web.HttpCookieMode</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> property reflects the value for the cookieless attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. The <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> property determines whether the <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> value will be stored in a session cookie in the browser or stored in the <see cref="P:System.Web.HttpRequest.QueryString" /> property.</para>
          <block subset="none" type="note">
            <para>When the <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> value is stored in the URI, the length of the generated URI may be longer than the maximum length allowed. This is most likely to occur when the <see cref="P:System.Web.Security.FormsAuthentication.FormsCookiePath" /> property is set to the application name and the application name is long (40 or more characters), when user names in the application are long, or when long <see cref="P:System.Web.Security.FormsAuthenticationTicket.UserData" /> strings are stored in the <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> value. If the generated URI is too long, the Web server will return a 400 - Bad Request error.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a value that indicates whether the application is configured for cookieless forms authentication.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="CookiesSupported">
      <MemberSignature Language="C#" Value="public static bool CookiesSupported { get; }" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property returns a value based on the <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> value and the capabilities of the browser.</para>
          <list type="bullet">
            <item>
              <para>If the <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> property is set to <see cref="F:System.Web.HttpCookieMode.UseCookies" />, the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property will return true.</para>
            </item>
            <item>
              <para>If the <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> property is set to <see cref="F:System.Web.HttpCookieMode.UseUri" />, the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property will return false.</para>
            </item>
            <item>
              <para>If the <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> property is set to <see cref="F:System.Web.HttpCookieMode.AutoDetect" />, the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property will return true if the browser supports cookies and cookies are enabled; otherwise, the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property will return false.</para>
            </item>
            <item>
              <para>If the <see cref="P:System.Web.Security.FormsAuthentication.CookieMode" /> property is set to <see cref="F:System.Web.HttpCookieMode.UseDeviceProfile" />, the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property will return true if the <see cref="P:System.Web.HttpRequest.Browser" /> for the current <see cref="P:System.Web.HttpContext.Request" /> supports both cookies and redirecting with cookies; otherwise, the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property will return false.</para>
            </item>
          </list>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a value that indicates whether the application is configured to support cookieless forms authentication.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Decrypt">
      <MemberSignature Language="C#" Value="public static System.Web.Security.FormsAuthenticationTicket Decrypt (string encryptedTicket);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.Security.FormsAuthenticationTicket</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="encryptedTicket" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>To be added</remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> object based on the encrypted forms-authentication ticket passed to the method.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> object. If the <paramref name="encryptedTicket" /> parameter is not a valid ticket, null is returned.</para>
        </returns>
        <param name="encryptedTicket">
          <attribution license="cc4" from="Microsoft" modified="false" />The encrypted authentication ticket. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="DefaultUrl">
      <MemberSignature Language="C#" Value="public static string DefaultUrl { get; }" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property value is set in the configuration file for an ASP.NET application by using the defaultUrl attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. The <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property is used by the <see cref="Overload:System.Web.Security.FormsAuthentication.RedirectFromLoginPage" /> method if no return URL is included in the request. Similarly, the <see cref="M:System.Web.Security.FormsAuthentication.GetRedirectUrl(System.String,System.Boolean)" /> method will return the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> if no return URL is included in the request.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the URL that the <see cref="T:System.Web.Security.FormsAuthentication" /> class will redirect to if no redirect URL is specified.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="EnableCrossAppRedirects">
      <MemberSignature Language="C#" Value="public static bool EnableCrossAppRedirects { get; }" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property value is set using the enableCrossAppRedirects attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element.</para>
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property is checked within the <see cref="Overload:System.Web.Security.FormsAuthentication.RedirectFromLoginPage" /> method when the redirect URL does not point to a page in the current application. If <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> is true, then the redirect is performed; if <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> is false, the browser is redirected to the page defined in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property.</para>
          <block subset="none" type="note">
            <para>When you redirect pages across applications, you must make sure that specific attributes in the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element are duplicated across the authenticated applications. For more information and an example, see <format type="text/html"><a href="99e2f9e8-5b97-4a4d-a4ed-5f93276053b7">Forms Authentication Across Applications</a></format>.</para>
          </block>
          <block subset="none" type="note">
            <para>When cross-application redirects are allowed, your site is vulnerable to an exploit that directs users to a malicious Web site but uses the login page for your site. Always verify that the redirect URL that is returned by the <see cref="M:System.Web.Security.FormsAuthentication.GetRedirectUrl(System.String,System.Boolean)" /> method is a URL that you expect so that you can make sure that you allow redirects only to approved Web sites. You must also verify that the redirect URL uses the appropriate protocol (HTTP or HTTPS). To perform these verifications, you can add a postback event handler to your login page, or you can add a handler for the <see cref="E:System.Web.UI.WebControls.Login.LoggedIn" /> event of the <see cref="T:System.Web.UI.WebControls.Login" /> control.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a value indicating whether authenticated users can be redirected to URLs in other Web applications.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Encrypt">
      <MemberSignature Language="C#" Value="public static string Encrypt (System.Web.Security.FormsAuthenticationTicket ticket);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="ticket" Type="System.Web.Security.FormsAuthenticationTicket" />
      </Parameters>
      <Docs>
        <remarks>
          <para>The actual method to encrypt the data depends on the setting in the "mode" attribute in the &lt;authentication&gt; section in the &lt;system.web&gt; section of the application configuration.
</para>
          <para>
The possible values are:
</para>
          <list type="table">
            <listheader>
              <term>Value</term>
              <description>Effect</description>
            </listheader>
            <item>
              <term>All</term>
              <description>Checksums and encrypts the ticket;  Prevents tampering and visibility from the user</description>
            </item>
            <item>
              <term>None</term>
              <description>Encodes the tickets as a hex string, the ticket can be tampered and the content viewed by a client</description>
            </item>
            <item>
              <term>Encryption</term>
              <description>Encrypts the tickets, but does not checksum the results.</description>
            </item>
            <item>
              <term>Validation</term>
              <description>Appends a checksum to the sequence, to avoid a client tampering with the data.</description>
            </item>
          </list>
          <para>The default mode is "All".</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a string containing an encrypted forms-authentication ticket suitable for use in an HTTP cookie.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A string containing an encrypted forms-authentication ticket.</para>
        </returns>
        <param name="ticket">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> object with which to create the encrypted forms-authentication ticket. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="FormsCookieName">
      <MemberSignature Language="C#" Value="public static string FormsCookieName { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added: an object of type 'string'</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.FormsCookieName" /> property value is set in the configuration file for an ASP.NET application by using the name attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. The <see cref="P:System.Web.Security.FormsAuthentication.FormsCookieName" /> is used to reference the cookie that stores the <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> information.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the name of the cookie used to store the forms-authentication ticket.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="FormsCookiePath">
      <MemberSignature Language="C#" Value="public static string FormsCookiePath { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added: an object of type 'string'</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.FormsCookiePath" /> property value is set in the configuration file for an ASP.NET application using the path attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. The <see cref="P:System.Web.Security.FormsAuthentication.FormsCookiePath" /> specifies the <see cref="P:System.Web.HttpCookie.Path" /> for the cookie that stores the <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> information.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the path for the forms-authentication cookie.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetAuthCookie">
      <MemberSignature Language="C#" Value="public static System.Web.HttpCookie GetAuthCookie (string userName, bool createPersistentCookie);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.HttpCookie</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The path of the cookie is determined by the <see cref="P:System.Web.Security.FormsAuthentication.FormsCookiePath" /> property.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates an authentication cookie for a given user name. This does not set the cookie as part of the outgoing response, so that an application can have more control over how the cookie is issued.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>An <see cref="T:System.Web.HttpCookie" /> that contains encrypted forms-authentication ticket information. The default value for the <see cref="P:System.Web.Security.FormsAuthentication.FormsCookiePath" /> property is used.</para>
        </returns>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The name of the authenticated user. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />true to create a durable cookie (one that is saved across browser sessions); otherwise, false. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetAuthCookie">
      <MemberSignature Language="C#" Value="public static System.Web.HttpCookie GetAuthCookie (string userName, bool createPersistentCookie, string strCookiePath);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.HttpCookie</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
        <Parameter Name="strCookiePath" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>To be added</remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates an authentication cookie for a given user name. This does not set the cookie as part of the outgoing response.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>An <see cref="T:System.Web.HttpCookie" /> that contains encrypted forms-authentication ticket information.</para>
        </returns>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The name of the authenticated user. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />true to create a durable cookie (one that is saved across browser sessions); otherwise, false. </param>
        <param name="strCookiePath">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.HttpCookie.Path" /> of the authentication cookie. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetRedirectUrl">
      <MemberSignature Language="C#" Value="public static string GetRedirectUrl (string userName, bool createPersistentCookie);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>You can use this method when you want to perform the redirect in your application code instead of using the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> method.</para>
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.GetRedirectUrl(System.String,System.Boolean)" /> method returns the URL specified in the query string using the ReturnURL variable name. For example, in the URL http://www.contoso.com/login.aspx?ReturnUrl=caller.aspx, the <see cref="M:System.Web.Security.FormsAuthentication.GetRedirectUrl(System.String,System.Boolean)" /> method returns the return URL caller.aspx. If the ReturnURL variable does not exist, the <see cref="M:System.Web.Security.FormsAuthentication.GetRedirectUrl(System.String,System.Boolean)" /> method returns the URL in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property.</para>
          <para>ASP.NET automatically adds the return URL when the browser is redirected to the login page.</para>
          <para>By default, the ReturnUrl variable must refer to a page within the current application. If ReturnUrl refers to a page in a different application or on a different server, the <see cref="M:System.Web.Security.FormsAuthentication.GetRedirectUrl(System.String,System.Boolean)" /> methods returns the URL in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property. If you want to allow the return URL to refer to a page outside the current application, you must set the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property to true using the enableCrossAppRedirects attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element.</para>
          <block subset="none" type="note">
            <para>Setting the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property to true to allow cross-application redirects is a potential security threat. For more information, see the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Returns the redirect URL for the original request that caused the redirect to the login page.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A string that contains the redirect URL.</para>
        </returns>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The name of the authenticated user. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="HashPasswordForStoringInConfigFile">
      <MemberSignature Language="C#" Value="public static string HashPasswordForStoringInConfigFile (string password, string passwordFormat);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="password" Type="System.String" />
        <Parameter Name="passwordFormat" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(System.String,System.String)" /> method creates a hashed password value that can be used when storing forms-authentication credentials in the configuration file for an application.</para>
          <para>Authentication credentials stored in the configuration file for an application are used by the <see cref="M:System.Web.Security.FormsAuthentication.Authenticate(System.String,System.String)" /> method to verify passwords for users of an application. Alternatively, you can use ASP.NET membership to store user credentials. For more information, see <format type="text/html"><a href="824c3a24-f0af-427c-a652-0d2d1e9397cd">Managing Users Using ASP.NET Membership</a></format>.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Produces a hash password suitable for storing in a configuration file based on the specified password and hash algorithm.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The hashed password.</para>
        </returns>
        <param name="password">
          <attribution license="cc4" from="Microsoft" modified="false" />The password to hash. </param>
        <param name="passwordFormat">
          <attribution license="cc4" from="Microsoft" modified="false" />The hash algorithm to use. <paramref name="passwordFormat" /> is a String that represents one of the <see cref="T:System.Web.Configuration.FormsAuthPasswordFormat" /> enumeration values.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Initialize">
      <MemberSignature Language="C#" Value="public static void Initialize ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.Initialize" /> method is called when the <see cref="T:System.Web.Security.FormsAuthenticationModule" /> creates an instance of the <see cref="T:System.Web.Security.FormsAuthentication" /> class. This method is not intended to be called from your code. </para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes the <see cref="T:System.Web.Security.FormsAuthentication" /> object based on the configuration settings for the application.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="LoginUrl">
      <MemberSignature Language="C#" Value="public static string LoginUrl { get; }" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.LoginUrl" /> property value is set in the configuration file for an ASP.NET application by using the loginUrl attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. The <see cref="P:System.Web.Security.FormsAuthentication.LoginUrl" /> is used by the <see cref="Overload:System.Web.Security.FormsAuthentication.RedirectToLoginPage" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the URL for the login page that the <see cref="T:System.Web.Security.FormsAuthentication" /> class will redirect to.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="RedirectFromLoginPage">
      <MemberSignature Language="C#" Value="public static void RedirectFromLoginPage (string userName, bool createPersistentCookie);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> method redirects to the URL specified in the query string using the ReturnURL variable name. For example, in the URL http://www.contoso.com/login.aspx?ReturnUrl=caller.aspx, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> method redirects to the return URL caller.aspx. If the ReturnURL variable does not exist, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> method redirects to the URL in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property.</para>
          <para>ASP.NET automatically adds the return URL when the browser is redirected to the login page.</para>
          <para>By default, the ReturnUrl variable must refer to a page within the current application. If ReturnUrl refers to a page in a different application or on a different server, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> methods redirects to the URL in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property. If you want to allow redirects to a page outside the current application, you must set the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property to true using the enableCrossAppRedirects attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element.</para>
          <block subset="none" type="note">
            <para>Setting the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property to true to allow cross-application redirects is a potential security threat. For more information, see the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property.</para>
          </block>
          <para>If the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property is true, and either the ReturnUrl variable is within the current application or the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property is true, then the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> method issues an authentication ticket and places it in the default cookie using the <see cref="Overload:System.Web.Security.FormsAuthentication.SetAuthCookie" /> method.</para>
          <para>If <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false and the redirect path is to a URL in the current application, the ticket is issued as part of the redirect URL. If <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false, <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> is true, and the redirect URL does not refer to a page within the current application, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean)" /> method issues an authentication ticket and places it in the <see cref="P:System.Web.HttpRequest.QueryString" /> property.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Redirects an authenticated user back to the originally requested URL or the default URL.</para>
        </summary>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The authenticated user name. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />true to create a durable cookie (one that is saved across browser sessions); otherwise, false. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="RedirectFromLoginPage">
      <MemberSignature Language="C#" Value="public static void RedirectFromLoginPage (string userName, bool createPersistentCookie, string strCookiePath);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
        <Parameter Name="strCookiePath" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean,System.String)" /> method redirects to the return URL specified in the query string using the ReturnURL variable name. For example, in the URL http://www.contoso.com/login.aspx?ReturnUrl=caller.aspx, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean,System.String)" /> method redirects to the return URL caller.aspx. If the ReturnURL variable does not exist, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean,System.String)" /> method redirects to the URL in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property.</para>
          <para>ASP.NET automatically adds the return URL when the browser is redirected to the login page.</para>
          <para>By default, the ReturnUrl variable must refer to a page within the current application. If ReturnUrl refers to a page in a different application or on a different server, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean,System.String)" /> method redirects to the URL in the <see cref="P:System.Web.Security.FormsAuthentication.DefaultUrl" /> property. If you want to allow redirects to a page outside the current application, you must set the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property to true using the enableCrossAppRedirects attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element.</para>
          <block subset="none" type="note">
            <para>Setting the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property to true to allow cross-application redirects is a potential security threat. For more information, see the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property.</para>
          </block>
          <para>If the <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> property is true, and either the ReturnUrl variable is within the current application or the <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> property is true, then the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean,System.String)" /> method issues an authentication ticket and places it in the cookie specified by the <paramref name="strCookiePath" /> parameter using the <see cref="Overload:System.Web.Security.FormsAuthentication.SetAuthCookie" /> method.</para>
          <para>If <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false and the redirect path is to a URL in the current application, the ticket is issued as part of the redirect URL. If <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false, <see cref="P:System.Web.Security.FormsAuthentication.EnableCrossAppRedirects" /> is true, and the redirect URL does not refer to a page within the current application, the <see cref="M:System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.String,System.Boolean,System.String)" /> method issues an authentication ticket and places it in the <see cref="P:System.Web.HttpRequest.QueryString" /> property.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Redirects an authenticated user back to the originally requested URL or the default URL using the specified cookie path for the forms-authentication cookie.</para>
        </summary>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The authenticated user name. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />true to create a durable cookie (one that is saved across browser sessions); otherwise, false. </param>
        <param name="strCookiePath">
          <attribution license="cc4" from="Microsoft" modified="false" />The cookie path for the forms-authentication ticket. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="RedirectToLoginPage">
      <MemberSignature Language="C#" Value="public static void RedirectToLoginPage ();" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage" /> method redirects the browser to the <see cref="P:System.Web.Security.FormsAuthentication.LoginUrl" />.</para>
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage" /> method does not clear the forms-authentication cookie. You can use the <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage" /> method in conjunction with the <see cref="M:System.Web.Security.FormsAuthentication.SignOut" /> method to log one user out and allow a different user to log in.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Redirects the browser to the login URL.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="RedirectToLoginPage">
      <MemberSignature Language="C#" Value="public static void RedirectToLoginPage (string extraQueryString);" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="extraQueryString" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage(System.String)" /> method redirects the browser to the <see cref="P:System.Web.Security.FormsAuthentication.LoginUrl" /> and includes the <paramref name="extraQueryString" /> value as the <see cref="P:System.Management.ManagementQuery.QueryString" /> for the redirected URL.</para>
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage(System.String)" /> method does not clear the forms-authentication cookie. You can use the <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage(System.String)" /> method in conjunction with the <see cref="M:System.Web.Security.FormsAuthentication.SignOut" /> method to log one user out and allow a different user to log in.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Redirects the browser to the login URL with the specified query string.</para>
        </summary>
        <param name="extraQueryString">
          <attribution license="cc4" from="Microsoft" modified="false" />The query string to include with the redirect URL.</param>
      </Docs>
    </Member>
    <Member MemberName="RenewTicketIfOld">
      <MemberSignature Language="C#" Value="public static System.Web.Security.FormsAuthenticationTicket RenewTicketIfOld (System.Web.Security.FormsAuthenticationTicket tOld);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.Security.FormsAuthenticationTicket</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="tOld" Type="System.Web.Security.FormsAuthenticationTicket" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.RenewTicketIfOld(System.Web.Security.FormsAuthenticationTicket)" /> method updates the expiration date and time of the supplied <see cref="T:System.Web.Security.FormsAuthenticationTicket" /> if the current date and time minus the <see cref="P:System.Web.Security.FormsAuthenticationTicket.IssueDate" /> value is greater than the <see cref="P:System.Web.Security.FormsAuthenticationTicket.Expiration" /> value minus the current date and time.</para>
          <para>The ticket is updated with the <see cref="P:System.Web.Security.FormsAuthenticationTicket.IssueDate" /> property set to the current date and time and the <see cref="P:System.Web.Security.FormsAuthenticationTicket.Expiration" /> property set to the current date and time plus the original <see cref="P:System.Web.Security.FormsAuthenticationTicket.Expiration" /> value minus the original <see cref="P:System.Web.Security.FormsAuthenticationTicket.IssueDate" /> value.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Conditionally updates the issue date and time and expiration date and time for a <see cref="T:System.Web.Security.FormsAuthenticationTicket" />.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The updated <see cref="T:System.Web.Security.FormsAuthenticationTicket" />.</para>
        </returns>
        <param name="tOld">
          <attribution license="cc4" from="Microsoft" modified="false" />The forms-authentication ticket to update.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="RequireSSL">
      <MemberSignature Language="C#" Value="public static bool RequireSSL { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.RequireSSL" /> property value is set in the configuration file for an ASP.NET application by using the requireSSL attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element. You can specify in the Web.config file for your ASP.NET application whether SSL (Secure Sockets Layer) is required to return the forms-authentication cookie to the server by setting the requireSSL attribute . For more information, see <see cref="P:System.Web.HttpCookie.Secure" />.</para>
          <para>It is recommended that if you configure requireSSL as false, you also configure slidingExpiration as false, to reduce the amount of time for which a ticket is valid. </para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a value indicating whether the forms-authentication cookie requires SSL in order to be returned to the server.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="SetAuthCookie">
      <MemberSignature Language="C#" Value="public static void SetAuthCookie (string userName, bool createPersistentCookie);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.SetAuthCookie(System.String,System.Boolean)" /> method adds a forms-authentication ticket to either the cookies collection, or to the URL if <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false. The forms-authentication ticket supplies forms-authentication information to the next request made by the browser. With forms authentication, you can use the <see cref="M:System.Web.Security.FormsAuthentication.SetAuthCookie(System.String,System.Boolean)" /> method when you want to authenticate a user but still retain control of the navigation with redirects.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates an authentication ticket for the supplied user name and adds it to the cookies collection of the response, or to the URL if you are using cookieless authentication.</para>
        </summary>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The name of an authenticated user. This does not have to map to a Windows account. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />true to create a persistent cookie (one that is saved across browser sessions); otherwise, false. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="SetAuthCookie">
      <MemberSignature Language="C#" Value="public static void SetAuthCookie (string userName, bool createPersistentCookie, string strCookiePath);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="userName" Type="System.String" />
        <Parameter Name="createPersistentCookie" Type="System.Boolean" />
        <Parameter Name="strCookiePath" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.SetAuthCookie(System.String,System.Boolean,System.String)" /> method adds a forms-authentication ticket to either the cookies collection or the URL if <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false. The forms-authentication ticket supplies forms-authentication information to the next request made by the browser. With forms authentication, you can use the <see cref="M:System.Web.Security.FormsAuthentication.SetAuthCookie(System.String,System.Boolean,System.String)" /> method when you want to authenticate a user but still retain control of the navigation with redirects.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates an authentication ticket for the supplied user name and adds it to the cookies collection of the response, using the supplied cookie path, or using the URL if you are using cookieless authentication.</para>
        </summary>
        <param name="userName">
          <attribution license="cc4" from="Microsoft" modified="false" />The name of an authenticated user. </param>
        <param name="createPersistentCookie">
          <attribution license="cc4" from="Microsoft" modified="false" />true to create a durable cookie (one that is saved across browser sessions); otherwise, false. </param>
        <param name="strCookiePath">
          <attribution license="cc4" from="Microsoft" modified="false" />The cookie path for the forms-authentication ticket.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="SignOut">
      <MemberSignature Language="C#" Value="public static void SignOut ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.Security.FormsAuthentication.SignOut" /> method removes the forms-authentication ticket information from the cookie or the URL if <see cref="P:System.Web.Security.FormsAuthentication.CookiesSupported" /> is false. You can use the <see cref="M:System.Web.Security.FormsAuthentication.SignOut" /> method in conjunction with the <see cref="M:System.Web.Security.FormsAuthentication.RedirectToLoginPage" /> method to log one user out and allow a different user to log in.</para>
          <para>If you run exclusively in cookieless mode, or if you support both authenticated and anonymous users, you should explicitly control the redirect to the login page if you require special business logic to execute as a result of removing the anonymous identifier. </para>
          <para>When the <see cref="M:System.Web.Security.FormsAuthentication.SignOut" /> method is called, a redirect to the application's login page is made by calling the <see cref="M:System.Web.HttpResponse.Redirect(System.String)" /> method with the <paramref name="endResponse" /> parameter set to false. The redirect does not take place until the current page has finished executing, so additional code can be run. If the code does not contain an explicit redirect to another page, the user is redirected to the login page configured in the application's configuration file.</para>
          <para>Calling the <see cref="M:System.Web.Security.FormsAuthentication.SignOut" /> method only removes the forms authentication cookie. The Web server does not store valid and expired authentication tickets for later comparison. This makes your site vulnerable to a replay attack if a malicious user obtains a valid forms authentication cookie. To improve security when using a forms authentication cookie, you should do the following:</para>
          <list type="bullet">
            <item>
              <para>Use absolute expiration for forms authentication cookies by setting the <see cref="P:System.Web.Security.FormsAuthentication.SlidingExpiration" /> property to false. This limits the window in which a hijacked cookie can be replayed.</para>
            </item>
            <item>
              <para>Only issue and accept authentication cookies over Secure Sockets Layer (SSL), by setting the <see cref="P:System.Web.Security.FormsAuthentication.RequireSSL" /> property to true and by running the entire Web site under SSL. Setting the <see cref="P:System.Web.Security.FormsAuthentication.RequireSSL" /> property to true ensures that ASP.NET will never send an authentication cookie to the browser over a non-SSL connection; however, the client might not honor the secure setting on the cookie. This means the client might send the forms authentication cookie over a non-SSL connection, thus leaving it vulnerable to hijack. You can prevent a client from sending the forms authentication cookie in the clear by running the entire Web site under SSL.</para>
            </item>
            <item>
              <para>Use persistent storage on the server to record when a user logs out of the Web site, and then use an application event such as <see cref="E:System.Web.HttpApplication.PostAuthenticateRequest" /> event to determine whether the current user was authenticated with forms authentication. If the user was authenticated with forms authentication, and if the information in persistent storage indicates the user is logged out, immediately clear the authentication cookie and redirect the browser back to the login page. After a successful login, update storage to reflect that the user is logged in. When you use this method, your application must track the logged-in status of the user, and must force idle users to log out.</para>
            </item>
          </list>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Removes the forms-authentication ticket from the browser.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="SlidingExpiration">
      <MemberSignature Language="C#" Value="public static bool SlidingExpiration { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.Security.FormsAuthentication.SlidingExpiration" /> property value is set using the slidingExpiration attribute of the <format type="text/html"><a href="8163b8b5-ea6c-46c8-b5a9-c4c3de31c0b3">forms</a></format> configuration element.</para>
          <para>Sliding expiration resets the expiration time for a valid authentication cookie if a request is made and more than half of the timeout interval has elapsed. If the cookie expires, the user must re-authenticate. Setting the <see cref="P:System.Web.Security.FormsAuthentication.SlidingExpiration" /> property to false can improve the security of an application by limiting the time for which an authentication cookie is valid, based on the configured timeout value.</para>
          <para>We recommend that if you configure requireSSL as false, you also configure slidingExpiration as false, to reduce the amount of time for which a ticket is valid. </para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a value indicating whether sliding expiration is enabled.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>