Partilhar via


AcquireTokenInteractiveParameterBuilderExtensions.WithCustomWebUi Method

Definition

Extension method enabling MSAL.NET extenders for public client applications to set a custom web UI that will let the user sign-in with Azure AD, present consent if needed, and get back the authorization code

public static Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder WithCustomWebUi (this Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder builder, Microsoft.Identity.Client.Extensibility.ICustomWebUi customWebUi);
static member WithCustomWebUi : Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder * Microsoft.Identity.Client.Extensibility.ICustomWebUi -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder
<Extension()>
Public Function WithCustomWebUi (builder As AcquireTokenInteractiveParameterBuilder, customWebUi As ICustomWebUi) As AcquireTokenInteractiveParameterBuilder

Parameters

builder
AcquireTokenInteractiveParameterBuilder

Builder for an AcquireTokenInteractive

customWebUi
ICustomWebUi

Customer implementation for the Web UI

Returns

the builder to be able to chain .With methods

Applies to