AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithFmiPathForClientAssertion<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.
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
The builder.
- 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.