Partager via


BrokerExtension Class

Definition

MSAL Broker Extension for WAM support

public static class BrokerExtension
type BrokerExtension = class
Public Module BrokerExtension
Inheritance
BrokerExtension

Methods

WithBroker(PublicClientApplicationBuilder, BrokerOptions)

Brokers enable Single-Sign-On, device identification,and application identification verification, while increasing the security of applications. Use this API to enable brokers on desktop platforms.

See https://aka.ms/msal-net-wam for more information on platform specific settings required to enable the broker such as redirect URIs.

WithBrokerPreview(PublicClientApplicationBuilder, Boolean)
Obsolete.

Enables MSAL to use Broker flows, which are more secure than browsers. For details about Windows broker, see https://aka.ms/msal-net-wam

WithSsoPolicy(PublicClientApplicationBuilder)

Use this API to enable SsoPolicy enforcement. Should only be utilized by Microsoft 1st party applications. This is applicable only when broker is not enabled and embedded webview is the preferred choice. By default, the broker supports SsoPolicy, and system webview SsoPolicy is also supported at the OS level.

Applies to