Name

IAuthenticationModule

Synopsis

This interface is implemented by all authentication modules. If you develop a custom authentication module, you must implement this interface and register an instance of your module with AuthenticationManager.Register().

public interface IAuthenticationModule {
// Public Instance Properties
   public field string AuthenticationType{get; } 
   public field bool CanPreAuthenticate{get; } 
// Public Instance Methods
   public method Authorization Authenticate(string challenge, 
        WebRequest request, ICredentials credentials);  
   public method Authorization PreAuthenticate(
        WebRequest request, ICredentials credentials);  
}

Passed To

AuthenticationManager.{Register(), Unregister()}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.