Share via


BaseAddressAuthorizationMessageHandler Constructor

Definition

Initializes a new instance of BaseAddressAuthorizationMessageHandler.

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

Parameters

provider
IAccessTokenProvider

The IAccessTokenProvider to use for requesting tokens.

navigationManager
NavigationManager

The NavigationManager used to compute the base address.

Applies to