Partilhar via


IdentityBuilder.AddUserStore<TStore> Método

Definição

Adiciona um IUserStore<TUser> para o 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

Parâmetros de tipo

T TUser TStore

O tipo de repositório do usuário.

Retornos

A instância IdentityBuilder atual.

Aplica-se a