IUserAuthenticationTokenStore<TUser> IUserAuthenticationTokenStore<TUser> IUserAuthenticationTokenStore<TUser> Interface

Definition

Provides an abstraction to store a user's authentication tokens.

public interface IUserAuthenticationTokenStore<TUser> : IDisposable, Microsoft.AspNetCore.Identity.IUserStore<TUser> where TUser : class
type IUserAuthenticationTokenStore<'User (requires 'User : null)> = interface
    interface IUserStore<'User (requires 'User : null)>
    interface IDisposable
Public Interface IUserAuthenticationTokenStore(Of TUser)
Implements IDisposable, IUserStore(Of TUser)

Type Parameters

TUser

The type encapsulating a user.

Derived
Implements

Methods

CreateAsync(TUser, CancellationToken) CreateAsync(TUser, CancellationToken) CreateAsync(TUser, CancellationToken)

Creates the specified user in the user store.

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

Deletes the specified user from the user store.

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

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

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

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

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

Gets the normalized user name for the specified user.

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

Returns the token value.

GetUserIdAsync(TUser, CancellationToken) GetUserIdAsync(TUser, CancellationToken) GetUserIdAsync(TUser, CancellationToken)

Gets the user identifier for the specified user.

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

Gets the user name for the specified user.

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

Deletes a token for a user.

SetNormalizedUserNameAsync(TUser, String, CancellationToken) SetNormalizedUserNameAsync(TUser, String, CancellationToken) SetNormalizedUserNameAsync(TUser, String, CancellationToken)

Sets the given normalized name for the specified user.

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

Sets the token value for a particular user.

SetUserNameAsync(TUser, String, CancellationToken) SetUserNameAsync(TUser, String, CancellationToken) SetUserNameAsync(TUser, String, CancellationToken)

Sets the given userName for the specified user.

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

Updates the specified user in the user store.

(Inherited from IUserStore<TUser>)

Applies to