Language

ActiveDirectoryAuthenticationProviderOptions クラス

定義

ActiveDirectoryAuthenticationProvider(ActiveDirectoryAuthenticationProviderOptions) コンストラクターによって使用されるプロパティ バッグ。

public ref class ActiveDirectoryAuthenticationProviderOptions sealed
public sealed class ActiveDirectoryAuthenticationProviderOptions
type ActiveDirectoryAuthenticationProviderOptions = class
Public NotInheritable Class ActiveDirectoryAuthenticationProviderOptions
継承
ActiveDirectoryAuthenticationProviderOptions

注釈

新しいコードの位置引数オーバーロードよりも、このオプション バッグ コンストラクターを優先します。 今後のバージョンでは、新しいコンストラクター オーバーロードを導入することなく、追加のオプションをここで追加できます。

UseWamBrokerはWindows専用の設定です。対話型のEntra ID フローが常にシステム ブラウザーを使用する非Windows プラットフォームには影響しません。

コンストラクター

Name 説明
ActiveDirectoryAuthenticationProviderOptions()

ActiveDirectoryAuthenticationProvider(ActiveDirectoryAuthenticationProviderOptions) コンストラクターによって使用されるプロパティ バッグ。

プロパティ

Name 説明
ApplicationClientId

省略可能なEntra ID アプリケーション (クライアント) ID。nullすると、sqlClient ファースト パーティ アプリケーション ID が使用され、Windowsで実行するときに WAM ブローカー モードが (UseWamBrokerに関係なく) 強制的にオンになります。

DeviceCodeFlowCallback

SqlAuthenticationMethod.ActiveDirectoryDeviceCodeFlowに対して呼び出されるオプションのデバイス コード フロー コールバック。 nullすると、プロバイダーの既定のコールバック (デバイス コード命令をコンソールに書き込む) が使用されます。

UseWamBroker

Windows専用の設定で、プロバイダーが対話型認証に WAM ブローカーを使用するかどうかを制御します。 既定では、カスタム ApplicationClientIdを指定するときにfalseされます。 それ以外の場合、WAM ブローカー モードはWindowsで自動的に使用されます。

適用対象