共用方式為


UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>.CreateUserLogin 方法

定義

建立代表使用者登入的新實體。

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

參數

user
TUser

傳回

TUserLogin

適用於