AbstractAcquireTokenParameterBuilder<T>.WithAdfsAuthority 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.
Adds a known Authority corresponding to an ADFS server. See https://aka.ms/msal-net-adfs.
public T WithAdfsAuthority (string authorityUri, bool validateAuthority = true);
member this.WithAdfsAuthority : string * bool -> 'T
Public Function WithAdfsAuthority (authorityUri As String, Optional validateAuthority As Boolean = true) As T
Parameters
- authorityUri
- String
Authority URL for an ADFS server.
- validateAuthority
- Boolean
Whether the authority should be validated against the server metadata.
Returns
The builder to chain the .With methods.
Remarks
MSAL.NET supports ADFS 2019 or later.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour