Compartilhar via


BaseAddressAuthorizationMessageHandler Construtor

Definição

Inicializa uma nova instância de 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)

Parâmetros

provider
IAccessTokenProvider

O IAccessTokenProvider a ser usado para solicitar tokens.

navigationManager
NavigationManager

O NavigationManager usado para calcular o endereço base.

Aplica-se a