Sdílet prostřednictvím


BaseAddressAuthorizationMessageHandler Konstruktor

Definice

Inicializuje novou instanci objektu 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)

Parametry

provider
IAccessTokenProvider

Slouží IAccessTokenProvider k vyžádání tokenů.

navigationManager
NavigationManager

Slouží NavigationManager k výpočtu základní adresy.

Platí pro