IAuthenticationModule.AuthenticationType Eigenschap

Definitie

Hiermee haalt u het verificatietype op dat is opgegeven door deze verificatiemodule.

public:
 property System::String ^ AuthenticationType { System::String ^ get(); };
public string AuthenticationType { get; }
member this.AuthenticationType : string
Public ReadOnly Property AuthenticationType As String

Waarde van eigenschap

Een tekenreeks die het verificatietype aangeeft dat door deze verificatiemodule wordt geleverd.

Voorbeelden

In het volgende voorbeeld ziet u hoe u de AuthenticationType eigenschap gebruikt. Raadpleeg de AuthenticationManager klasse voor een volledig voorbeeld.

// Define the authentication type. This type is then used to identify this
// custom authentication module. The default is set to Basic.
public string AuthenticationType { get; } = "Basic";

// Define the pre-authentication capabilities for the module. The default is set
// to false.
public bool CanPreAuthenticate { get; }
Private m_authenticationType As String
Private m_canPreAuthenticate As Boolean


' The CustomBasic constructor initializes the properties of the customized 
' authentication.
Public Sub New()
  m_authenticationType = "Basic"
  m_canPreAuthenticate = False
End Sub

' Define the authentication type. This type is then used to identify this
' custom authentication module. The default is set to Basic.

Public ReadOnly Property AuthenticationType() As String _
 Implements IAuthenticationModule.AuthenticationType

  Get
    Return m_authenticationType
  End Get
End Property

' Define the pre-authentication capabilities for the module. The default is set
' to false.

Public ReadOnly Property CanPreAuthenticate() As Boolean _
 Implements IAuthenticationModule.CanPreAuthenticate


  Get
    Return m_canPreAuthenticate
  End Get
End Property

Opmerkingen

De AuthenticationType eigenschap identificeert het verificatietype dat door deze verificatiemodule is geïmplementeerd. De AuthenticationType eigenschap wordt door de AuthenticationManager.Register methode gebruikt om te bepalen of de verificatiemodule is geregistreerd en door de AuthenticationManager.Unregister methode om een geregistreerde verificatiemodule te verwijderen.

Van toepassing op