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

定义

创建表示用户令牌的新实体。

protected:
 abstract TUserToken CreateUserToken(TUser user, System::String ^ loginProvider, System::String ^ name, System::String ^ value);
protected abstract TUserToken CreateUserToken (TUser user, string loginProvider, string name, string value);
abstract member CreateUserToken : 'User * string * string * string -> 'UserToken
Protected MustOverride Function CreateUserToken (user As TUser, loginProvider As String, name As String, value As String) As TUserToken

参数

user
TUser
loginProvider
String
name
String
value
String

返回

TUserToken

适用于