PublicClientApplicationBuilder.WithOidcAuthority(String) Methode

Definition

Fügt eine bekannte Autorität hinzu, die einem generischen OpenIdConnect Identity Provider entspricht. MSAL fügt ".well-known/openid-configuration" an die Autorität an und ruft die OIDC-Metadaten von dort ab, um die Endpunkte zu ermitteln. Siehe https://openid.net/specs/openid-connect-core-1_0.html#Terminology.

public Microsoft.Identity.Client.PublicClientApplicationBuilder WithOidcAuthority(string authorityUri);
member this.WithOidcAuthority : string -> Microsoft.Identity.Client.PublicClientApplicationBuilder
Public Function WithOidcAuthority (authorityUri As String) As PublicClientApplicationBuilder

Parameter

authorityUri
String

Gibt zurück

Hinweise

Experimentell auf öffentlichen Clients. Verwenden Sie diese Methode nicht mit Entra ID Behörden (z. B.https://login.microsoftonline.com/common). Verwenden Sie stattdessen WithAuthority(string).

Gilt für: