Bagikan melalui


AbstractConfidentialClientAcquireTokenParameterBuilderExtension Class

Definition

Extensions for all AcquireToken methods

public static class AbstractConfidentialClientAcquireTokenParameterBuilderExtension
type AbstractConfidentialClientAcquireTokenParameterBuilderExtension = class
Public Module AbstractConfidentialClientAcquireTokenParameterBuilderExtension
Inheritance
AbstractConfidentialClientAcquireTokenParameterBuilderExtension

Methods

OnBeforeTokenRequest<T>(AbstractAcquireTokenParameterBuilder<T>, Func<OnBeforeTokenRequestData,Task>)

Intervenes in the request pipeline, by executing a user provided delegate before MSAL makes the token request. The delegate can modify the request payload by adding or removing body parameters and headers. OnBeforeTokenRequestData

WithAdditionalCacheParameters<T>(AbstractAcquireTokenParameterBuilder<T>, IEnumerable<String>)

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.

WithProofOfPosessionKeyId<T>(AbstractAcquireTokenParameterBuilder<T>, String, String)

Binds the token to a key in the cache.No cryptographic operations is performed on the token.

Applies to