O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required