IUserLoginStore<TUser> Interface

Interface that maps users to login providers, i.e. Google, Facebook, Twitter, Microsoft

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Interface IUserLoginStore(Of TUser As IUser) _
    Inherits IUserStore(Of TUser), IDisposable
'Usage
Dim instance As IUserLoginStore(Of TUser)
public interface IUserLoginStore<TUser> : IUserStore<TUser>, 
    IDisposable 
where TUser : IUser
generic<typename TUser>
where TUser : IUser 
public interface class IUserLoginStore : IUserStore<TUser>, 
    IDisposable
type IUserLoginStore<'TUser when 'TUser : IUser> =  
    interface 
        interface IUserStore<'TUser>
        interface IDisposable 
    end
JScript does not support generic types and methods.

Type Parameters

  • TUser

The IUserLoginStore<TUser> type exposes the following members.

Methods

  Name Description
Public method AddLoginAsync Adds a user login with the specified provider and key
Public method CreateAsync Insert a new user (Inherited from IUserStore<TUser>.)
Public method DeleteAsync Delete a user (Inherited from IUserStore<TUser>.)
Public method Dispose (Inherited from IDisposable.)
Public method FindAsync Returns the user associated with this login
Public method FindByIdAsync Finds a user (Inherited from IUserStore<TUser>.)
Public method FindByNameAsync Find a user by name (Inherited from IUserStore<TUser>.)
Public method GetLoginsAsync Returns the linked accounts for this user
Public method RemoveLoginAsync Removes the user login with the specified combination if it exists, returns true if found and removed
Public method UpdateAsync Update a user (Inherited from IUserStore<TUser>.)

Top

See Also

Reference

Microsoft.AspNet.Identity Namespace