AcquireTokenOnBehalfOfParameterBuilder.WithSendX5C(Boolean) 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.
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
public Microsoft.Identity.Client.AcquireTokenOnBehalfOfParameterBuilder WithSendX5C (bool withSendX5C);
member this.WithSendX5C : bool -> Microsoft.Identity.Client.AcquireTokenOnBehalfOfParameterBuilder
Public Function WithSendX5C (withSendX5C As Boolean) As AcquireTokenOnBehalfOfParameterBuilder
Parameters
- withSendX5C
- Boolean
true
if the x5c should be sent. Otherwise false
.
The default is false
Returns
The builder to chain the .With methods
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈