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