UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim,TUserPasskey>.FindPasskeyAsync Method         
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds a passkey for the specified user with the specified credential id.
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.UserPasskeyInfo?> FindPasskeyAsync(TUser user, byte[] credentialId, System.Threading.CancellationToken cancellationToken);abstract member FindPasskeyAsync : 'User * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.UserPasskeyInfo>
override this.FindPasskeyAsync : 'User * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.UserPasskeyInfo>Public Overridable Function FindPasskeyAsync (user As TUser, credentialId As Byte(), cancellationToken As CancellationToken) As Task(Of UserPasskeyInfo)Parameters
- user
- TUser
The user whose passkey should be retrieved.
- credentialId
- Byte[]
The credential id to search for.
- cancellationToken
- CancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Returns
The Task that represents the asynchronous operation, containing the user's passkey information.