AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithAuthenticationExtension<T> 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.
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
The builder to chain options to
- authenticationExtension
- MsalAuthenticationExtension
The implementation of the authentication operation.