UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.RemoveLoginAsync Method (TUser, UserLoginInfo)

 

Asynchronously removes a login from a user.

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

Syntax

public virtual Task RemoveLoginAsync(
    TUser user,
    UserLoginInfo login
)
public:
virtual Task^ RemoveLoginAsync(
    TUser user,
    UserLoginInfo^ login
)
abstract RemoveLoginAsync : 
        user:'TUser *
        login:UserLoginInfo -> Task
override RemoveLoginAsync : 
        user:'TUser *
        login:UserLoginInfo -> Task
Public Overridable Function RemoveLoginAsync (
    user As TUser,
    login As UserLoginInfo
) As Task

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task

The task representing the asynchronous operation.

Implements

IUserLoginStore<TUser, TKey>.RemoveLoginAsync(TUser, UserLoginInfo)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top