Share via


AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithAuthenticationExtension<T> Method

Definition

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

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>;
static member WithAuthenticationExtension : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> * Microsoft.Identity.Client.Extensibility.MsalAuthenticationExtension -> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)
<Extension()>
Public Function WithAuthenticationExtension(Of T As AbstractAcquireTokenParameterBuilder(Of T)) (builder As AbstractAcquireTokenParameterBuilder(Of T), authenticationExtension As MsalAuthenticationExtension) As AbstractAcquireTokenParameterBuilder(Of 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