UserManager<TUser>.GetPasskeysAsync(TUser) 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.
Gets a user's passkeys.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserPasskeyInfo>> GetPasskeysAsync(TUser user);
abstract member GetPasskeysAsync : 'User -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserPasskeyInfo>>
override this.GetPasskeysAsync : 'User -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserPasskeyInfo>>
Public Overridable Function GetPasskeysAsync (user As TUser) As Task(Of IList(Of UserPasskeyInfo))
Parameters
- user
- TUser
The user whose passkeys should be retrieved.
Returns
The Task that represents the asynchronous operation, containing a list of the user's passkeys.