m
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user