IUserLoginStore<TUser, TKey>.AddLoginAsync Method (TUser, UserLoginInfo)

 

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

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

Syntax

Task AddLoginAsync(
    TUser user,
    UserLoginInfo login
)
Task^ AddLoginAsync(
    TUser user,
    UserLoginInfo^ login
)
abstract AddLoginAsync : 
        user:'TUser *
        login:UserLoginInfo -> Task
Function AddLoginAsync (
    user As TUser,
    login As UserLoginInfo
) As Task

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task

The task object representing the asynchronous operation.

See Also

IUserLoginStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top