AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithAuthenticationExtension<T> Method

Definition

Enables client applications to provide a custom authentication operation to be used in the token acquisition request.

C#
public static Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> WithAuthenticationExtension<T>(this Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> builder, Microsoft.Identity.Client.Extensibility.MsalAuthenticationExtension authenticationExtension) where T : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T>;

Type Parameters

T

Parameters

builder
AbstractAcquireTokenParameterBuilder<T>

The builder to chain options to

authenticationExtension
MsalAuthenticationExtension

The implementation of the authentication operation.

Returns

Applies to

Produto Versións
Microsoft Authentication Library for .NET (MSAL.NET) latest