Mono Class Library: System.Net.IAuthenticationModule Overview | Members

System.Net.IAuthenticationModule.AuthenticationType Property

Gets the authentication type of the current instance. [Edit]

public string AuthenticationType { get; }

Value

A string indicating the authentication type of the current authentication module. [Edit]

Remarks

This property is read-only.

Operation

The following string values are reserved for use by modules implementing the indicated protocols:

AuthenticationTypeProtocol
"basic" Basic as defined by IETF RFC 2617
"digest"Digest access as defined by IETF RFC 2617
"kerberos"Kerberos as defined by IETF RFC 1510

Note to Inheritors
Implement this property to return a string that identifies all instances of the current type. The string returned by this property typically indicates the protocol implemented by the current type. For example, an authentication module that implements the Digest protocol would typically return "digest" as its AuthenticationType.

Usage
The IAuthenticationModule.AuthenticationType property must be unique for all registered authentication modules. The value of this property is used by the AuthenticationManager.Register(IAuthenticationModule) method to determine if there is already an authentication module registered for the type. Modules can also be unregistered by passing the value of this property to the AuthenticationManager.Unregister(IAuthenticationModule) method.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0