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

43 lines
2.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Net
{
/// <summary>Provides the base authentication interface for Web client authentication modules.</summary>
// Token: 0x02000224 RID: 548
[Token(Token = "0x2000224")]
public interface IAuthenticationModule
{
/// <summary>Returns an instance of the <see cref="T:System.Net.Authorization" /> class in response to an authentication challenge from a server.</summary>
/// <param name="challenge">The authentication challenge sent by the server.</param>
/// <param name="request">The <see cref="T:System.Net.WebRequest" /> instance associated with the challenge.</param>
/// <param name="credentials">The credentials associated with the challenge.</param>
/// <returns>An <see cref="T:System.Net.Authorization" /> instance containing the authorization message for the request, or <see langword="null" /> if the challenge cannot be handled.</returns>
// Token: 0x06000DD4 RID: 3540
[Token(Token = "0x6000DD4")]
[Address(Slot = "0")]
Authorization Authenticate(string challenge, WebRequest request, ICredentials credentials);
/// <summary>Returns an instance of the <see cref="T:System.Net.Authorization" /> class for an authentication request to a server.</summary>
/// <param name="request">The <see cref="T:System.Net.WebRequest" /> instance associated with the authentication request.</param>
/// <param name="credentials">The credentials associated with the authentication request.</param>
/// <returns>An <see cref="T:System.Net.Authorization" /> instance containing the authorization message for the request.</returns>
// Token: 0x06000DD5 RID: 3541
[Token(Token = "0x6000DD5")]
[Address(Slot = "1")]
Authorization PreAuthenticate(WebRequest request, ICredentials credentials);
/// <summary>Gets the authentication type provided by this authentication module.</summary>
/// <returns>A string indicating the authentication type provided by this authentication module.</returns>
// Token: 0x1700028E RID: 654
// (get) Token: 0x06000DD6 RID: 3542
[Token(Token = "0x1700028E")]
string AuthenticationType
{
[Token(Token = "0x6000DD6")]
[Address(Slot = "2")]
get;
}
}
}