ClientApplicationBase.ValidateAuthority Property
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.
Caution
Can be set on AbstractApplicationBuilder<T>.WithAuthority as needed.See https://aka.ms/msal-net-3-breaking-changes.
Gets/sets a boolean value telling the application if the authority needs to be verified against a list of known authorities. The default
value is true
. It should currently be set to false
for Azure AD B2C authorities as those are customer specific
(a list of known B2C authorities cannot be maintained by MSAL.NET). This property can be set just after the construction of the application
and before an operation acquiring a token or interacting with the STS.
[System.Obsolete("Can be set on AbstractApplicationBuilder<T>.WithAuthority as needed.See https://aka.ms/msal-net-3-breaking-changes. ", true)]
public bool ValidateAuthority { get; set; }
[<System.Obsolete("Can be set on AbstractApplicationBuilder<T>.WithAuthority as needed.See https://aka.ms/msal-net-3-breaking-changes. ", true)>]
member this.ValidateAuthority : bool with get, set
Public Property ValidateAuthority As Boolean
Property Value
- Attributes
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈