AcquireTokenInteractiveParameterBuilder.WithUseEmbeddedWebView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies if the public client application should used an embedded web browser or the system default browser. If the broker (WAM, Authenticator, Company Portal) is configured, this setting is only used when the broker is not installed.
On .NET, including net8-windows, app developers must reference Microsoft.Identity.Client.Desktop and call PublicClientApplicationBuilder.WithDesktopFeatures() to enable the embedded web browser.
public Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder WithUseEmbeddedWebView (bool useEmbeddedWebView);
member this.WithUseEmbeddedWebView : bool -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder
Public Function WithUseEmbeddedWebView (useEmbeddedWebView As Boolean) As AcquireTokenInteractiveParameterBuilder
Parameters
- useEmbeddedWebView
- Boolean
If true
, will use an embedded web browser,
otherwise will attempt to use a system web browser. The default depends on the platform:
false
for iOS and Android, and true
for .NET Framework
Returns
The builder to chain the .With methods
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈