Partager via


BrokerExtension.WithSsoPolicy(PublicClientApplicationBuilder) Method

Definition

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.

public static Microsoft.Identity.Client.PublicClientApplicationBuilder WithSsoPolicy (this Microsoft.Identity.Client.PublicClientApplicationBuilder builder);
static member WithSsoPolicy : Microsoft.Identity.Client.PublicClientApplicationBuilder -> Microsoft.Identity.Client.PublicClientApplicationBuilder
<Extension()>
Public Function WithSsoPolicy (builder As PublicClientApplicationBuilder) As PublicClientApplicationBuilder

Parameters

Returns

A PublicClientApplicationBuilder from which to set more parameters, and to create a public client application instance

Applies to