ConfidentialClientApplicationBuilderExtensions Class
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.
Extensibility methods for ConfidentialClientApplicationBuilder
public static class ConfidentialClientApplicationBuilderExtensions
type ConfidentialClientApplicationBuilderExtensions = class
Public Module ConfidentialClientApplicationBuilderExtensions
- Inheritance
-
ConfidentialClientApplicationBuilderExtensions
Methods
WithAppTokenProvider(ConfidentialClientApplicationBuilder, Func<AppTokenProviderParameters,Task<AppTokenProviderResult>>) |
Allows setting a callback which returns an access token, based on the passed-in parameters. MSAL will pass in its authentication parameters to the callback and it is expected that the callback will construct a AppTokenProviderResult and return it to MSAL. MSAL will cache the token response the same way it does for other authentication results. |