IAuthenticationModule.AuthenticationType 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 인증 모듈에서 제공한 인증 형식을 가져옵니다.
public:
property System::String ^ AuthenticationType { System::String ^ get(); };
public string AuthenticationType { get; }
member this.AuthenticationType : string
Public ReadOnly Property AuthenticationType As String
속성 값
이 인증 모듈에서 제공하는 인증 형식을 나타내는 문자열입니다.
예제
다음 예제에서는 AuthenticationType 속성을 사용하는 방법을 보여 줍니다. 전체 예제는 클래스를 참조하세요 AuthenticationManager .
// 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
설명
속성은 이 AuthenticationType 인증 모듈에서 구현한 인증 유형을 식별합니다. AuthenticationType 속성은 메서드에서 AuthenticationManager.Register 인증 모듈이 등록되었는지 확인하고 메서드에서 AuthenticationManager.Unregister 등록된 인증 모듈을 제거하는 데 사용됩니다.