ConfidentialClientApplicationBuilderForResourceProviders 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.
Resource Provider extensibility methods for ConfidentialClientApplicationBuilder
public static class ConfidentialClientApplicationBuilderForResourceProviders
type ConfidentialClientApplicationBuilderForResourceProviders = class
Public Module ConfidentialClientApplicationBuilderForResourceProviders
- Inheritance
-
ConfidentialClientApplicationBuilderForResourceProviders
Methods
| WithCertificate(ConfidentialClientApplicationBuilder, X509Certificate2, Boolean, Boolean) |
Sets the certificate associated with the application. Applicable to first-party applications only, this method also allows to specify if the x5c claim should be sent to Azure AD. Sending the x5c enables application developers to achieve easy certificate roll-over in Azure AD: this method will send the certificate chain to Azure AD along with the token request, so that Azure AD can use it to validate the subject name based on a trusted issuer policy. This saves the application admin from the need to explicitly manage the certificate rollover (either via portal or PowerShell/CLI operation). For details see https://aka.ms/msal-net-sni This API allow you to associate the tokens acquired from Azure AD with the certificate serial number. This can be used to partition the cache by certificate. Tokens acquired with one certificate will not be accessible to another certificate with a different serial number. |