AbstractConfidentialClientAcquireTokenParameterBuilderExtension.WithAdditionalCacheParameters<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 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
The builder to chain options to
- cacheParameters
- IEnumerable<String>
Additional parameters to cache