25 lines
1.3 KiB
C#
25 lines
1.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Security
|
|
{
|
|
/// <summary>Specifies client requirements for authentication and impersonation when using the <see cref="T:System.Net.WebRequest" /> class and derived classes to request a resource.</summary>
|
|
// Token: 0x020002F4 RID: 756
|
|
[Token(Token = "0x20002F4")]
|
|
public enum AuthenticationLevel
|
|
{
|
|
/// <summary>No authentication is required for the client and server.</summary>
|
|
// Token: 0x04000CD1 RID: 3281
|
|
[Token(Token = "0x4000CD1")]
|
|
None,
|
|
/// <summary>The client and server should be authenticated. The request does not fail if the server is not authenticated. To determine whether mutual authentication occurred, check the value of the <see cref="P:System.Net.WebResponse.IsMutuallyAuthenticated" /> property.</summary>
|
|
// Token: 0x04000CD2 RID: 3282
|
|
[Token(Token = "0x4000CD2")]
|
|
MutualAuthRequested,
|
|
/// <summary>The client and server should be authenticated. If the server is not authenticated, your application will receive an <see cref="T:System.IO.IOException" /> with a <see cref="T:System.Net.ProtocolViolationException" /> inner exception that indicates that mutual authentication failed</summary>
|
|
// Token: 0x04000CD3 RID: 3283
|
|
[Token(Token = "0x4000CD3")]
|
|
MutualAuthRequired
|
|
}
|
|
}
|