IUserLoginStore<TUser, TKey> Interface

 

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)

public interface IUserLoginStore<TUser, in TKey> : IUserStore<TUser, TKey>, 
	IDisposable
where TUser : class, IUser<TKey>

Type Parameters

TUser

The type of the user in the store.

inTKey

The type of the keys in the store.

NameDescription
System_CAPS_pubmethodAddLoginAsync(TUser, UserLoginInfo)

Asynchronously adds a user login with the specified provider and key.

System_CAPS_pubmethodCreateAsync(TUser)

Asynchronously inserts a new user.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethodDeleteAsync(TUser)

Asynchronously deletes a user.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodFindAsync(UserLoginInfo)

Asynchronously returns the user associated with this login.

System_CAPS_pubmethodFindByIdAsync(TKey)

Asynchronously finds a user using the specified identifier.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethodFindByNameAsync(String)

Asynchronously finds a user by name.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethodGetLoginsAsync(TUser)

Asynchronously returns the linked accounts for this user.

System_CAPS_pubmethodRemoveLoginAsync(TUser, UserLoginInfo)

Asynchronously removes the user login with the specified combination if it exists.

System_CAPS_pubmethodUpdateAsync(TUser)

Asynchronously updates a user.(Inherited from IUserStore<TUser, TKey>.)

Return to top
Show: