Compartilhar via


AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithAdditionalCacheParameters<T> Method

Definition

Specifies additional parameters acquired from authentication responses to be cached with the access token that are normally not included in the cache object. these values can be read from the AdditionalResponseParameters parameter.

public static Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> WithAdditionalCacheParameters<T> (this Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T> builder, System.Collections.Generic.IEnumerable<string> cacheParameters) where T : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<T>;
static member WithAdditionalCacheParameters : Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> * seq<string> -> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)> (requires 'T :> Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder<'T>)
<Extension()>
Public Function WithAdditionalCacheParameters(Of T As AbstractAcquireTokenParameterBuilder(Of T)) (builder As AbstractAcquireTokenParameterBuilder(Of T), cacheParameters As IEnumerable(Of String)) As AbstractAcquireTokenParameterBuilder(Of T)

Type Parameters

T

Parameters

builder
AbstractAcquireTokenParameterBuilder<T>

The builder to chain options to

cacheParameters
IEnumerable<String>

Additional parameters to cache

Returns

Applies to