AccountClaimsPrincipalFactory<TAccount> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 的新實例 AccountClaimsPrincipalFactory<TAccount> 。
public:
AccountClaimsPrincipalFactory(Microsoft::AspNetCore::Components::WebAssembly::Authentication::Internal::IAccessTokenProviderAccessor ^ accessor);
public AccountClaimsPrincipalFactory (Microsoft.AspNetCore.Components.WebAssembly.Authentication.Internal.IAccessTokenProviderAccessor accessor);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> : Microsoft.AspNetCore.Components.WebAssembly.Authentication.Internal.IAccessTokenProviderAccessor -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)>
Public Sub New (accessor As IAccessTokenProviderAccessor)
參數
- accessor
- Microsoft.AspNetCore.Components.WebAssembly.Authentication.Internal.IAccessTokenProviderAccessor