BrokerExtension.WithSsoPolicy(PublicClientApplicationBuilder) 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.
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
- builder
- PublicClientApplicationBuilder
Returns
A PublicClientApplicationBuilder from which to set more parameters, and to create a public client application instance