BaseAddressAuthorizationMessageHandler 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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用來計算基底位址的 。