Dela via


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

Definition

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

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

Parameters

user
TUser

The associated user.

loginProvider
String

The associated login provider.

name
String

The name of the user token.

value
String

The value of the user token.

Returns

TUserToken

Applies to