Delen via


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserLogin Method

Definition

Called to create a new instance of a IdentityUserLogin<TKey>.

protected:
 virtual TUserLogin CreateUserLogin(TUser user, Microsoft::AspNetCore::Identity::UserLoginInfo ^ login);
protected virtual TUserLogin CreateUserLogin (TUser user, Microsoft.AspNetCore.Identity.UserLoginInfo login);
abstract member CreateUserLogin : 'User * Microsoft.AspNetCore.Identity.UserLoginInfo -> 'UserLogin
override this.CreateUserLogin : 'User * Microsoft.AspNetCore.Identity.UserLoginInfo -> 'UserLogin
Protected Overridable Function CreateUserLogin (user As TUser, login As UserLoginInfo) As TUserLogin

Parameters

user
TUser

The associated user.

login
UserLoginInfo

The associated login.

Returns

TUserLogin

Applies to