Share via


AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithFmiPathForClientAssertion<T> Method

Definition

Specifies an FMI path to be used for the client assertion. This lets higher level APIs like Id.Web provide credentials which are FMI sensitive. Important: tokens are associated with the credential FMI path, which impacts cache lookups This is an extensibility API and should not be used by applications.

public static Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> WithFmiPathForClientAssertion<T>(this Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> builder, string fmiPath) where T : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T>;
static member WithFmiPathForClientAssertion : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> * string -> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)
<Extension()>
Public Function WithFmiPathForClientAssertion(Of T As AbstractAcquireTokenParameterBuilder(Of T)) (builder As AbstractAcquireTokenParameterBuilder(Of T), fmiPath As String) As AbstractAcquireTokenParameterBuilder(Of T)

Type Parameters

T

Parameters

fmiPath
String

The FMI path to use for client assertion.

Returns

The builder to chain the .With methods

Exceptions

Thrown when fmiPath is null or whitespace.

Applies to