IClientApplicationBase.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 or https://aka.ms/msal-net-application-configuration
Gets 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)
[System.Obsolete("Can be set on AbstractApplicationBuilder<T>.WithAuthority as needed. See https://aka.ms/msal-net-3-breaking-changes or https://aka.ms/msal-net-application-configuration", true)]
public bool ValidateAuthority { get; }
[<System.Obsolete("Can be set on AbstractApplicationBuilder<T>.WithAuthority as needed. See https://aka.ms/msal-net-3-breaking-changes or https://aka.ms/msal-net-application-configuration", true)>]
member this.ValidateAuthority : bool
Public ReadOnly Property ValidateAuthority As Boolean
Property Value
- Attributes
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по