33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Specifies protocols for authentication.</summary>
|
|
// Token: 0x020001FC RID: 508
|
|
[Flags]
|
|
public enum AuthenticationSchemes
|
|
{
|
|
/// <summary>No authentication is allowed. A client requesting an <see cref="T:System.Net.HttpListener" /> object with this flag set will always receive a 403 Forbidden status. Use this flag when a resource should never be served to a client.</summary>
|
|
// Token: 0x04000F4E RID: 3918
|
|
None = 0,
|
|
/// <summary>Specifies digest authentication.</summary>
|
|
// Token: 0x04000F4F RID: 3919
|
|
Digest = 1,
|
|
/// <summary>Negotiates with the client to determine the authentication scheme. If both client and server support Kerberos, it is used; otherwise, NTLM is used.</summary>
|
|
// Token: 0x04000F50 RID: 3920
|
|
Negotiate = 2,
|
|
/// <summary>Specifies NTLM authentication.</summary>
|
|
// Token: 0x04000F51 RID: 3921
|
|
Ntlm = 4,
|
|
/// <summary>Specifies Windows authentication.</summary>
|
|
// Token: 0x04000F52 RID: 3922
|
|
IntegratedWindowsAuthentication = 6,
|
|
/// <summary>Specifies basic authentication. </summary>
|
|
// Token: 0x04000F53 RID: 3923
|
|
Basic = 8,
|
|
/// <summary>Specifies anonymous authentication.</summary>
|
|
// Token: 0x04000F54 RID: 3924
|
|
Anonymous = 32768
|
|
}
|
|
}
|