UserStore<TUser,TRole,TContext,TKey>.CreateUserLogin 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 IdentityUserLogin<TKey>.
protected:
override Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserLogin<TKey> ^ CreateUserLogin(TUser user, Microsoft::AspNetCore::Identity::UserLoginInfo ^ login);
protected override Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<TKey> CreateUserLogin (TUser user, Microsoft.AspNetCore.Identity.UserLoginInfo login);
override this.CreateUserLogin : 'User * Microsoft.AspNetCore.Identity.UserLoginInfo -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<'Key (requires 'Key :> IEquatable<'Key>)>
Protected Overrides Function CreateUserLogin (user As TUser, login As UserLoginInfo) As IdentityUserLogin(Of TKey)
Parameters
- user
- TUser
The associated user.
- login
- UserLoginInfo
The sasociated login.