IUserPasskeyStore<TUser> Interface
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.
Provides an abstraction for storing passkey credentials for a user.
public interface IUserPasskeyStore<TUser> : IDisposable, Microsoft.AspNetCore.Identity.IUserStore<TUser> where TUser : class
type IUserPasskeyStore<'User (requires 'User : null)> = interface
interface IUserStore<'User (requires 'User : null)>
interface IDisposable
Public Interface IUserPasskeyStore(Of TUser)
Implements IDisposable, IUserStore(Of TUser)
Type Parameters
- TUser
The type that represents a user.
- Derived
- Implements
Methods
| AddOrUpdatePasskeyAsync(TUser, UserPasskeyInfo, CancellationToken) |
Adds a new passkey credential in the store for the specified |
| CreateAsync(TUser, CancellationToken) |
Creates the specified |
| DeleteAsync(TUser, CancellationToken) |
Deletes the specified |
| FindByIdAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified |
| FindByNameAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified normalized user name. (Inherited from IUserStore<TUser>) |
| FindByPasskeyIdAsync(Byte[], CancellationToken) |
Finds and returns a user, if any, associated with the specified passkey credential identifier. |
| FindPasskeyAsync(TUser, Byte[], CancellationToken) |
Finds a passkey for the specified user with the specified credential id. |
| GetNormalizedUserNameAsync(TUser, CancellationToken) |
Gets the normalized user name for the specified |
| GetPasskeysAsync(TUser, CancellationToken) |
Gets the passkey credentials for the specified |
| GetUserIdAsync(TUser, CancellationToken) |
Gets the user identifier for the specified |
| GetUserNameAsync(TUser, CancellationToken) |
Gets the user name for the specified |
| RemovePasskeyAsync(TUser, Byte[], CancellationToken) |
Removes a passkey credential from the specified |
| SetNormalizedUserNameAsync(TUser, String, CancellationToken) |
Sets the given normalized name for the specified |
| SetUserNameAsync(TUser, String, CancellationToken) |
Sets the given |
| UpdateAsync(TUser, CancellationToken) |
Updates the specified |