UserStore<TUser,TRole,TContext,TKey>.CreateUserToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to create a new instance of a IdentityUserToken<TKey>.
protected:
override Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserToken<TKey> ^ CreateUserToken(TUser user, System::String ^ loginProvider, System::String ^ name, System::String ^ value);
protected override Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<TKey> CreateUserToken (TUser user, string loginProvider, string name, string value);
override this.CreateUserToken : 'User * string * string * string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserToken<'Key (requires 'Key :> IEquatable<'Key>)>
Protected Overrides Function CreateUserToken (user As TUser, loginProvider As String, name As String, value As String) As IdentityUserToken(Of TKey)
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.