언어

ActiveDirectoryAuthenticationProviderOptions 클래스

정의

public ref class ActiveDirectoryAuthenticationProviderOptions sealed
public sealed class ActiveDirectoryAuthenticationProviderOptions
type ActiveDirectoryAuthenticationProviderOptions = class
Public NotInheritable Class ActiveDirectoryAuthenticationProviderOptions
상속
ActiveDirectoryAuthenticationProviderOptions

설명

새 코드의 위치 인수 오버로드보다 이 options-bag 생성자를 사용하는 것이 좋습니다. 새 생성자 오버로드를 도입하지 않고 향후 버전에서 추가 옵션을 추가할 수 있습니다.

UseWamBroker는 Windows 전용 설정입니다. 대화형 Entra ID 흐름이 항상 시스템 브라우저를 사용하는 비 Windows 플랫폼에는 영향을 주지 않습니다.

생성자

속성 Description
ActiveDirectoryAuthenticationProviderOptions()

생성자가 사용하는 ActiveDirectoryAuthenticationProvider(ActiveDirectoryAuthenticationProviderOptions) 속성 모음입니다.

속성

속성 Description
ApplicationClientId

선택적 Entra ID 애플리케이션(클라이언트) ID입니다. nullsqlClient 자사 애플리케이션 ID가 사용되고 WAM 브로커 모드가 Windows 실행할 때 강제로 켜집니다(관계없이UseWamBroker).

DeviceCodeFlowCallback

에 대해 호출된 선택적 디바이스 코드 흐름 콜백입니다 SqlAuthenticationMethod.ActiveDirectoryDeviceCodeFlow. 이 경우 null공급자의 기본 콜백(콘솔에 디바이스 코드 지침을 기록)이 사용됩니다.

UseWamBroker

공급자가 대화형 인증에 WAM broker를 사용하는지 여부를 제어하는 Windows 전용 설정입니다. 기본값은 사용자 지정ApplicationClientId을 false 제공하는 경우로 설정됩니다. 그렇지 않으면 WAM 브로커 모드가 Windows 자동으로 사용됩니다.

적용 대상