DekGenius.com
[ Team LiB ] Previous Section Next Section

IAuthenticationModuleCF 1.0, ECMA 1.0

System.Net (system.dll)interface

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 string AuthenticationType{get; }
   public bool CanPreAuthenticate{get; }
// Public Instance Methods
   public Authorization Authenticate(string challenge,WebRequest request, ICredentials credentials);
   public Authorization PreAuthenticate(WebRequest request, ICredentials credentials);
}

Passed To

AuthenticationManager.{Register( ), Unregister( )}

    [ Team LiB ] Previous Section Next Section