Taal

PublicClientApplicationBuilder.WithOidcAuthority(String) Methode

Definitie

Hiermee voegt u een bekende instantie toe die overeenkomt met een algemene OpenIdConnect-id-provider. MSAL voegt '.well-known/openid-configuration' toe aan de instantie en haalt de OIDC-metagegevens daar op om de eindpunten te achterhalen. Zie 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

Parameters

authorityUri
String

Retouren

Opmerkingen

Experimenteel op openbare clients. Gebruik deze methode niet bij Entra ID autoriteiten (bijvoorbeeldhttps://login.microsoftonline.com/common). Gebruik in plaats daarvan WithAuthority(string).

Van toepassing op