Share via


UserManager<TUser>.FindByPasskeyIdAsync(Byte[]) Method

Definition

Finds the user associated with a passkey.

public virtual System.Threading.Tasks.Task<TUser?> FindByPasskeyIdAsync(byte[] credentialId);
abstract member FindByPasskeyIdAsync : byte[] -> System.Threading.Tasks.Task<'User (requires 'User : null)>
override this.FindByPasskeyIdAsync : byte[] -> System.Threading.Tasks.Task<'User (requires 'User : null)>
Public Overridable Function FindByPasskeyIdAsync (credentialId As Byte()) As Task(Of TUser)

Parameters

credentialId
Byte[]

The credential ID to search for.

Returns

Task<TUser>

The Task that represents the asynchronous operation, containing the user if found, otherwise null.

Applies to