Files
Aug2021-Cpp2IL-Dump/System/Net/AuthenticationManager.cs
T
2026-04-10 22:50:51 +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: 0x0200027F RID: 639
[Token(Token = "0x200027F")]
public class AuthenticationManager
{
// Token: 0x0600100C RID: 4108 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600100C")]
[Address(RVA = "0x29D61F0", Offset = "0x29D4FF0", VA = "0x1829D61F0")]
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: 0x0600100D RID: 4109 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600100D")]
[Address(RVA = "0x29D5DA0", Offset = "0x29D4BA0", VA = "0x1829D5DA0")]
public static Authorization Authenticate(string challenge, WebRequest request, ICredentials credentials)
{
return null;
}
// Token: 0x0600100E RID: 4110 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600100E")]
[Address(RVA = "0x29D5EC0", Offset = "0x29D4CC0", VA = "0x1829D5EC0")]
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: 0x0600100F RID: 4111 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600100F")]
[Address(RVA = "0x29D6440", Offset = "0x29D5240", VA = "0x1829D6440")]
public static Authorization PreAuthenticate(WebRequest request, ICredentials credentials)
{
return null;
}
// Token: 0x04000974 RID: 2420
[Token(Token = "0x4000974")]
private static ArrayList modules;
// Token: 0x04000975 RID: 2421
[Token(Token = "0x4000975")]
private static object locker;
// Token: 0x04000976 RID: 2422
[Token(Token = "0x4000976")]
private static ICredentialPolicy credential_policy;
}
}