共用方式為


PublicClientApplicationBuilder.WithDefaultRedirectUri Method

Definition

Configures the public client application to use the recommended reply URI for the platform. See https://aka.ms/msal-net-default-reply-uri.

Platform
.NET desktop
For system browser on .NET Core
NOTE:There will be an update to the default redirect URI in the future to accommodate for system browsers on the .NET desktop and .NET Core platforms.
public Microsoft.Identity.Client.PublicClientApplicationBuilder WithDefaultRedirectUri ();
member this.WithDefaultRedirectUri : unit -> Microsoft.Identity.Client.PublicClientApplicationBuilder
Public Function WithDefaultRedirectUri () As PublicClientApplicationBuilder

Returns

A PublicClientApplicationBuilder from which to set more parameters, and to create a public client application instance

Applies to