Freigeben über


AbstractApplicationBuilder<T>.WithRedirectUri(String) Method

Definition

Sets the redirect URI of the application. The URI must also be registered in the application portal. See https://aka.ms/msal-net-application-configuration

public T WithRedirectUri (string redirectUri);
member this.WithRedirectUri : string -> 'T
Public Function WithRedirectUri (redirectUri As String) As T

Parameters

redirectUri
String

URL where the STS will call back the application with the security token. Public Client Applications - desktop, mobile, console apps - use different browsers (system browser, embedded browses) and brokers and each has its own rules.

Returns

T

The builder to chain the .With methods

Applies to