NavigationManagerExtensions.NavigateToLogin Method

Definition

Overloads

NavigateToLogin(NavigationManager, String)

Initiates a login operation by navigating to the login endpoint.

NavigateToLogin(NavigationManager, String, InteractiveRequestOptions)

Initiates a login operation by navigating to the login endpoint.

NavigateToLogin(NavigationManager, String)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Initiates a login operation by navigating to the login endpoint.

public static void NavigateToLogin (this Microsoft.AspNetCore.Components.NavigationManager manager, string loginPath);
static member NavigateToLogin : Microsoft.AspNetCore.Components.NavigationManager * string -> unit
<Extension()>
Public Sub NavigateToLogin (manager As NavigationManager, loginPath As String)

Parameters

loginPath
String

The path to the login url.

Remarks

The navigation includes state that is added to the browser history entry to prevent login operations performed from different contexts.

Applies to

NavigateToLogin(NavigationManager, String, InteractiveRequestOptions)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Initiates a login operation by navigating to the login endpoint.

public static void NavigateToLogin (this Microsoft.AspNetCore.Components.NavigationManager manager, string loginPath, Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions request);
static member NavigateToLogin : Microsoft.AspNetCore.Components.NavigationManager * string * Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractiveRequestOptions -> unit
<Extension()>
Public Sub NavigateToLogin (manager As NavigationManager, loginPath As String, request As InteractiveRequestOptions)

Parameters

loginPath
String

The path to the login url.

request
InteractiveRequestOptions

The InteractiveRequestOptions containing the authorization details.

Remarks

The navigation includes state that is added to the browser history entry to prevent login operations performed from different contexts.

Applies to