Share via


AccountClaimsPrincipalFactory<TAccount>.CreateUserAsync Method

Definition

Converts the account into the final ClaimsPrincipal.

public:
 virtual System::Threading::Tasks::ValueTask<System::Security::Claims::ClaimsPrincipal ^> CreateUserAsync(TAccount account, Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationUserOptions ^ options);
public virtual System.Threading.Tasks.ValueTask<System.Security.Claims.ClaimsPrincipal> CreateUserAsync (TAccount account, Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationUserOptions options);
abstract member CreateUserAsync : 'Account * Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationUserOptions -> System.Threading.Tasks.ValueTask<System.Security.Claims.ClaimsPrincipal>
override this.CreateUserAsync : 'Account * Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationUserOptions -> System.Threading.Tasks.ValueTask<System.Security.Claims.ClaimsPrincipal>
Public Overridable Function CreateUserAsync (account As TAccount, options As RemoteAuthenticationUserOptions) As ValueTask(Of ClaimsPrincipal)

Parameters

account
TAccount

The account.

Returns

A ValueTask<TResult>that will contain the ClaimsPrincipal user when completed.

Applies to