using System; using Cpp2IlInjected; namespace System.Net { /// Provides the base authentication interface for Web client authentication modules. // Token: 0x02000224 RID: 548 [Token(Token = "0x2000224")] 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: 0x06000DD4 RID: 3540 [Token(Token = "0x6000DD4")] [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: 0x06000DD5 RID: 3541 [Token(Token = "0x6000DD5")] [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: 0x1700028E RID: 654 // (get) Token: 0x06000DD6 RID: 3542 [Token(Token = "0x1700028E")] string AuthenticationType { [Token(Token = "0x6000DD6")] [Address(Slot = "2")] get; } } }