PublicClientApplicationBuilder.WithBroker(Boolean) 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.
Brokers enable Single-Sign-On, device identification, and application identification verification. To enable one of these features, you need to set the WithBroker() parameters to true. See https://aka.ms/msal-net-wam for more information on platform specific settings required to enable the broker.
On iOS and Android, Authenticator and Company Portal serve as brokers. On Windows, WAM (Windows Account Manager) serves as broker. See https://aka.ms/msal-net-wam
public Microsoft.Identity.Client.PublicClientApplicationBuilder WithBroker (bool enableBroker = true);
member this.WithBroker : bool -> Microsoft.Identity.Client.PublicClientApplicationBuilder
Public Function WithBroker (Optional enableBroker As Boolean = true) As PublicClientApplicationBuilder
Parameters
- enableBroker
- Boolean
Determines whether or not to use broker with the default set to true.
Returns
A PublicClientApplicationBuilder from which to set more parameters, and to create a public client application instance
Remarks
On desktop (.NET, .NET Framework) install the NuGet package Microsoft.Identity.Client.Broker and call .WithBroker(BrokerOptions). This is not needed for MAUI apps.
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示