Compartilhar via


AuthorizationMessageHandler(IAccessTokenProvider, NavigationManager) Construtor

Definição

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

Parâmetros

provider
IAccessTokenProvider

O IAccessTokenProvider a ser usado para provisionar tokens.

navigation
NavigationManager

O NavigationManager a ser usado para executar redirecionamentos.

Aplica-se a