Partager via


IdentityBuilder.AddUserStore<TStore> Méthode

Définition

Ajoute un IUserStore<TUser> pour .UserType

public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddUserStore<T> () where T : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddUserStore<TUser> () where TUser : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddUserStore<TStore> () where TStore : class;
abstract member AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
override this.AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
abstract member AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
override this.AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
abstract member AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Store : null)
override this.AddUserStore : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Store : null)
Public Overridable Function AddUserStore(Of T As Class) () As IdentityBuilder
Public Overridable Function AddUserStore(Of TUser As Class) () As IdentityBuilder
Public Overridable Function AddUserStore(Of TStore As Class) () As IdentityBuilder

Paramètres de type

T TUser TStore

Type de magasin d’utilisateurs.

Retours

Instance actuelle de IdentityBuilder.

S’applique à