共用方式為


UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>.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

適用於