mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
31 lines
611 B
C#
Executable File
31 lines
611 B
C#
Executable File
//
|
|
// System.Net.IAuthenticationModule.cs
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
namespace System.Net {
|
|
|
|
// <remarks>
|
|
// Authentication interface for Web client authentication modules.
|
|
// </remarks>
|
|
public interface IAuthenticationModule {
|
|
string AuthenticationType {
|
|
get;
|
|
}
|
|
|
|
bool CanPreAuthenticate {
|
|
get;
|
|
}
|
|
|
|
bool CanRespond (string challenge);
|
|
|
|
Authorization PreAuthenticate (WebRequest request, ICredentials credentials);
|
|
|
|
Authorization Respond (string challenge, WebRequest request, ICredentials credentials);
|
|
}
|
|
}
|