Share via


AuthorizationMessageHandler(IAccessTokenProvider, NavigationManager) Constructor

Definition

Initializes a new instance of AuthorizationMessageHandler.

public:
 AuthorizationMessageHandler(Microsoft::AspNetCore::Components::WebAssembly::Authentication::IAccessTokenProvider ^ provider, Microsoft::AspNetCore::Components::NavigationManager ^ navigation);
public AuthorizationMessageHandler (Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider provider, Microsoft.AspNetCore.Components.NavigationManager navigation);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AuthorizationMessageHandler : Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider * Microsoft.AspNetCore.Components.NavigationManager -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AuthorizationMessageHandler
Public Sub New (provider As IAccessTokenProvider, navigation As NavigationManager)

Parameters

provider
IAccessTokenProvider

The IAccessTokenProvider to use for provisioning tokens.

navigation
NavigationManager

The NavigationManager to use for performing redirections.

Applies to