using System;
using Cpp2IlInjected;
namespace System.Net
{
/// Provides the base authentication interface for Web client authentication modules.
// Token: 0x02000228 RID: 552
[Token(Token = "0x2000228")]
public interface IAuthenticationModule
{
/// Returns an instance of the class in response to an authentication challenge from a server.
/// The authentication challenge sent by the server.
/// The instance associated with the challenge.
/// The credentials associated with the challenge.
/// An instance containing the authorization message for the request, or if the challenge cannot be handled.
// Token: 0x06000DEA RID: 3562
[Token(Token = "0x6000DEA")]
[Address(Slot = "0")]
Authorization Authenticate(string challenge, WebRequest request, ICredentials credentials);
/// Returns an instance of the class for an authentication request to a server.
/// The instance associated with the authentication request.
/// The credentials associated with the authentication request.
/// An instance containing the authorization message for the request.
// Token: 0x06000DEB RID: 3563
[Token(Token = "0x6000DEB")]
[Address(Slot = "1")]
Authorization PreAuthenticate(WebRequest request, ICredentials credentials);
/// Gets the authentication type provided by this authentication module.
/// A string indicating the authentication type provided by this authentication module.
// Token: 0x17000292 RID: 658
// (get) Token: 0x06000DEC RID: 3564
[Token(Token = "0x17000292")]
string AuthenticationType
{
[Token(Token = "0x6000DEC")]
[Address(Slot = "2")]
get;
}
}
}