ActiveDirectoryAuthenticationProviderOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class ActiveDirectoryAuthenticationProviderOptions sealed
public sealed class ActiveDirectoryAuthenticationProviderOptions
type ActiveDirectoryAuthenticationProviderOptions = class
Public NotInheritable Class ActiveDirectoryAuthenticationProviderOptions
- 繼承
-
ActiveDirectoryAuthenticationProviderOptions
備註
在新程式碼中,偏好使用這個 options-bag 構造子,而不是位置參數的超載。 未來版本可在不引入新建構器過載的情況下新增選項。
UseWamBroker是僅 Windows 的設定:對非 Windows 平台沒有影響,因為互動式 Entra ID 流程總是使用系統瀏覽器。
建構函式
| 名稱 | Description |
|---|---|
| ActiveDirectoryAuthenticationProviderOptions() |
建築師使用的 ActiveDirectoryAuthenticationProvider(ActiveDirectoryAuthenticationProviderOptions) 財產袋。 |
屬性
| 名稱 | Description |
|---|---|
| ApplicationClientId |
Optional Entra ID application (client) id.當 |
| DeviceCodeFlowCallback |
可選地呼叫裝置程式碼流程回調。 |
| UseWamBroker |
僅限 Windows 的設定,用以控制提供者是否使用 WAM 代理進行互動式驗證。
預設是 |