Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously adds a login to the user.
Namespace: Microsoft.AspNet.Identity.EntityFramework Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task AddLoginAsync(
TUser user,
UserLoginInfo login
)
public:
virtual Task^ AddLoginAsync(
TUser user,
UserLoginInfo^ login
)
abstract AddLoginAsync :
user:'TUser *
login:UserLoginInfo -> Task
override AddLoginAsync :
user:'TUser *
login:UserLoginInfo -> Task
Public Overridable Function AddLoginAsync (
user As TUser,
login As UserLoginInfo
) As Task
Parameters
user Type: TUser
The user.
login Type: Microsoft.AspNet.Identity.UserLoginInfo
The login to add.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserLoginStore<TUser, TKey>.AddLoginAsync(TUser, UserLoginInfo)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top