Share via


IUserPasskeyStore<TUser> Interface

Definition

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 user, or updates an existing passkey.

CreateAsync(TUser, CancellationToken)

Creates the specified user in the user store.

(Inherited from IUserStore<TUser>)
DeleteAsync(TUser, CancellationToken)

Deletes the specified user from the user store.

(Inherited from IUserStore<TUser>)
FindByIdAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified userId.

(Inherited from IUserStore<TUser>)
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 user.

(Inherited from IUserStore<TUser>)
GetPasskeysAsync(TUser, CancellationToken)

Gets the passkey credentials for the specified user.

GetUserIdAsync(TUser, CancellationToken)

Gets the user identifier for the specified user.

(Inherited from IUserStore<TUser>)
GetUserNameAsync(TUser, CancellationToken)

Gets the user name for the specified user.

(Inherited from IUserStore<TUser>)
RemovePasskeyAsync(TUser, Byte[], CancellationToken)

Removes a passkey credential from the specified user.

SetNormalizedUserNameAsync(TUser, String, CancellationToken)

Sets the given normalized name for the specified user.

(Inherited from IUserStore<TUser>)
SetUserNameAsync(TUser, String, CancellationToken)

Sets the given userName for the specified user.

(Inherited from IUserStore<TUser>)
UpdateAsync(TUser, CancellationToken)

Updates the specified user in the user store.

(Inherited from IUserStore<TUser>)

Applies to