AuthorizationMessageHandler(IAccessTokenProvider, NavigationManager) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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)
參數
- provider
- IAccessTokenProvider
IAccessTokenProvider要用於布建權杖的 。
- navigation
- NavigationManager
用於 NavigationManager 執行重新導向的 。