IUserLoginStore<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 information that maps external login information provided by Microsoft Account, Facebook etc. to a user account.
generic <typename TUser>
where TUser : classpublic interface class IUserLoginStore : IDisposable, Microsoft::AspNetCore::Identity::IUserStore<TUser>
public interface IUserLoginStore<TUser> : IDisposable, Microsoft.AspNetCore.Identity.IUserStore<TUser> where TUser : class
type IUserLoginStore<'User (requires 'User : null)> = interface
interface IUserStore<'User (requires 'User : null)>
interface IDisposable
Public Interface IUserLoginStore(Of TUser)
Implements IDisposable, IUserStore(Of TUser)
Type Parameters
- TUser
The type that represents a user.
- Derived
- Implements
Methods
AddLoginAsync(TUser, UserLoginInfo, CancellationToken) |
Adds an external UserLoginInfo to 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 |
FindByLoginAsync(String, String, CancellationToken) |
Retrieves the user associated with the specified login provider and login provider key. |
FindByNameAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified normalized user name. (Inherited from IUserStore<TUser>) |
GetLoginsAsync(TUser, CancellationToken) |
Retrieves the associated logins for the specified . |
GetNormalizedUserNameAsync(TUser, CancellationToken) |
Gets the normalized user name for the specified |
GetUserIdAsync(TUser, CancellationToken) |
Gets the user identifier for the specified |
GetUserNameAsync(TUser, CancellationToken) |
Gets the user name for the specified |
RemoveLoginAsync(TUser, String, String, CancellationToken) |
Attempts to remove the provided login information 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 |