IUserLoginStore<TUser>.AddLoginAsync Method
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
'Declaration
Function AddLoginAsync ( _
user As TUser, _
login As UserLoginInfo _
) As Task
'Usage
Dim instance As IUserLoginStore
Dim user As TUser
Dim login As UserLoginInfo
Dim returnValue As Task
returnValue = instance.AddLoginAsync(user, _
login)
Task AddLoginAsync(
TUser user,
UserLoginInfo login
)
Task^ AddLoginAsync(
TUser user,
UserLoginInfo^ login
)
abstract AddLoginAsync :
user:'TUser *
login:UserLoginInfo -> Task
function AddLoginAsync(
user : TUser,
login : UserLoginInfo
) : Task
Parameters
- user
Type: TUser
- login
Type: Microsoft.AspNet.Identity.UserLoginInfo
Return Value
Type: System.Threading.Tasks.Task