Files
27Aug2021-Cpp2IL-Dump/System/Net/AuthenticationManager.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

73 lines
3.4 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Manages the authentication modules called during the client authentication process.</summary>
// Token: 0x0200027B RID: 635
[Token(Token = "0x200027B")]
public class AuthenticationManager
{
// Token: 0x06000FF6 RID: 4086 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000FF6")]
[Address(RVA = "0xDC3900", Offset = "0xDC2900", VA = "0x180DC3900")]
private static void EnsureModules()
{
}
/// <summary>Calls each registered authentication module to find the first module that can respond to the authentication request.</summary>
/// <param name="challenge">The challenge returned by the Internet resource.</param>
/// <param name="request">The <see cref="T:System.Net.WebRequest" /> that initiated the authentication challenge.</param>
/// <param name="credentials">The <see cref="T:System.Net.ICredentials" /> associated with this request.</param>
/// <returns>An instance of the <see cref="T:System.Net.Authorization" /> class containing the result of the authorization attempt. If there is no authentication module to respond to the challenge, this method returns <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="challenge" /> is <see langword="null" />.
/// -or-
/// <paramref name="request" /> is <see langword="null" />.
/// -or-
/// <paramref name="credentials" /> is <see langword="null" />.</exception>
// Token: 0x06000FF7 RID: 4087 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FF7")]
[Address(RVA = "0xDC34B0", Offset = "0xDC24B0", VA = "0x180DC34B0")]
public static Authorization Authenticate(string challenge, WebRequest request, ICredentials credentials)
{
return null;
}
// Token: 0x06000FF8 RID: 4088 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FF8")]
[Address(RVA = "0xDC35D0", Offset = "0xDC25D0", VA = "0x180DC35D0")]
private static Authorization DoAuthenticate(string challenge, WebRequest request, ICredentials credentials)
{
return null;
}
/// <summary>Preauthenticates a request.</summary>
/// <param name="request">A <see cref="T:System.Net.WebRequest" /> to an Internet resource.</param>
/// <param name="credentials">The <see cref="T:System.Net.ICredentials" /> associated with the request.</param>
/// <returns>An instance of the <see cref="T:System.Net.Authorization" /> class if the request can be preauthenticated; otherwise, <see langword="null" />. If <paramref name="credentials" /> is <see langword="null" />, this method returns <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="request" /> is <see langword="null" />.</exception>
// Token: 0x06000FF9 RID: 4089 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FF9")]
[Address(RVA = "0xDC3B50", Offset = "0xDC2B50", VA = "0x180DC3B50")]
public static Authorization PreAuthenticate(WebRequest request, ICredentials credentials)
{
return null;
}
// Token: 0x04000967 RID: 2407
[Token(Token = "0x4000967")]
private static ArrayList modules;
// Token: 0x04000968 RID: 2408
[Token(Token = "0x4000968")]
private static object locker;
// Token: 0x04000969 RID: 2409
[Token(Token = "0x4000969")]
private static ICredentialPolicy credential_policy;
}
}