共用方式為


BaseAddressAuthorizationMessageHandler 建構函式

定義

初始化 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)

參數

provider
IAccessTokenProvider

IAccessTokenProvider要用於要求權杖的 。

navigationManager
NavigationManager

NavigationManager用來計算基底位址的 。

適用於