Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the methods to implement to map users to login providers.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public interface IUserLoginStore<TUser, in TKey> : IUserStore<TUser, TKey>,
IDisposable
where TUser : class, IUser<TKey>
generic<typename TUser, typename TKey>
where TUser : ref class, IUser<TKey>
public interface class IUserLoginStore : IUserStore<TUser, TKey>,
IDisposable
type IUserLoginStore<'TUser, 'TKey when 'TUser : not struct and IUser<'TKey>> =
interface
interface IUserStore<'TUser, 'TKey>
interface IDisposable
end
Public Interface IUserLoginStore(Of TUser As { Class, IUser(Of TKey) }, In TKey)
Inherits IUserStore(Of TUser, TKey), IDisposable
Type Parameters
- TUser
The type of the user in the store.
- in TKey
The type of the keys in the store.
Methods
| Name | Description | |
|---|---|---|
![]() |
AddLoginAsync(TUser, UserLoginInfo) | Asynchronously adds a user login with the specified provider and key. |
![]() |
CreateAsync(TUser) | Asynchronously inserts a new user.(Inherited from IUserStore<TUser, TKey>.) |
![]() |
DeleteAsync(TUser) | Asynchronously deletes a user.(Inherited from IUserStore<TUser, TKey>.) |
![]() |
Dispose() | (Inherited from IDisposable.) |
![]() |
FindAsync(UserLoginInfo) | Asynchronously returns the user associated with this login. |
![]() |
FindByIdAsync(TKey) | Asynchronously finds a user using the specified identifier.(Inherited from IUserStore<TUser, TKey>.) |
![]() |
FindByNameAsync(String) | Asynchronously finds a user by name.(Inherited from IUserStore<TUser, TKey>.) |
![]() |
GetLoginsAsync(TUser) | Asynchronously returns the linked accounts for this user. |
![]() |
RemoveLoginAsync(TUser, UserLoginInfo) | Asynchronously removes the user login with the specified combination if it exists. |
![]() |
UpdateAsync(TUser) | Asynchronously updates a user.(Inherited from IUserStore<TUser, TKey>.) |
See Also
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top
.jpeg)