IUserLoginStore<TUser> 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)

Syntax

public interface IUserLoginStore<TUser> : IUserLoginStore<TUser, string>, 
    IUserStore<TUser, string>, IDisposable
where TUser : class, IUser<string>
generic<typename TUser>
where TUser : ref class, IUser<String^>
public interface class IUserLoginStore : IUserLoginStore<TUser, String^>, 
    IUserStore<TUser, String^>, IDisposable
type IUserLoginStore<'TUser when 'TUser : not struct and IUser<string>> = 
    interface
        interface IUserLoginStore<'TUser, string>
        interface IUserStore<'TUser, string>
        interface IDisposable
    end
Public Interface IUserLoginStore(Of TUser As { Class, IUser(Of String) })
    Inherits IUserLoginStore(Of TUser, String), IUserStore(Of TUser, String),
    IDisposable

Type Parameters

  • TUser
    The type of the user.

Methods

Name Description
System_CAPS_pubmethod AddLoginAsync(TUser, UserLoginInfo)

Asynchronously adds a user login with the specified provider and key.(Inherited from IUserLoginStore<TUser, TKey>.)

System_CAPS_pubmethod CreateAsync(TUser)

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

System_CAPS_pubmethod DeleteAsync(TUser)

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

System_CAPS_pubmethod Dispose()

(Inherited from IDisposable.)

System_CAPS_pubmethod FindAsync(UserLoginInfo)

Asynchronously returns the user associated with this login.(Inherited from IUserLoginStore<TUser, TKey>.)

System_CAPS_pubmethod FindByIdAsync(TKey)

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

System_CAPS_pubmethod FindByNameAsync(String)

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

System_CAPS_pubmethod GetLoginsAsync(TUser)

Asynchronously returns the linked accounts for this user.(Inherited from IUserLoginStore<TUser, TKey>.)

System_CAPS_pubmethod RemoveLoginAsync(TUser, UserLoginInfo)

Asynchronously removes the user login with the specified combination if it exists.(Inherited from IUserLoginStore<TUser, TKey>.)

System_CAPS_pubmethod UpdateAsync(TUser)

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

See Also

Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top